From 24bb6376069926e70dddf0d75084e1b9ff50faff Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Fri, 8 Apr 2016 13:57:55 +0200 Subject: [PATCH] Don't show Kodi popup when scanning Music --- resources/lib/librarysync.py | 5 +++++ resources/lib/utils.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 706b4829..df240f00 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -1536,6 +1536,11 @@ class LibrarySync(Thread): errorcount = 0 log("---===### Starting LibrarySync ###===---", 0) + + if self.enableMusic: + # utils.musiclibXML() + utils.advancedSettingsXML() + while not threadStopped(): # In the event the server goes offline diff --git a/resources/lib/utils.py b/resources/lib/utils.py index e8f6c2da..420e77b8 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -745,7 +745,7 @@ def sourcesXML(): # Missing smb:// occurences, re-add. for i in range(0, count): 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, 'allowsharing').text = "true" # Prettify and write to file