Don't show Kodi popup when scanning Music
This commit is contained in:
parent
bbfd612137
commit
24bb637606
2 changed files with 6 additions and 1 deletions
|
@ -1536,6 +1536,11 @@ class LibrarySync(Thread):
|
||||||
errorcount = 0
|
errorcount = 0
|
||||||
|
|
||||||
log("---===### Starting LibrarySync ###===---", 0)
|
log("---===### Starting LibrarySync ###===---", 0)
|
||||||
|
|
||||||
|
if self.enableMusic:
|
||||||
|
# utils.musiclibXML()
|
||||||
|
utils.advancedSettingsXML()
|
||||||
|
|
||||||
while not threadStopped():
|
while not threadStopped():
|
||||||
|
|
||||||
# In the event the server goes offline
|
# In the event the server goes offline
|
||||||
|
|
|
@ -745,7 +745,7 @@ def sourcesXML():
|
||||||
# Missing smb:// occurences, re-add.
|
# Missing smb:// occurences, re-add.
|
||||||
for i in range(0, count):
|
for i in range(0, count):
|
||||||
source = etree.SubElement(video, 'source')
|
source = etree.SubElement(video, 'source')
|
||||||
etree.SubElement(source, 'name').text = "Emby"
|
etree.SubElement(source, 'name').text = "Plex"
|
||||||
etree.SubElement(source, 'path', attrib={'pathversion': "1"}).text = "smb://"
|
etree.SubElement(source, 'path', attrib={'pathversion': "1"}).text = "smb://"
|
||||||
etree.SubElement(source, 'allowsharing').text = "true"
|
etree.SubElement(source, 'allowsharing').text = "true"
|
||||||
# Prettify and write to file
|
# Prettify and write to file
|
||||||
|
|
Loading…
Reference in a new issue