Check-in [b4c02bb849]
Overview
| Comment: | Radionomy changed station logo URLs. → Adapted to load rescaled 32x32 favicons again. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
b4c02bb849996e3d67d13e5c2c405730 |
| User & Date: | mario on 2016-05-21 13:19:56 |
| Other Links: | manifest | tags |
Context
|
2016-06-16
| ||
| 22:04 | Slight changes to extraction regex (`https` links mostly, and title-icon is just text now). check-in: 7843eea22d user: mario tags: trunk | |
|
2016-05-21
| ||
| 13:19 | Radionomy changed station logo URLs. → Adapted to load rescaled 32x32 favicons again. check-in: b4c02bb849 user: mario tags: trunk | |
|
2016-05-05
| ||
| 16:28 | Minor documentation updates, add vTuner/RadioSure/Receiva in contrib plugin list. check-in: d0c84513d6 user: mario tags: trunk | |
Changes
Modified channels/radionomy.py from [7bc8ca4b0f] to [a15a6d5e39].
1 2 3 4 5 | # encoding: UTF-8 # api: streamtuner2 # title: Radionomy # description: Modern radio directory and streaming provider # url: http://radionomy.com/ | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 |
# encoding: UTF-8
# api: streamtuner2
# title: Radionomy
# description: Modern radio directory and streaming provider
# url: http://radionomy.com/
# version: 0.7
# type: channel
# category: radio
# config: -
# { name: radionomy_pages, type: int, value: 3, category: limit, description: Number of pages per category to scan. }
# { name: radionomy_update, type: boolean, value: 1, description: Also fetch OnAir updates about currently playing songs. }
# png:
# iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAABIElEQVQ4y62Uv0rEQBCHv/yRQziJ1bYWV/gCaxrhGrtrg1f5GMc+xOKLeIetVjZXHRrwAewstxMWFDViM5EQcrk9yTRJZn+/j51h
|
| ︙ | ︙ | |||
100 101 102 103 104 105 106 |
r.append(dict(
genre = cat,
title = data["title"],
url = data["mp3"],
playing = self.playing.get(data["radioUID"], data["song"]),
favourite = int(data.get("isFavorite", 0)),
homepage = "http://www.radionomy.com/en/radio/{}/index".format(data["url"]),
| | | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
r.append(dict(
genre = cat,
title = data["title"],
url = data["mp3"],
playing = self.playing.get(data["radioUID"], data["song"]),
favourite = int(data.get("isFavorite", 0)),
homepage = "http://www.radionomy.com/en/radio/{}/index".format(data["url"]),
img = re.sub("/\d+/", "/32/", data["logo"]),
uid = data["radioUID"],
))
return r
# Extracts the data-play-stream= JSON blob attributes
@use_rx
|
| ︙ | ︙ |