diff --git a/resources/lib/initialsetup.py b/resources/lib/initialsetup.py index 9c41f924..37489633 100644 --- a/resources/lib/initialsetup.py +++ b/resources/lib/initialsetup.py @@ -478,9 +478,6 @@ class InitialSetup(): if dialog.yesno(heading=lang(29999), line1=lang(39016)): log.debug("User opted to disable Plex music library.") settings('enableMusic', value="false") - else: - from utils import advancedsettings_tweaks - advancedsettings_tweaks() # Download additional art from FanArtTV if dialog.yesno(heading=lang(29999), line1=lang(39061)): diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 71fb096a..e8a35783 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -12,7 +12,7 @@ from xbmcvfs import exists from utils import window, settings, getUnixTimestamp, sourcesXML,\ thread_methods, create_actor_db_index, dialog, LogTime, getScreensaver,\ setScreensaver, playlistXSP, language as lang, DateToKodi, reset,\ - advancedsettings_tweaks, tryDecode, deletePlaylists, deleteNodes + tryDecode, deletePlaylists, deleteNodes import downloadutils import itemtypes import plexdb_functions as plexdb @@ -1468,9 +1468,6 @@ class LibrarySync(Thread): # Ensure that DBs exist if called for very first time self.initializeDBs() - if self.enableMusic: - advancedsettings_tweaks() - if settings('FanartTV') == 'true': self.fanartthread.start() diff --git a/resources/lib/utils.py b/resources/lib/utils.py index b767b25d..779f6954 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -646,17 +646,6 @@ def advancedsettings_xml(node_list, new_value=None, attrib=None, return element, tree -def advancedsettings_tweaks(): - """ - Kodi tweaks - - Changes advancedsettings.xml, musiclibrary: - backgroundupdate set to "true" - """ - advancedsettings_xml(['musiclibrary', 'backgroundupdate'], - new_value='true') - - def sourcesXML(): # To make Master lock compatible path = tryDecode(xbmc.translatePath("special://profile/"))