diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index e9628753..9e6fd230 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -1163,6 +1163,12 @@

Enable to lookup links to TVmaze (and IMDb if needed) for TV shows when available.

+
+ +

Enable to lookup links to MusicBrainz for music when available.

+

diff --git a/plexpy/config.py b/plexpy/config.py index 4fc5c4ac..1b431e3c 100644 --- a/plexpy/config.py +++ b/plexpy/config.py @@ -302,6 +302,7 @@ _CONFIG_DEFINITIONS = { 'MUSIC_NOTIFY_ON_STOP': (int, 'Monitoring', 0), 'MUSIC_NOTIFY_ON_PAUSE': (int, 'Monitoring', 0), 'MUSIC_WATCHED_PERCENT': (int, 'Monitoring', 85), + 'MUSICBRAINZ_LOOKUP': (int, 'General', 0), 'MONITOR_PMS_UPDATES': (int, 'Monitoring', 0), 'MONITOR_REMOTE_ACCESS': (int, 'Monitoring', 0), 'MONITORING_INTERVAL': (int, 'Monitoring', 60), diff --git a/plexpy/webserve.py b/plexpy/webserve.py index e2f7ef66..5e81b163 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -2810,6 +2810,7 @@ class WebInterface(object): "music_watched_percent": plexpy.CONFIG.MUSIC_WATCHED_PERCENT, "themoviedb_lookup": checked(plexpy.CONFIG.THEMOVIEDB_LOOKUP), "tvmaze_lookup": checked(plexpy.CONFIG.TVMAZE_LOOKUP), + "musicbrainz_lookup": checked(plexpy.CONFIG.MUSICBRAINZ_LOOKUP), "show_advanced_settings": plexpy.CONFIG.SHOW_ADVANCED_SETTINGS, "newsletter_dir": plexpy.CONFIG.NEWSLETTER_DIR, "newsletter_self_hosted": checked(plexpy.CONFIG.NEWSLETTER_SELF_HOSTED), @@ -2838,7 +2839,7 @@ class WebInterface(object): "monitor_pms_updates", "monitor_remote_access", "get_file_sizes", "log_blacklist", "http_hash_password", "allow_guest_access", "cache_images", "http_proxy", "http_basic_auth", "notify_concurrent_by_ip", "history_table_activity", "plexpy_auto_update", - "themoviedb_lookup", "tvmaze_lookup", "http_plex_admin", + "themoviedb_lookup", "tvmaze_lookup", "musicbrainz_lookup", "http_plex_admin", "newsletter_self_hosted", "newsletter_inline_styles", "win_sys_tray" ] for checked_config in checked_configs: