Internet radio browser GUI for music/video streams from various directory services.

โŒˆโŒ‹ โŽ‡ branch:  streamtuner2


Check-in [470e3fac2b]

Overview
Comment:Add new config dialog group for "Playlists". Conf setting `playlist_asis` completely skips action.convert_playlist(). Works for any real m3u/pls/srv server and flexible audio players. But obviously breaks Jamendo albums or other JSON playlist sources.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 470e3fac2ba271d1bd3756f61cc29375d864bd3b
User & Date: mario on 2015-04-30 06:21:03
Other Links: manifest | tags
Context
2015-04-30
06:21
Statusbar timeout and reset still not as planned. check-in: 049b945a64 user: mario tags: trunk
06:21
Add new config dialog group for "Playlists". Conf setting `playlist_asis` completely skips action.convert_playlist(). Works for any real m3u/pls/srv server and flexible audio players. But obviously breaks Jamendo albums or other JSON playlist sources. check-in: 470e3fac2b user: mario tags: trunk
06:19
No has_search for PRF channel. check-in: dc28b4f35a user: mario tags: trunk
Changes

Modified action.py from [aa42f204ad] to [c4b64401d8].

202
203
204
205
206
207
208

209

210
211

212
213
214
215
216
217
218
202
203
204
205
206
207
208
209

210
211

212
213
214
215
216
217
218
219







+
-
+

-
+







        cmd = cmd + " %pls"
        # "pls" as default requires no conversion for most channels, and seems broadly supported by players

    # Playlist type placeholders (%pls, %m3u, %xspf, etc.)
    for dest, rx in placeholder_map.items():
        if re.search(rx, cmd, re.X):
            # from .pls to .m3u
            if not conf.playlist_asis:
            fn_or_urls = convert_playlist(url, listfmt(source), listfmt(dest), local_file=True, row=row)
                url = convert_playlist(url, listfmt(source), listfmt(dest), local_file=True, row=row)
            # insert quoted URL/filepath
            return re.sub(rx, quote(fn_or_urls), cmd, 2, re.X)
            return re.sub(rx, quote(url), cmd, 2, re.X)

    return "/bin/false"


# Substitute .pls URL with local .m3u, or direct srv addresses, or leaves URL asis.
#  ยท Takes a single input `url` (and original row{} as template).
#  ยท But returns a list of [urls] after playlist extraction.

Modified config.py from [0405b0c427] to [d54903cb9b].

126
127
128
129
130
131
132

133
134
135
136
137
138
139
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140







+







        self.show_bookmarks = 1
        self.show_favicons = 1
        self.load_favicon = 1
        self.heuristic_bookmark_update = 0
        self.retain_deleted = 0
        self.auto_save_appstate = 1
        self.reuse_m3u = 1
        self.playlist_asis = 0
        self.google_homepage = 0
        self.windows = platform.system()=="Windows"
        self.pyquery = 1
        self.debug = 0

        
    # each plugin has a .config dict list, we add defaults here

Modified gtk3.xml.gz from [fbb5039142] to [956a343db3].

cannot compute difference between binary files