mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-12-08 16:13:18 +00:00
Remove Empty shows dialog (#139)
This commit is contained in:
parent
ebf7c6c4cb
commit
0bc7774a46
20 changed files with 0 additions and 152 deletions
|
|
@ -54,13 +54,6 @@ class TVShows(KodiDb):
|
|||
obj = self.objects.map(item, 'Series')
|
||||
update = True
|
||||
|
||||
if not settings('syncEmptyShows.bool') and not obj['RecursiveCount']:
|
||||
|
||||
LOG.info("Skipping empty show %s: %s", obj['Title'], obj['Id'])
|
||||
self.remove(obj['Id'])
|
||||
|
||||
return False
|
||||
|
||||
try:
|
||||
obj['ShowId'] = e_item[0]
|
||||
obj['PathId'] = e_item[2]
|
||||
|
|
|
|||
|
|
@ -75,9 +75,6 @@ class Setup(object):
|
|||
LOG.info("Add-on playback: %s", settings('useDirectPaths') == "0")
|
||||
self._is_artwork_caching()
|
||||
LOG.info("Artwork caching: %s", settings('enableTextureCache.bool'))
|
||||
self._is_empty_shows()
|
||||
LOG.info("Sync empty shows: %s", settings('syncEmptyShows.bool'))
|
||||
|
||||
|
||||
# Setup completed
|
||||
settings('MinimumSetup', minimum)
|
||||
|
|
@ -102,11 +99,6 @@ class Setup(object):
|
|||
value = dialog("yesno", heading="{jellyfin}", line1=_(33117))
|
||||
settings('enableTextureCache.bool', value)
|
||||
|
||||
def _is_empty_shows(self):
|
||||
|
||||
value = dialog("yesno", heading="{jellyfin}", line1=_(33100))
|
||||
settings('syncEmptyShows.bool', value)
|
||||
|
||||
def _is_music(self):
|
||||
|
||||
value = dialog("yesno", heading="{jellyfin}", line1=_(33039))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue