From ff8f6b1d007a6f72d2527bfe2077b507b16c8ef2 Mon Sep 17 00:00:00 2001 From: Jonny Date: Mon, 16 Feb 2015 22:28:58 +0000 Subject: [PATCH] Update webserve.py Added config option for ID3 tag version select Conflicts: headphones/webserve.py --- headphones/webserve.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/headphones/webserve.py b/headphones/webserve.py index ed1556ee..75bd4232 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -1163,7 +1163,8 @@ class WebInterface(object): "email_smtp_password": headphones.CONFIG.EMAIL_SMTP_PASSWORD, "email_smtp_port": int(headphones.CONFIG.EMAIL_SMTP_PORT), "email_tls": checked(headphones.CONFIG.EMAIL_TLS), - "email_onsnatch": checked(headphones.CONFIG.EMAIL_ONSNATCH) + "email_onsnatch": checked(headphones.CONFIG.EMAIL_ONSNATCH), + "idtag": checked(headphones.CONFIG.IDTAG) } # Need to convert EXTRAS to a dictionary we can pass to the config: @@ -1208,7 +1209,7 @@ class WebInterface(object): "nma_enabled", "nma_onsnatch", "pushalot_enabled", "pushalot_onsnatch", "synoindex_enabled", "pushover_enabled", "pushover_onsnatch", "pushbullet_enabled", "pushbullet_onsnatch", "subsonic_enabled", "twitter_enabled", "twitter_onsnatch", "osx_notify_enabled", "osx_notify_onsnatch", "boxcar_enabled", "boxcar_onsnatch", "songkick_enabled", "songkick_filter_enabled", - "mpc_enabled", "email_enabled", "email_tls", "email_onsnatch", "customauth" + "mpc_enabled", "email_enabled", "email_tls", "email_onsnatch", "customauth", "idtag" ] for checked_config in checked_configs: if checked_config not in kwargs: