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

⌈⌋ branch:  streamtuner2


Diff

Differences From Artifact [51ce82a04c]:

To Artifact [f2de7a5aec]:


308
309
310
311
312
313
314
315
316







317
318
319
320
321
322
323
308
309
310
311
312
313
314


315
316
317
318
319
320
321
322
323
324
325
326
327
328







-
-
+
+
+
+
+
+
+






    elif fn:
        intfn = ""
        while fn and len(fn) and not os.path.exists(fn):
            fn, add = os.path.split(fn)
            intfn = add + "/" + intfn
        if len(fn) >= 3 and intfn and zipfile.is_zipfile(fn):
            src = zipfile.ZipFile(fn, "r").read(intfn.strip("/"))

    return plugin_meta_extract(src or "", fn)
            
    if not src:
        src = ""
    if type(src) is not str:
        src = src.decode("utf-8")

    return plugin_meta_extract(src, fn)


# Actual comment extraction logic
def plugin_meta_extract(src="", fn=None, literal=False):

    # defaults
    meta = {