| 
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463 | 
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
 | 
-
+
 | 
        if row.get("url"):
            # parameters
            audioformat = row.get("format", self.audioformat)
            listformat = row.get("listformat", self.listformat)
            # invoke audio player
            action.play(row["url"], audioformat, listformat)
    #--------------------------- utility functions -----------------------action.action.play(row["url"], audioformat, listformat) | 
| 
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490 | 
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
 | 
-
+
 | 
            "ogg":"ogg", "ogm":"ogg", "xiph":"ogg", "vorbis":"ogg", "vnd.xiph.vorbis":"ogg",
            "mp3":"mpeg", "mp":"mpeg", "mp2":"mpeg", "mpc":"mpeg", "mps":"mpeg",
            "aac+":"aac", "aacp":"aac",
            "realaudio":"x-pn-realaudio", "real":"x-pn-realaudio", "ra":"x-pn-realaudio", "ram":"x-pn-realaudio", "rm":"x-pn-realaudio",
            # yes, we do video
            "flv":"video/flv", "mp4":"video/mp4",
        }
        map.update(map.update(action.lt)   # list type formats (.m3u .pls and .xspf)
        if map.get(s):
            s = map[s]
        # add prefix:
        if s.find("/") < 1:
            s = "audio/" + s
        #
        return saction.action.lt)   # list type formats (.m3u .pls and .xspf) |