Check-in [86cac0312e]
Overview
Comment: | Switch .meta.title attribute after UI initialization. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
86cac0312e19bdbfe0c61ffffc2b1f0a |
User & Date: | mario on 2015-04-05 18:24:19 |
Other Links: | manifest | tags |
Context
2015-04-05
| ||
18:24 | Make Youtube channel also default. check-in: 333ed92349 user: mario tags: trunk | |
18:24 | Switch .meta.title attribute after UI initialization. check-in: 86cac0312e user: mario tags: trunk | |
18:23 | Fix `local` category base url, again. Make priority: default. check-in: 76b83cd1e1 user: mario tags: trunk | |
Changes
Modified channels/surfmusik.py from [9e4623f402] to [48d1f40b6c].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | # encoding: UTF-8 # api: streamtuner2 |
︙ | |||
55 56 57 58 59 60 61 62 | 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | + + - + | } categories = [] titles = dict( genre="Genre", title="Station", playing="Location", bitrate=False, listeners=False ) # Set channel title def __init__(self, parent=None): ChannelPlugin.__init__(self, parent) # title updating is a workaround, because the fixed .meta attribute are read first self.title = ("SurfMusik", "SurfMusic")[conf.get("surfmusik_lang", "EN") == "EN"] |
︙ |