
SOLUTION: Firefox opens .m3u files as text. Doesn't play the audio playlist/track.
I've seen many questions about this matter over the years, and thought I'd been lucky. Every link containing a .m3u file opened in my media player, WACUP. However ... after an update to version 143 it suddenly didn't. .m3u links opened as a text file in the browser window.
We have five windows 10 workstations in the home, and this happened with all of them.
I write webpages for a family intranet, and several thousand tracks are available for playing, so that was messed up too.
These are the steps I followed - unsuccessfully:
- Bulleted list item Checked file association settings in Windows 10. .m3u was associated to WACUP, my media player.
- Bulleted list item Checked file actions in Firefox. .m3u files set to open in WACUP.
- Bulleted list item Added the type="audio/mpgurl" in the anchor link for webpages I make.
- Bulleted list item Changed the default download panel in FF settings to "Ask". I could then get it to ask me to save or open. "Open" worked, as it this is tied to the system default audio player - nothing to do with FF.
- Bulleted list item A few other frustrating, but eventually inconsequential solutions that were in the realm of "I wonder if ...?"
So ... after all of this and a lot of investigation I noticed something interesting: All my playlists were in the format with just a listing of the filename, which as mentioned had been working for years:
Example "01 Queen - We Are The Champions.mp3".
Yet a playlist made in VLC had a different format: example,
"#EXTM3U
- EXTINF:-1,01 The Beach Boys - Help Me Rhonda.mp3
01 The Beach Boys - Help Me Rhonda.mp3 "
SOLUTION
Having far too much time on my hands, I experimented with this, dissecting the various components of the playlist, and eventually found when adding "#EXTM3U" as the first line in the playlist, Firefox opened the playlist in WACUP once again when the link was clicked.
New playlist entry:
- EXTM3U
01 Queen - We Are The Champions.mp3 02 ... 03 ... etc.
I've left the "type='audio/mpegurl" declaration in the link.
I don't know why this happened, but I hope somebody finds this useful in the future.
So now I have several thousand playlists to edit, although Notepad++ will make this easier, but by no means quick.
Επιλεγμένη λύση
The solution from the original post:
Having far too much time on my hands, I experimented with this, dissecting the various components of the playlist, and eventually found when adding "#EXTM3U" as the first line in the playlist, Firefox opened the playlist in WACUP once again when the link was clicked. New playlist entry: EXTM3U 01 Queen - We Are The Champions.mp3 02 ... 03 ... etc. I've left the "type='audio/mpegurl" declaration in the link. I don't know why this happened, but I hope somebody finds this useful in the future. So now I have several thousand playlists to edit, although Notepad++ will make this easier, but by no means quick.Προβολή απάντησης εντός συζήτησης 👍 0
Όλες οι απαντήσεις (3)
Hmm.. thanks for the info. I also use WACUP and I notice that it does save .M3U playlists in the format that you have that works:
#EXTM3U
#EXTINF:264,Evanescence - Wasted on You {The Bitter Truth - T:6, 2021}
\Music\MP3\Rock\Evanescence - The Bitter Truth\Evanescence - The Bitter Truth - 06 - Wasted on You.mp3
Just curious what was used to create the playlists that stopped working?
@MarkRH I used a batch file "dir %1/.mp3 /b >playlist.m3u". This resided in the sendTo folder, allowing me to right-click the folder(s), chose sendTo, then the batch file.
Earlier this year I improved this with a python script that in addition to creating the full playlist, also created a single m3u file for each mp3 file in the folder. The python script created the playlist.m3u file in the format we both quoted above, but single files with only a text entry as I had before.
The text-file listing worked for years without trouble until upgrading as above. Weird.
Επιλεγμένη λύση
The solution from the original post:
Having far too much time on my hands, I experimented with this, dissecting the various components of the playlist, and eventually found when adding "#EXTM3U" as the first line in the playlist, Firefox opened the playlist in WACUP once again when the link was clicked. New playlist entry: EXTM3U 01 Queen - We Are The Champions.mp3 02 ... 03 ... etc. I've left the "type='audio/mpegurl" declaration in the link. I don't know why this happened, but I hope somebody finds this useful in the future. So now I have several thousand playlists to edit, although Notepad++ will make this easier, but by no means quick.