HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: krafty on 2019-04-11 22:29:16

Title: A way to save a M3U8 file with original EXTINF and etc created by EAC.
Post by: krafty on 2019-04-11 22:29:16
Hi folks,

Originally I ripped all my CDs with EAC and tagged it to create a M3U8 file. I lost some of these files but when foobar2000 creates them, it doesn't recreate like EAC does, with EXTINF entries and numbers seconds that constitutes the song. Is there any way? Foobar2000 only piles the filenames up on top of each other, with a starting # sign as first line.

Is there any way to recreate these EXTINF entries in new M3U8 files?

Some CDs I ended up missing, so I won't be able to place them in the drive and tell EAC to recreate it.

Thanks for any suggestion.
Title: Re: A way to save a M3U8 file with original EXTINF and etc created by EAC.
Post by: j7n on 2019-04-12 00:00:15
This was recently requested, and a built-in function for adding time, artist and title as EXTINF (for Winamp) now exists in Foobar 1.4.3.

Preferences -> Advanced -> Tools -> Write EXTM3U playlists.
Title: Re: A way to save a M3U8 file with original EXTINF and etc created by EAC.
Post by: krafty on 2019-04-12 01:13:42
Hi

It worked like a charm.
Just one little thing that wasn't implemented is the colon. There happens to have a colon after the EXIINF string as in "EXINF:" in the EAC created files. foobar2000 is just adding a space. I hope it's not a bug. But this is excellent.

Thanks.
Title: Re: A way to save a M3U8 file with original EXTINF and etc created by EAC.
Post by: j7n on 2019-04-12 10:17:05
The bug is confirmed. Playlists from Winamp and Xmplay have a colon before the duration, and the extinf without it is ignored by Winamp. I also made a typo here suggesting how to make a list with Text Tools.

For now you can work around it by editing the playlists with search & replace in a text editor. Looks like a simple hex patch in the exe fixes it. Maybe this should be changed/fixed in the next Foobar version by Peter.

Not many players use the extinf though, and the playlists are a layer of complexity that you have to remember update when you change the referenced files (along with other small sidecar files).
Title: Re: A way to save a M3U8 file with original EXTINF and etc created by EAC.
Post by: Sergey77 on 2019-04-12 10:57:08
Сhecked in PotPlayer - also ignored without a colon after #EXTINF
Title: Re: A way to save a M3U8 file with original EXTINF and etc created by EAC.
Post by: Peter on 2019-04-12 18:39:07
OK
Title: Re: A way to save a M3U8 file with original EXTINF and etc created by EAC.
Post by: krafty on 2019-04-13 21:09:41
Hi again,

Quote
The bug is confirmed.

Great, so this was a bug. I think it will be resolved in the next version then.

Quote
For now you can work around it by editing the playlists with search & replace in a text editor.

Yeah. That's what I've done for now.

Quote
Maybe this should be changed/fixed in the next Foobar version by Peter.

I'm sure he'll work on it.

Quote
Not many players use the extinf though, and the playlists are a layer of complexity that you have to remember update when you change the referenced files (along with other small sidecar files).

True. It's just that I have my rips in an "immutable" way after ripping, so this is handy to recreate the exact similiar M3U8.

Thanks Peter, j7 & Sergey77