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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [706904e073]

Overview
Comment:IO/xiph/cache fixed (agian) to return JSON array only
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 706904e073dde47bb969ebfe417f53dda892786a
User & Date: mario on 2014-08-12 16:42:45
Other Links: manifest | tags
Context
2014-08-12
18:41
Filter out duplicate streams by title check-in: 509c3b3a70 user: mario tags: trunk
16:42
IO/xiph/cache fixed (agian) to return JSON array only check-in: 706904e073 user: mario tags: trunk
16:42
Make API requests more resilient check-in: 5e18bfece0 user: mario tags: trunk
Changes

Modified channels/xiph.py from [1d8ab2c715] to [9c1513899d].

107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
                #__print__(dbg.DATA, e)
                bitrate = int(e["bitrate"])
                if conf.xiph_min_bitrate and bitrate and bitrate >= int(conf.xiph_min_bitrate):
                  l.append({
                    "title": e["stream_name"],
                    "url": e["listen_url"],
                    "format": e["type"],
                    "bitrate": int(e["bitrate"]),
                    "genre": e["genre"],
                    "playing": e["current_song"],
                    "listeners": 0,
                    "max": 0,
                    "homepage": (e["homepage"] if ("homepage" in e) else ""),
                  })
                







|







107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
                #__print__(dbg.DATA, e)
                bitrate = int(e["bitrate"])
                if conf.xiph_min_bitrate and bitrate and bitrate >= int(conf.xiph_min_bitrate):
                  l.append({
                    "title": e["stream_name"],
                    "url": e["listen_url"],
                    "format": e["type"],
                    "bitrate": bitrate,
                    "genre": e["genre"],
                    "playing": e["current_song"],
                    "listeners": 0,
                    "max": 0,
                    "homepage": (e["homepage"] if ("homepage" in e) else ""),
                  })