From 7c55db2fb804b6383e6919b59943f76610e92224 Mon Sep 17 00:00:00 2001 From: TrueTechy Date: Sun, 8 Sep 2019 04:03:30 +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()