Remove obsolete tweaks for advancedsettings.xml

This commit is contained in:
tomkat83 2017-05-17 14:51:18 +02:00
parent 209cd78315
commit f3edcecd7d
3 changed files with 1 additions and 18 deletions

View file

@ -478,9 +478,6 @@ class InitialSetup():
if dialog.yesno(heading=lang(29999), line1=lang(39016)): if dialog.yesno(heading=lang(29999), line1=lang(39016)):
log.debug("User opted to disable Plex music library.") log.debug("User opted to disable Plex music library.")
settings('enableMusic', value="false") settings('enableMusic', value="false")
else:
from utils import advancedsettings_tweaks
advancedsettings_tweaks()
# Download additional art from FanArtTV # Download additional art from FanArtTV
if dialog.yesno(heading=lang(29999), line1=lang(39061)): if dialog.yesno(heading=lang(29999), line1=lang(39061)):

View file

@ -12,7 +12,7 @@ from xbmcvfs import exists
from utils import window, settings, getUnixTimestamp, sourcesXML,\ from utils import window, settings, getUnixTimestamp, sourcesXML,\
thread_methods, create_actor_db_index, dialog, LogTime, getScreensaver,\ thread_methods, create_actor_db_index, dialog, LogTime, getScreensaver,\
setScreensaver, playlistXSP, language as lang, DateToKodi, reset,\ setScreensaver, playlistXSP, language as lang, DateToKodi, reset,\
advancedsettings_tweaks, tryDecode, deletePlaylists, deleteNodes tryDecode, deletePlaylists, deleteNodes
import downloadutils import downloadutils
import itemtypes import itemtypes
import plexdb_functions as plexdb import plexdb_functions as plexdb
@ -1468,9 +1468,6 @@ class LibrarySync(Thread):
# Ensure that DBs exist if called for very first time # Ensure that DBs exist if called for very first time
self.initializeDBs() self.initializeDBs()
if self.enableMusic:
advancedsettings_tweaks()
if settings('FanartTV') == 'true': if settings('FanartTV') == 'true':
self.fanartthread.start() self.fanartthread.start()

View file

@ -646,17 +646,6 @@ def advancedsettings_xml(node_list, new_value=None, attrib=None,
return element, tree 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(): def sourcesXML():
# To make Master lock compatible # To make Master lock compatible
path = tryDecode(xbmc.translatePath("special://profile/")) path = tryDecode(xbmc.translatePath("special://profile/"))