@@ -3,11 +3,11 @@ # title: Shoutcast.com # description: Primary list of shoutcast servers (now managed by radionomy). # type: channel # category: radio # priority: default -# version: 1.4 +# version: 1.5 # depends: pq, re, http # author: Mario # original: Jean-Yves Lefort # # Shoutcast is a server software for audio streaming. It automatically spools @@ -21,11 +21,11 @@ # the eligibility of open source desktop apps for an authhash. # # Therefore we'll be retrieving stuff from the homepage still. The new # interface conveniently uses JSON already, so let's use that: # -# POST http://www.shoutcast.com/Home/BrowseByGenre {genreid: 9} +# POST http://www.shoutcast.com/Home/BrowseByGenre {genrename: Pop} # # We do need a catmap now too, but that's easy to aquire and will be kept # within the cache dirs. # # @@ -72,31 +72,26 @@ # stores a catmap (title => id) def update_categories(self): html = http.get(self.base_url) #__print__( dbg.DATA, html ) self.categories = [] - - # Main genres from mobile dropdown - """ """ - rx = re.compile(r'