Diff
Differences From Artifact [a84557177e]:
- File channels/itunes.py — part of check-in [72fbdf4b92] at 2014-05-31 09:01:36 on branch trunk — new iTunes Radio stations channel (via RoliSoft Radio Playlist generator API.) (user: mario, size: 2461) [annotate] [blame] [check-ins using]
To Artifact [e8f81d7822]:
- File
channels/itunes.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: 2448) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
76 77 78 79 80 81 82 | # static list for iTunes def update_categories(self): pass # Just copy over stream URLs and station titles | | | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | # static list for iTunes def update_categories(self): pass # Just copy over stream URLs and station titles def update_streams(self, cat): m3u = http.get(self.base, {"category": cat.lower()}) if len(m3u) < 256: __print__(dbg.ERR, m3u) rx_m3u = re.compile(r""" ^File(\d+)\s*=\s*(http://[^\s]+)\s*$\s* |
︙ | ︙ |