Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ branch:  streamtuner2


Check-in [3d794f312d]

Overview
Comment:Removed duplicate category entries for internet_radio plugin.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3d794f312d275a597a9bf844df636215d2aec577
User & Date: mario on 2015-04-04 01:46:13
Other Links: manifest | tags
Context
2015-04-04
01:46
Moved back to old `mostPolular` method. check-in: 8996e21a01 user: mario tags: trunk
01:46
Removed duplicate category entries for internet_radio plugin. check-in: 3d794f312d user: mario tags: trunk
01:45
Removed module_list() ordering, which is now handled by uikit.appstate. Documented plugin_meta() options, split out plugin_meta_extract() code. check-in: 7127c48419 user: mario tags: trunk
Changes

Modified channels/internet_radio.py from [20409037a1] to [617008d44a].

55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
    def update_categories(self):
    
        html = http.get(self.homepage)
        rx = re.compile("""="/stations/[-+&.\w\s%]+/">([^<]+)<""")
        cats = rx.findall(html)
        cats = list(set(cats))
        cats = [s.capitalize() for s in cats]
        self.categories = sorted(cats)


    # fetch station lists
    def update_streams(self, cat):
    
        entries = []
        if cat not in self.categories:







|







55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
    def update_categories(self):
    
        html = http.get(self.homepage)
        rx = re.compile("""="/stations/[-+&.\w\s%]+/">([^<]+)<""")
        cats = rx.findall(html)
        cats = list(set(cats))
        cats = [s.capitalize() for s in cats]
        self.categories = sorted(list(set(cats)))


    # fetch station lists
    def update_streams(self, cat):
    
        entries = []
        if cat not in self.categories: