Page MenuHomePhabricator

<playlist> tag for audio playlists
Open, LowPublicFeature

Description

A <playlist> tag for audio playlists, most importantly in M3U, would be very useful. It would work as follows:

<playlist name="Broadcast">
Broadcast1.mp3
Broadcast2.mp3
Broadcast3.mp3|My favorite song
Bad-Url.exe
</playlist>

Output:

Play back the following files:

Broadcast1.mp3
Broadcast2.mp3
My favorite song
File not found: Bad-Url.exe

These would have to exist either locally, or in the shared repository (Commons or similar).

The "Play back the following files:" link would point to a title=pagename&action=m3u&name=Broadcast&extension=.m3u URL which would send back an M3U file with the full URLs of all the valid filenames (one per line) in the playlist specified with name. The action would have to return a page of the type audio/x-mpegurl.

The extension=.m3u is necessary because some players only recognize an M3U as such if the URL contains the extension. URL rewriting might be used to accomplish the same effect. For security reasons, &extension=... should accept no other value than .m3u, and be only valid in combination with the m3u action.

Details

Reference
bz1954

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:18 PM
bzimport set Reference to bz1954.
bzimport added a subscriber: Unknown Object (MLST).

diaa_abdelmoneim wrote:

This is very important. Firefox has by default the native player. So please consider fixing this.

TheDJ set Security to None.
TheDJ removed a subscriber: wikibugs-l-list.

Someone build a radio station that has some playlist ideas to it as well.
https://tools.wmflabs.org/wikiradio/

DannyS712 changed the subtype of this task from "Task" to "Feature Request".Mar 29 2020, 9:03 PM