Only set advancedsettings tweaks if Music enabled

This commit is contained in:
tomkat83 2017-05-17 15:07:16 +02:00
parent 858c792d04
commit 6804fcf543

View file

@ -473,7 +473,7 @@ class LibrarySync(Thread):
"""
Compare the views to Plex
"""
if self.direct_paths is True:
if self.direct_paths is True and self.enableMusic is True:
if music.set_excludefromscan_music_folders() is True:
log.info('Detected new Music library - restarting now')
# 'New Plex music library detected. Sorry, but we need to