Check-in [46648a2d42]
Overview
Comment: | Fix srver url extraction prior sending to myoggradio API. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
46648a2d42e18f945d6bbbb908b345ee |
User & Date: | mario on 2015-05-08 09:50:20 |
Other Links: | manifest | tags |
Context
2015-05-08
| ||
11:05 | Crash in search module again. Seemingly fixed it for threaded mode by preupdating the bookmarks.streams{search} result store before switching tabs. check-in: e6dd4c5376 user: mario tags: trunk | |
09:50 | Fix srver url extraction prior sending to myoggradio API. check-in: 46648a2d42 user: mario tags: trunk | |
2015-05-07
| ||
19:21 | Lock WindowsMediaGuide plugin against >2.1.8 check-in: 55b6ad457a user: mario tags: trunk | |
Changes
Modified channels/myoggradio.py from [b165bc2c10] to [7ec1d08cee].
︙ | ︙ | |||
109 110 111 112 113 114 115 | # get data row = self.parent.row() if row: row = copy.copy(row) # convert PLS/M3U link to direct ICY stream url if conf.myoggradio_morph and self.parent.channel().listformat != "url/direct": | > > > > | | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | # get data row = self.parent.row() if row: row = copy.copy(row) # convert PLS/M3U link to direct ICY stream url if conf.myoggradio_morph and self.parent.channel().listformat != "url/direct": urls = action.convert_playlist(row["url"], row.get("listformat", "any"), "srv", local_file=False, row=row) if not urls: urls = [row["url"]] row["url"] = ahttp.fix_url(urls[0]) # prevent double check-ins if row["title"] in (r.get("title") for r in self.streams["common"]): pass elif row["url"] in (r.get("url") for r in self.streams["common"]): pass |
︙ | ︙ |