mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix blank files sources
This commit is contained in:
parent
bb1a180a1b
commit
605472f983
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,9 @@ def sources():
|
||||||
|
|
||||||
files = xml.find('files')
|
files = xml.find('files')
|
||||||
|
|
||||||
|
if files is None:
|
||||||
|
files = etree.SubElement(xml, 'files')
|
||||||
|
|
||||||
for source in xml.findall('.//path'):
|
for source in xml.findall('.//path'):
|
||||||
if source.text == 'http://kodi.emby.media':
|
if source.text == 'http://kodi.emby.media':
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue