diff --git a/shoutcast/src/plugin.py b/shoutcast/src/plugin.py index 905e2f660..16d05de14 100644 --- a/shoutcast/src/plugin.py +++ b/shoutcast/src/plugin.py @@ -525,12 +525,12 @@ def getFavoriteList(self, favoriteListIndex=0): self["list"].moveToIndex(favoriteListIndex) self["list"].show() - def getGenreList(self, genre="all", id=0): + def getGenreList(self): self["headertext"].setText("") self["statustext"].setText(_("Getting SHOUTcast genre list...")) self["list"].hide() if len(devid) > 8: - url = self.SC + "/genre/secondary?parentid=%s&k=%s&f=xml" % (id, devid) + url = self.SC + "/genre/secondary?parentid=%s&k=%s&f=xml" % (0, devid) else: url = "http://207.200.98.1/sbin/newxml.phtml" sendUrlCommand(url, 10).addCallback(content).addCallback(self.callbackGenreList).addErrback(self.callbackGenreListError)