movies.py - remove __getitem__

This commit is contained in:
TrueTechy 2019-09-09 01:52:58 +01:00
parent 789e1856de
commit 7ed36ca78a

View file

@ -34,18 +34,6 @@ class Movies(KodiDb):
KodiDb.__init__(self, videodb.cursor) KodiDb.__init__(self, videodb.cursor)
def __getitem__(self, key):
LOG.debug("__getitem__(%r)", key)
if key == 'Movie':
return self.movie
elif key == 'BoxSet':
return self.boxset
elif key == 'UserData':
return self.userdata
elif key in 'Removed':
return self.remove
@stop() @stop()
@jellyfin_item() @jellyfin_item()
@library_check() @library_check()