Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#157466 - 28/04/2003 00:01 How does one convert CSV to M3U?
jamville
journeyman

Registered: 23/08/2002
Posts: 93
Loc: South Texas
With Emplode 2.0 you can export to a csv. And/or you can import from a m3u.

If you want to use one play list on two or more Mk2a's, how do you go about it?

Thank you,
_________________________
Joe Mumme

Top
#157467 - 28/04/2003 00:36 Re: How does one convert CSV to M3U? [Re: jamville]
simspos
enthusiast

Registered: 28/03/2002
Posts: 230
Loc: Dudley, UK
The m3u file is just a text file (I think!), so you could just grap the appropriate listing from the csv file and do a little "manual manipulation" (examine the structure of a working m3u file first and you shouldn't go far wrong)

Tedious but should work as long a you only want to do the odd playlist

Cheers, Sim

Top
#157468 - 28/04/2003 06:15 Re: How does one convert CSV to M3U? [Re: simspos]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
It ain't that easy -- the CSV file lists the contents of playlists by FID. If you wanted to convert this into an M3U (which is a list of files), you'd have to convert each of those FIDs back to the original filename. This isn't going to be easy -- we don't keep the original filenames around.

Frankly, you're better off either not bothering, or keeping the two empegs completely in sync. See this or this.
_________________________
-- roger

Top
#157469 - 28/04/2003 06:47 Re: How does one convert CSV to M3U? [Re: Roger]
simspos
enthusiast

Registered: 28/03/2002
Posts: 230
Loc: Dudley, UK

Sheesh, I knew my logic would be flawed somewhere, completely forgot the filenames are lost on import to the empeg.

Like Roger said, it ain't easy.

Cheers, Sim

Top
#157470 - 28/04/2003 10:39 Re: How does one convert CSV to M3U? [Re: jamville]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Yup, apples and oranges.

To restate what's been said: The CSV from Emplode doesn't contain the same data as an M3U file would need.

CSV: The internal track database of the car player, which knows nothing about your PC.
M3U: A list of file names on your PC's hard drive, which knows nothing about the tracks on your player.

However, you can download all the songs off your player onto the PC, then you can use a DOS batch file with a carefully formatted DIR command to create one big M3U of all the subdirectories.
_________________________
Tony Fabris

Top
#157471 - 28/04/2003 14:17 Re: How does one convert CSV to M3U? [Re: tfabris]
SumnerHayes
new poster

Registered: 18/04/2003
Posts: 19
However, you can download all the songs off your player onto the PC, then you can use a DOS batch file with a carefully formatted DIR command to create one big M3U of all the subdirectories.


Unix-style file utilities are a godsend for this sort of thing--you can get the Cygwin stuff (Unix utils for Windows) for free from http://www.cygwin.com/ .

Then it's just:
find . -name '*.mp3' -type f | sort > allfiles.m3u

and you'll have an m3u of all the mp3 files under the current directory. You can get a lot more sophisticated than this without needing to learn much more than the options to find and a bash for loop.

Sumner

Top
#157472 - 28/04/2003 23:26 Re: How does one convert CSV to M3U? [Re: SumnerHayes]
jamville
journeyman

Registered: 23/08/2002
Posts: 93
Loc: South Texas
Thanks for all your input guys.

_________________________
Joe Mumme

Top