From d7087808b7db336c2368ea26fc5f1dac8453b276 Mon Sep 17 00:00:00 2001 From: TrueTechy Date: Mon, 9 Sep 2019 01:56:38 +0100 Subject: [PATCH] tvshows.py - remove __getitem__ --- resources/lib/objects/tvshows.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/resources/lib/objects/tvshows.py b/resources/lib/objects/tvshows.py index ea0b4801..ce6103e5 100644 --- a/resources/lib/objects/tvshows.py +++ b/resources/lib/objects/tvshows.py @@ -37,20 +37,6 @@ class TVShows(KodiDb): 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() @jellyfin_item() @library_check()