From 001404d5c4a65dd0e5143cf72e60272336a8b2eb Mon Sep 17 00:00:00 2001 From: NovaXeros Date: Tue, 8 Apr 2014 02:08:46 +0100 Subject: [PATCH] Update webserve.py --- headphones/webserve.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/headphones/webserve.py b/headphones/webserve.py index ca8ad578..b02c52ac 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -941,6 +941,8 @@ class WebInterface(object): "xbmc_password": headphones.XBMC_PASSWORD, "xbmc_update": checked(headphones.XBMC_UPDATE), "xbmc_notify": checked(headphones.XBMC_NOTIFY), + "lms_enabled": checked(headphones.LMS_ENABLED), + "lms_host": headphones.LMS_HOST, "plex_enabled": checked(headphones.PLEX_ENABLED), "plex_server_host": headphones.PLEX_SERVER_HOST, "plex_client_host": headphones.PLEX_CLIENT_HOST, @@ -1011,7 +1013,7 @@ class WebInterface(object): remix=0, spokenword=0, audiobook=0, autowant_upcoming=False, autowant_all=False, keep_torrent_files=False, interface=None, log_dir=None, cache_dir=None, music_encoder=0, encoder=None, xldprofile=None, bitrate=None, samplingfrequency=None, encoderfolder=None, advancedencoder=None, encoderoutputformat=None, encodervbrcbr=None, encoderquality=None, encoderlossless=0, delete_lossless_files=0, prowl_enabled=0, prowl_onsnatch=0, prowl_keys=None, prowl_priority=0, xbmc_enabled=0, xbmc_host=None, xbmc_username=None, xbmc_password=None, - xbmc_update=0, xbmc_notify=0, nma_enabled=False, nma_apikey=None, nma_priority=0, nma_onsnatch=0, pushalot_enabled=False, pushalot_apikey=None, pushalot_onsnatch=0, synoindex_enabled=False, + xbmc_update=0, xbmc_notify=0, lms_enabled=0, lms_host=None, nma_enabled=False, nma_apikey=None, nma_priority=0, nma_onsnatch=0, pushalot_enabled=False, pushalot_apikey=None, pushalot_onsnatch=0, synoindex_enabled=False, pushover_enabled=0, pushover_onsnatch=0, pushover_keys=None, pushover_priority=0, pushbullet_enabled=0, pushbullet_onsnatch=0, pushbullet_apikey=None, pushbullet_deviceid=None, twitter_enabled=0, twitter_onsnatch=0, mirror=None, customhost=None, customport=None, customsleep=None, hpuser=None, hppass=None, preferred_bitrate_high_buffer=None, preferred_bitrate_low_buffer=None, preferred_bitrate_allow_lossless=0, cache_sizemb=None, enable_https=0, https_cert=None, https_key=None, file_permissions=None, folder_permissions=None, plex_enabled=0, plex_server_host=None, plex_client_host=None, plex_username=None, @@ -1134,6 +1136,8 @@ class WebInterface(object): headphones.XBMC_PASSWORD = xbmc_password headphones.XBMC_UPDATE = xbmc_update headphones.XBMC_NOTIFY = xbmc_notify + headphones.LMS_ENABLED = lms_enabled + headphones.LMS_HOST = lms_host headphones.PLEX_ENABLED = plex_enabled headphones.PLEX_SERVER_HOST = plex_server_host headphones.PLEX_CLIENT_HOST = plex_client_host