mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
tvshows.py - remove __getitem__
This commit is contained in:
parent
6ac266688a
commit
d7087808b7
1 changed files with 0 additions and 14 deletions
|
@ -37,20 +37,6 @@ class TVShows(KodiDb):
|
||||||
|
|
||||||
KodiDb.__init__(self, videodb.cursor)
|
KodiDb.__init__(self, videodb.cursor)
|
||||||
|
|
||||||
def __getitem__(self, key):
|
|
||||||
LOG.debug("__getitem__(%r)", key)
|
|
||||||
|
|
||||||
if key == 'Series':
|
|
||||||
return self.tvshow
|
|
||||||
elif key == 'Season':
|
|
||||||
return self.season
|
|
||||||
elif key == 'Episode':
|
|
||||||
return self.episode
|
|
||||||
elif key == 'UserData':
|
|
||||||
return self.userdata
|
|
||||||
elif key in 'Removed':
|
|
||||||
return self.remove
|
|
||||||
|
|
||||||
@stop()
|
@stop()
|
||||||
@jellyfin_item()
|
@jellyfin_item()
|
||||||
@library_check()
|
@library_check()
|
||||||
|
|
Loading…
Reference in a new issue