Check-in [2b63a42675]
Overview
Comment: | Recategorized some dbg.ERR messages, but make them displayed now regardless of conf.debug setting. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
2b63a42675f913c97fd9781d6dd2083a |
User & Date: | mario on 2015-04-05 20:27:33 |
Other Links: | manifest | tags |
Context
2015-04-05
| ||
22:04 | Provide a `-D` debugging flag and a `-d shoutcast` option to disable plugins prior startup. check-in: 08b1306823 user: mario tags: trunk | |
20:27 | Recategorized some dbg.ERR messages, but make them displayed now regardless of conf.debug setting. check-in: 2b63a42675 user: mario tags: trunk | |
18:24 | Make Youtube channel also default. check-in: 333ed92349 user: mario tags: trunk | |
Changes
Modified channels/__init__.py from [f281706365] to [292484f13c].
︙ | |||
218 219 220 221 222 223 224 | 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | - + - + | modified = [] for row in new_streams: if len(set(["", None]) & set([row.get("title"), row.get("url")])): continue try: modified.append( self.postprocess(row) ) except Exception as e: |
︙ | |||
369 370 371 372 373 374 375 | 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 | - + | # if category tree is empty, initialize it if not self.categories: __print__(dbg.PROC, self.module+"first_show: reload_categories"); #self.parent.thread(self.reload_categories) try: self.reload_categories() except: |
︙ |
Modified channels/bookmarks.py from [abc893deda] to [26db498411].
︙ | |||
144 145 146 147 148 149 150 | 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | - + | return self.currentcat() # update bookmarks from freshly loaded streams data def heuristic_update(self, updated_channel, updated_category): if not conf.heuristic_bookmark_update: return |
︙ |
Modified channels/internet_radio.py from [617008d44a] to [2353be4e7b].
︙ | |||
138 139 140 141 142 143 144 | 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | - + | "title": (title or "").strip().replace("\n", " "), "playing": (playing or "").strip().replace("\n", " "), "bitrate": int(bitrate or 0), "listeners": int(listeners or 0), "format": "audio/mpeg", # there is no stream info on that, but internet-radio.org.uk doesn't seem very ogg-friendly anyway, so we assume the default here }) else: |
︙ |
Modified channels/shoutcast.py from [645b712bff] to [05b00913ff].
︙ | |||
94 95 96 97 98 99 100 | 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | - + - + | pass # downloads stream list from shoutcast for given category def update_streams(self, cat): if (cat not in self.catmap): |
︙ |
Modified config.py from [f2de7a5aec] to [2154593dfb].
︙ | |||
382 383 384 385 386 387 388 | 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 | - + | """, re.X) # wrapper for all print statements def __print__(*args): |
︙ |
Modified help/index.page from [0fcf8063a0] to [03dacee74b].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | <!-- # title: streamtuner2 mallard help pages |
︙ |