Check-in [6bbc8bba7f]
Overview
Comment: | Add .reload_bookmarks for RT-NG |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6bbc8bba7fc2b5ed99b51ca51dffb015 |
User & Date: | mario on 2018-12-17 20:32:38 |
Other Links: | manifest | tags |
Context
2018-12-17
| ||
22:19 | Added crude support for binding internal calls `object.func()` to buttons. check-in: bbb93d412c user: mario tags: trunk | |
20:32 | Add .reload_bookmarks for RT-NG check-in: 6bbc8bba7f user: mario tags: trunk | |
16:50 | shoutcast: reenable referer sending check-in: e5e2175cfc user: mario tags: trunk | |
Changes
Modified channels/radiotray.py from [5e56c67925] to [f78abe4734].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 | - + | # api: streamtuner2 # title: RadioTray hook # description: Allows to bookmark stations to RadioTray/NG |
︙ | |||
130 131 132 133 134 135 136 | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | - - - - - - + + + + + + + + | group = self.map_group(row.get("genre")) log.PROC("mapping genre '%s' to RT group '%s'" % (row["genre"], group)) # Radiotray-NG try: self.radiotray_ng().add_radio(row["title"], row["url"], group) except: |
︙ | |||
167 168 169 170 171 172 173 | 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | - + | "group": row["genre"], "image": None, "stations": [] } j.append(found) # overwrite bookmarks.json if found: |
︙ |