mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +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')
|
||||
|
||||
if files is None:
|
||||
files = etree.SubElement(xml, 'files')
|
||||
|
||||
for source in xml.findall('.//path'):
|
||||
if source.text == 'http://kodi.emby.media':
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue