/m3u-to-html

A simple JS that turns a m3u file into a list of readable songs list. (gitlab mirror)

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

M3U to HTML

This javascript function turns a m3u playlsit file into an html list. It simply parses the file, keeping only the file's name without the extension, without the absolute path and without the useless things you can find in a m3u. Check this example to see it in action.

For better results, use a m3u8 file. m3u will work but this format doesn't support files with weird characters and can be not in UTF-8.