Report the correct version numbers.

This commit is contained in:
Tim 2015-08-16 13:48:39 +02:00
commit 8e57df53fd
4 changed files with 16 additions and 8 deletions

View file

@ -1,6 +1,6 @@
<%
import plexpy
from plexpy import version
from plexpy import common
%>
<!doctype html>
@ -355,7 +355,9 @@ from plexpy import version
headers: {'Content-Type': 'application/xml; charset=utf-8',
'X-Plex-Device-Name': 'PlexPy',
'X-Plex-Product': 'PlexPy',
'X-Plex-Version': 'v0.1 dev',
'X-Plex-Version': '${common.VERSION_NUMBER}',
'X-Plex-Platform': '${common.PLATFORM}',
'X-Plex-Platform-Version': '${common.PLATFORM_VERSION}',
'X-Plex-Client-Identifier': '${config['pms_uuid']}',
'Authorization': 'Basic ' + btoa($("#pms_username").val() + ':' + $("#pms_password").val())
},