No edit summary |
(Txts) Tag: mobileedit |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox file format |
{{Infobox file format |
||
− | | |
+ | |extension=.m3u |
− | | |
+ | |mime=audio/x-mpegurl |
− | | |
+ | |owner=Nullsoft] |
− | | |
+ | |genre=Playlist |
+ | }} |
||
⚫ | |||
+ | {{ca}} |
||
⚫ | |||
'''M3U''' (from [[MPEG Audio Layer 3|MP3]] [[Uniform Resource Locator|URL]]) is a playlist file format. |
'''M3U''' (from [[MPEG Audio Layer 3|MP3]] [[Uniform Resource Locator|URL]]) is a playlist file format. |
||
Line 21: | Line 23: | ||
==External links== |
==External links== |
||
* [http://schworak.com/programming/music/playlist_m3u.asp M3U (WinAmp) Specification] |
* [http://schworak.com/programming/music/playlist_m3u.asp M3U (WinAmp) Specification] |
||
− | |||
[[Category:Text file formats]] |
[[Category:Text file formats]] |
||
[[Category:Playlist file formats]] |
[[Category:Playlist file formats]] |
Revision as of 00:27, 11 February 2014
M3U | |
---|---|
Filename extension | .m3u |
Internet media type | audio/x-mpegurl |
Developed by | Nullsoft]Expression error: Unrecognized word "span". |
Type | Playlist |
File formats category - |
- Implementation source code is/may be available for this article.
M3U (from MP3 URL) is a playlist file format.
Specification
An M3U file always starts with a line containing #EXTM3U
.
It then follows pairs of lines specifying information about the file and a path to the file. For example:
#EXTINF
- 372
,Sample song
C:\Users\J\Music\Sample song.mp3
Here, #EXTINF:
starts the line with the information about the song. The following number is the length of the song, in seconds. Following is a comma, then the title of the song. The next line specifies the path, either absolute or relative, to the song.
Comments may be specified by preceding a whole line with a number sign (#), but be careful as some extended formats may conflict with this syntax. Generally, placing comments is impractical with playlists.
The length of a song may also be specified as -1, where the path leads to a stream instead of a file.