From 6ac266688af6b5a0f4f67fc6c220dcae7b03ad4e Mon Sep 17 00:00:00 2001 From: TrueTechy Date: Mon, 9 Sep 2019 01:54:46 +0100 Subject: [PATCH] musicvideos.py - remove __getitem__ --- resources/lib/objects/musicvideos.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/resources/lib/objects/musicvideos.py b/resources/lib/objects/musicvideos.py index ed247a30..dfd0ff4b 100644 --- a/resources/lib/objects/musicvideos.py +++ b/resources/lib/objects/musicvideos.py @@ -34,16 +34,6 @@ class MusicVideos(KodiDb): KodiDb.__init__(self, videodb.cursor) - def __getitem__(self, key): - LOG.debug("__getitem__(%r)", key) - - if key == 'MusicVideo': - return self.musicvideo - elif key == 'UserData': - return self.userdata - elif key in 'Removed': - return self.remove - @stop() @jellyfin_item() @library_check()