Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

SOLUTION: Firefox opens .m3u files as text. Doesn't play the audio playlist/track.

  • 3 回覆
  • 0 有這個問題
  • 40 次檢視
  • 最近回覆由 Denys

more options

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

  1. 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:

  1. 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.

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)

more options

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?

more options

@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.

more options

選擇的解決方法

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.
問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題