Remove obsolete tweaks for advancedsettings.xml
This commit is contained in:
parent
209cd78315
commit
f3edcecd7d
3 changed files with 1 additions and 18 deletions
|
@ -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)):
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -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/"))
|
||||
|
|
Loading…
Reference in a new issue