Check-in [f2dbd33512]
Overview
| Comment: | Add favicon and description. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
f2dbd335128ecc442b0b980bb17b3038 |
| User & Date: | mario on 2015-05-06 17:05:37 |
| Other Links: | manifest | tags |
Context
|
2015-05-06
| ||
| 17:06 | Fix urlencode references to urllib.quote. check-in: 334e951b04 user: mario tags: trunk | |
| 17:05 | Add favicon and description. check-in: f2dbd33512 user: mario tags: trunk | |
| 04:27 | Fix JSON serialization. check-in: b2d517502d user: mario tags: trunk | |
Changes
Modified contrib/di.py from [475bcbba59] to [7e57dd345f].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | - - + + - + + + + - - + + - | # encoding: UTF-8 # api: streamtuner2 |
| ︙ | |||
46 47 48 49 50 51 52 | 48 49 50 51 52 53 54 55 | + |
ls = json.loads(ahttp.get("http://listen.{}/public1".format(cat)))
rows = [
dict(genre=row["key"], title=row["name"], url=row["playlist"], id=row["key"],
homepage="http://www.{}/{}".format(cat, row["key"]), bitrate=64)
for row in ls
]
return rows
|