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

⌈⌋ branch:  streamtuner2


Check-in [b09ca3e24f]

Overview
Comment:Fix server search var reference.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b09ca3e24f32be858b7d4ac78e21bd8aab64c67a
User & Date: mario on 2015-05-03 09:16:12
Other Links: manifest | tags
Context
2015-05-03
09:25
Consolidate bitrate filter in main update_streams() method. Fix conjoined category strings. check-in: 2793a3e6f8 user: mario tags: trunk
09:16
Fix server search var reference. check-in: b09ca3e24f user: mario tags: trunk
09:15
Move parole behind vlc in setup alternatives. check-in: 7e68e1b770 user: mario tags: trunk
Changes

Modified channels/radiobrowser.py from [0a40d436ac] to [ef7c2e6649].

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
            if cat in self.pricat:
                data = self.api("stations/" + cat)
            elif cat in ("tags", "countries", "languages"):
                return [dict(genre="-", title="Placeholder category", url="offline:")]
            else:
                data = self.api("stations/" + self.catmap[conf.radiobrowser_cat] + "/" + cat)
        elif search:
            data = self.api("stations/" + cat)
        else:
            return []

        r = []
        for e in data:
            r.append(dict(
                genre = e["tags"],







|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
            if cat in self.pricat:
                data = self.api("stations/" + cat)
            elif cat in ("tags", "countries", "languages"):
                return [dict(genre="-", title="Placeholder category", url="offline:")]
            else:
                data = self.api("stations/" + self.catmap[conf.radiobrowser_cat] + "/" + cat)
        elif search:
            data = self.api("stations/" + search)
        else:
            return []

        r = []
        for e in data:
            r.append(dict(
                genre = e["tags"],