Diff
Differences From Artifact [1d8ab2c715]:
- File
channels/xiph.py
— part of check-in
[ac8632bc29]
at
2014-06-03 00:29:43
on branch trunk
— Search dialog offers (x) all channels or (x) just current for server+cache scan
again. Removed search="" parameter from channels that don't implement it.
(To remove extraneous .has_search channel attribute again somewhen..)
External: Xiph IO cache ?search= should be changed to work on station titles instead of genres. (user: mario, size: 12965) [annotate] [blame] [check-ins using]
To Artifact [9c1513899d]:
- File channels/xiph.py — part of check-in [706904e073] at 2014-08-12 16:42:45 on branch trunk — IO/xiph/cache fixed (agian) to return JSON array only (user: mario, size: 12955) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
107 108 109 110 111 112 113 | #__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"], | | | 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 ""), }) |
︙ | ︙ |