Don't change Kodi settings xml if music is enabled

- Because Music is yet unstable
This commit is contained in:
tomkat83 2016-04-07 08:55:49 +02:00
parent e90703f757
commit 783fad33f1
2 changed files with 4 additions and 6 deletions

View file

@ -420,12 +420,6 @@ class LibrarySync(Thread):
# Set new timestamp NOW because sync might take a while
self.saveLastSync()
# Deactivate Kodi popup showing that it's (unsuccessfully) trying to
# scan music folders
if self.enableMusic:
utils.musiclibXML()
utils.advancedSettingsXML()
# Ensure that DBs exist if called for very first time
self.initializeDBs()
# Set views. Abort if unsuccessful

View file

@ -617,6 +617,8 @@ def indent(elem, level=0):
def musiclibXML():
"""
UNUSED - WORK IN PROGRESS
Deactivates Kodi trying to scan music library on startup
Changes guisettings.xml in Kodi userdata folder:
@ -673,6 +675,8 @@ def guisettingsXML():
def advancedSettingsXML():
"""
UNUSED
Deactivates Kodi popup for scanning of music library
Changes advancedsettings.xml, musiclibrary: