Check-in [3dde6b82b2]
Overview
| Comment: | Jamendo browser disabled, only shows fixed list of radio stations now. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
3dde6b82b2979cf303ffdc68419d17d5 |
| User & Date: | mario on 2014-04-28 00:42:25 |
| Other Links: | manifest | tags |
Context
|
2014-04-28
| ||
| 00:42 | include bundle/* in src package check-in: 53a3607d70 user: mario tags: trunk | |
| 00:42 | Jamendo browser disabled, only shows fixed list of radio stations now. check-in: 3dde6b82b2 user: mario tags: trunk | |
| 00:19 | Adapted DMOZ retrieval to changed HTML check-in: a44d5a6e74 user: mario tags: trunk | |
Changes
Modified channels/jamendo.py from [9d3d3ac039] to [e56bcf3be6].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | + + + | # api: streamtuner2 # title: jamendo browser # # For now this is really just a browser, doesn't utilizt the jamendo API yet. # Requires more rework of streamtuner2 list display to show album covers. # # Recently required an API key as well. Thus probably will remain a stub. # # import re import ahttp as http from config import conf from channels import * from xml.sax.saxutils import unescape |
| ︙ | |||
61 62 63 64 65 66 67 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | - - + + + + + + + + + + + + + + + + + + + + |
#-- categories
tags = []
for uu in rx_current.findall(html):
(href, title) = uu
tags.append(title)
self.categories = [
|
| ︙ | |||
95 96 97 98 99 100 101 | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | - - - - - - - - - - - - - | "homepage": track, "url": self.track_url(track_id, conf.jamendo_stream_format), "favicon": self.cover(cover), "format": self.stream_mime(), }) |
| ︙ |