M3U (MP3 URL or Moving Picture Experts Group Audio Layer 3 Uniform Resource Locator in full) is a PC record design for a media playlist. One normal utilization of the M3U record design is making a solitary section playlist document highlighting a transfer on the Internet. The made record gives simple admittance to that stream and is frequently utilized in downloads from a site, for messaging, and for paying attention to Internet radio.
Albeit initially intended for sound records, like MP3, it is generally used to direct media players toward sound and video sources, including on the web sources. M3U was initially evolved by Fraunhofer for use with their Winplay3 programming, however various media players and programming applications presently support the arrangement.
Imprudent treatment of M3U playlists has been the reason for weaknesses in numerous music players, for example, VLC media player, iTunes, Winamp, and numerous others.
The main Internet media type enrolled for M3U and M3U8 is application/vnd.apple.mpegurl, enlisted in 2009 and just alluding to the playlist design as utilized in HLS applications.
The current proposition for the HLS playlist design recognizes two media types which it treats as same: application/vnd.apple.mpegurl and sound/mpegurl. Similarly, these are the two kinds suggested for HLS use by Microsoft.
For non-HLS applications, no media types were normalized or enrolled with the IANA, however various media types are in any case connected with the authentic and progressing utilization of the M3U and M3U8 designs for general playlists:
Here is another model, utilizing relative organization. The M3U document is put in a similar registry as the music, and indexes should be safeguarded while moving the playlist to another gadget in case subdirectories are utilized. This technique is more adaptable, as it doesn’t depend on the record way remaining something very similar.
This is a similar document as above, saved as sample.m3u in C:\Documents and Settings\User\My Music\