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

⌈⌋ branch:  streamtuner2


Check-in [10d20f4306]

Overview
Comment:Add statusbar message when converting
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:10d20f43068995e0912e3c601c0f114cfbda012a
User & Date: mario on 2016-12-10 17:54:09
Other Links: manifest | tags
Context
2016-12-10
17:54
Undo statusbar clearing for .play() action; introduce markup support for status() messages. check-in: 56b89d2861 user: mario tags: trunk
17:54
Add statusbar message when converting check-in: 10d20f4306 user: mario tags: trunk
17:53
New plugin: vtuner2 check-in: 63abbd2c17 user: mario tags: trunk
Changes

Modified action.py from [24f167ca4e] to [476ab89429].

295
296
297
298
299
300
301

302
303
304
305
306
307
308

    # Reuse tempoary files?
    if local_file and conf.reuse_m3u and os.path.exists(tmp_fn(row, dest)):
        log.STAT("reuse temporary filename")
        return [tmp_fn(row, dest)]
    
    # Retrieve from URL

    (mime, cnt) = http_probe_get(url)
    
    # Leave streaming server as is
    if mime == "srv":
        cnt = ""
        return [url]








>







295
296
297
298
299
300
301
302
303
304
305
306
307
308
309

    # Reuse tempoary files?
    if local_file and conf.reuse_m3u and os.path.exists(tmp_fn(row, dest)):
        log.STAT("reuse temporary filename")
        return [tmp_fn(row, dest)]
    
    # Retrieve from URL
    main.status("Converting " + url, timeout=0.95)
    (mime, cnt) = http_probe_get(url)
    
    # Leave streaming server as is
    if mime == "srv":
        cnt = ""
        return [url]