From 2580050353b58aa7f84dbd3d9433a6729dfae2ac Mon Sep 17 00:00:00 2001 From: gordielachance Date: Tue, 20 Sep 2016 09:11:16 +0200 Subject: [PATCH] kwargs fix --- addon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon.py b/addon.py index a78b9f2..cab1461 100644 --- a/addon.py +++ b/addon.py @@ -221,7 +221,7 @@ class Plugin(object): xbmcplugin.setContent(self.addon_handle, "albums") - for album in self.connection.walk_album_list('newest',size,None,None,None): + for album in self.connection.walk_album_list('newest',size): self.add_album(album, show_artist=True) xbmcplugin.endOfDirectory(self.addon_handle) @@ -236,7 +236,7 @@ class Plugin(object): xbmcplugin.setContent(self.addon_handle, "albums") - for album in self.connection.walk_album_list('byGenre',size,None,None,genre): + for album in self.connection.walk_album_list('byGenre',size,genre=genre): self.add_album(album, show_artist=True) xbmcplugin.endOfDirectory(self.addon_handle)