mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
movies.py - remove __getitem__
This commit is contained in:
parent
789e1856de
commit
7ed36ca78a
1 changed files with 0 additions and 12 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue