tvshows.py - remove __getitem__

This commit is contained in:
TrueTechy 2019-09-09 01:56:38 +01:00
parent 6ac266688a
commit d7087808b7

View file

@ -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()