mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-23 00:12:45 +00:00
Fix episodes for series pooling
This commit is contained in:
parent
8915773706
commit
d54aad726e
9 changed files with 120 additions and 24 deletions
|
@ -105,9 +105,8 @@ def library_check():
|
|||
def wrapper(self, item, *args, **kwargs):
|
||||
from database import get_sync
|
||||
|
||||
sync = get_sync()
|
||||
|
||||
if kwargs.get('library') is None:
|
||||
sync = get_sync()
|
||||
|
||||
if 'e_item' in kwargs:
|
||||
try:
|
||||
|
@ -131,7 +130,7 @@ def library_check():
|
|||
|
||||
break
|
||||
|
||||
if view['Id'] not in sync['Whitelist']:
|
||||
if view['Id'] not in [x.replace('Mixed:', "") for x in sync['Whitelist'] + sync['Libraries']]:
|
||||
LOG.info("Library %s is not synced. Skip update.", view['Id'])
|
||||
|
||||
return
|
||||
|
|
|
@ -54,7 +54,7 @@ def sources():
|
|||
try:
|
||||
files = xml.find('files')
|
||||
|
||||
if not files:
|
||||
if files is None:
|
||||
files = etree.SubElement(xml, 'files')
|
||||
|
||||
for source in xml.findall('.//path'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue