Check-in [79ef6e5f2a]
Overview
| Comment: | Some more comments and log messages. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
79ef6e5f2ab94387791cb7cde1862f9d |
| User & Date: | mario on 2015-04-23 19:04:21 |
| Other Links: | manifest | tags |
Context
|
2015-04-23
| ||
| 19:31 | Use distinct /tmp/streamtuner2/ directory for temporary pls/m3u/xspf files (also for DND). And have action. module reuse them, based on numeric row{} hash. check-in: 7411543862 user: mario tags: trunk | |
| 19:04 | Some more comments and log messages. check-in: 79ef6e5f2a user: mario tags: trunk | |
| 19:04 | Add uikit.tree() instantiation for bookmarks tab. check-in: dbfe218f76 user: mario tags: trunk | |
Changes
Modified ahttp.py from [1c2ab28748] to [eff0a41e0b].
| ︙ | |||
70 71 72 73 74 75 76 | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | - + - - + + |
#srcout raise Exception("Simulated HTTP error")
#endif
# read
if post:
r = session.post(url, params=params, headers=headers, timeout=7.5)
else:
|
| ︙ |
Modified channels/internet_radio.py from [69d9499a8c] to [1cd93c503e].
| ︙ | |||
37 38 39 40 41 42 43 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | - + |
# streams and gui
class internet_radio (ChannelPlugin):
# control data
listformat = "pls"
categories = []
|
| ︙ | |||
77 78 79 80 81 82 83 | 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 | - + + |
"/" + ("page"+str(page) if page>1 else "")
)
)
# Is there a next page?
if str(page+1) not in rx_pages.findall(html[-1]):
break
|
| ︙ |
Modified channels/youtube.py from [16920f30fd] to [7b3bfc3dfd].
| ︙ | |||
70 71 72 73 74 75 76 | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | - + + |
listformat = "url/youtube"
has_search = True
audioformat = "video/youtube"
titles = dict( genre="Channel", title="Title", playing="Playlist", bitrate=False, listeners=False )
# API config
service = {
|
| ︙ |
Modified cli.py from [9a0f511a31] to [de8c726472].
| ︙ | |||
36 37 38 39 40 41 42 | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | - - + + |
plugins = {} # only populated sparsely by .stream()
# start
def __init__(self, actions):
# fake init
|
| ︙ |
Modified config.py from [b88512db4c] to [fe8ee86843].
| ︙ | |||
475 476 477 478 479 480 481 | 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 | - + |
self.method = name
return self.log_print
# Printer
def log_print(self, *args, **kwargs):
# debug level
method = self.method.upper()
|
| ︙ |