android
  #1  
Old 12-28-2007, 11:00 AM
jeffw's Avatar
jeffw jeffw is offline
Junior Member
 
Join Date: Dec 2007
Location: Pacific Northwest, USA
Posts: 10
Default What is the format of M3U playlists?

First off, let me say the sport is very cool. Excellent design and function.

I'm trying to figure out how to get the M3U playlist files formatted properly and transferred from my linux box.

I have a 2Gig sport. Firmware is 1.008

1) Where do M3U files belong? I put them in the Music folder, and the sport seemed to find them but won't play them. So then I looked at my daughter's unit, which is a windows based unit, and saw the Playlist folder, so I tried putting the M3U files there. Sport found them, but again won't play them. That leads to the second question:

2) What is the exact format of the M3U files? Are filenames case sensitive? Does it need complete path names, or is it some shortened relative pathname? i.e. assuming the mp3 or ogg files are in the Music folder, would a M3U line be

/Music/artist/album/trackname1.mp3
/Music/artist/album/trackname2.mp3

or:

artist/album/trackname1.mp3
artist/album/trackname2.mp3

or ??

If someone can answer this that would be great. I'll probably end up writing a perl script that properly formats M3U files it finds on the insignia and would be happy to share once I understand the details.

Thanks for any info!
Jeff Welty
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 12-28-2007, 04:59 PM
Almoxil's Avatar
Almoxil Almoxil is offline
Ultra Senior Member
 
Join Date: Jun 2006
Location: Brazil
Posts: 1,857
Default

I hope this article from Wikipedia will help a little.

You can also take a look at WinAmp's forums.

If that's not enough, try googling for "M3U specs" or "M3U specification".

By the way, welcome to ABi!
__________________
Cowon D2 4GB + 16GB A-data SDHC card Meizu M6 SP 8GB Zen Vision:M 30GB Zen V Plus 4GB iRiver SlimX 550
Sennheiser PX-100 AKG K81 DJ Alessandro MS-1 FutureSonics Atrio M5 Audio Technica ATH-CK7, ATH-AD2K ATH-ESW9
Meier Corda Move
Reply With Quote

  #3  
Old 12-28-2007, 08:08 PM
jeffw's Avatar
jeffw jeffw is offline
Junior Member
 
Join Date: Dec 2007
Location: Pacific Northwest, USA
Posts: 10
Default

Hi Almoxil,

Thanks for the reply, and thanks for the forum! I should have said I understand what the format of a M3U file is, the real question is how do they work on the insignia sport with regard to path names and location of the M3U files themselves? If someone had a simple example that would probably be enough. I've tried a lot of variations with no success. Variations I tried include location of the M3U file, relative and absolute pathnames, using backslashes instead of slashes to separate subfolders (what we used to call directories in the old days ) Does every audio file specified in the M3U have to be located (because I used one M3U to see if it could find a single file with variations on paths).

Cheers,
Jeff

Last edited by jeffw; 12-28-2007 at 08:09 PM. Reason: my typed smiley didn't work :-(
Reply With Quote

  #4  
Old 12-29-2007, 10:19 PM
jeffw's Avatar
jeffw jeffw is offline
Junior Member
 
Join Date: Dec 2007
Location: Pacific Northwest, USA
Posts: 10
Default More things that don't work, M3U-testing

I have a mp3 located on the player at:

/Music/dan_fogelberg/the_innocent_age/nexus.mp3

I made 10 different M3U files like so:

test1.m3u had 1 line:
Code:
nexus.mp3
test2.m3u had 1 line:
Code:
the_innocent_age/nexus.mp3
test3.m3u had 1 line
Code:
dan_fogelberg/the_innocent_age/nexus.mp3
test4.m3u had 1 line
Code:
Music/dan_fogelberg/the_innocent_age/nexus.mp3
test5.m3u had 1 line
Code:
/Music/dan_fogelberg/the_innocent_age/nexus.mp3
The next files "test6.m3u" thru "test10".m3u were identical, except I I used a backslash to separate the directories here's test10.m3u for example:
Code:
\Music\dan_fogelberg\the_innocent_age\nexus.mp3
I put these 10 files in /Music/dan_fogelberg/ The sport shows them as playlists, but when I attempt to play any one of them nothing happens, the player just remains paused.

I put those 10 files in /Playlists and tried again. Same result.

So out of desparation, I went to a windows XP machine, and attempted to load a playlist via the rhapsody software fontend. It claims to have transfered a playlist, but I don't see it on the sport.

So, now I'm wondering, has anyone had any success with M3U playlists on the sport at all?

Sorry to be such a pest, but this is an absolute killer feature -- I'd love to get it working.

Thanks for any info, at all!
Jeff
Reply With Quote

  #5  
Old 12-30-2007, 05:22 AM
epithetless's Avatar
epithetless epithetless is offline
Ultra Senior Member
 
Join Date: Jul 2007
Location: Boston, Mass
Posts: 1,615
Default

Good luck with this, and let us know if you have any future success. Based on Insignia's so-called implementation of this feature on the NS-DVxG line of players, I'd say they are using some kind of mystery M3U format known to neither beast nor man. It's quite frustrating, actually.
Reply With Quote

  #6  
Old 12-30-2007, 12:07 PM
digitaldel digitaldel is offline
Member
 
Join Date: Mar 2007
Posts: 114
Default

The format should look like this:

#EXTM3U
#EXTINF:2,tone 1wma
tone_1wma.wma
#EXTINF:2,tone 2wma
tone_2wma.wma

It does work, but we have seen a bug with larger playlists in which it takes an excessively long time to rebuild. The next F/W drop (this will also be supported on the DVxG F/W release) will support more robust M3U's including those created directly from Media Monkey.
Reply With Quote

  #7  
Old 12-30-2007, 02:11 PM
epithetless's Avatar
epithetless epithetless is offline
Ultra Senior Member
 
Join Date: Jul 2007
Location: Boston, Mass
Posts: 1,615
Default

Nice. Many thanks for the info, digitaldel. Looking forward to that new F/W release!
Reply With Quote

  #8  
Old 12-30-2007, 04:52 PM
jeffw's Avatar
jeffw jeffw is offline
Junior Member
 
Join Date: Dec 2007
Location: Pacific Northwest, USA
Posts: 10
Default

THANKS digitaldel!

One other thing for the linux folks, I just tried the M3U with standard unix LF line terminators and it did not work. It hit me that the file may need CRLF termination (ala a dos text file). Sure enough that works.

The other important detail is that pathnames need to be separated by backslashes, not forward slashes.

It works with relative pathnames like "mp3\nexus.mp3" and full pathnames like "\Music\mp3\nexus.mp3"

this is sooo cool!

I will work on some Perl code to create properly formated m3u files from any given m3u files, of course it will work with ogg or mp3.

On to the land of Perl :-)
Reply With Quote

  #9  
Old 01-10-2008, 10:00 PM
jeffw's Avatar
jeffw jeffw is offline
Junior Member
 
Join Date: Dec 2007
Location: Pacific Northwest, USA
Posts: 10
Default

Just thought I'd report back that I have Perl code that runs under linux, and will traverse a directory tree and reformat any M3U files for the insignia sport.

I regard it as very experimental still, but if anyone is interested in trying it out please say so.

Features:
  • recursively searches the directory tree for all existing m3u files
  • works with either ogg or mp3 files
  • uses existing title tags in audio files if available.
  • asks before overwriting each m3u file with format necessary for insignia (this format doesn't work on *nix)
Cheers,
Jeff
Reply With Quote

  #10  
Old 01-18-2008, 08:18 PM
newkev newkev is offline
Junior Member
 
Join Date: Jan 2008
Posts: 1
Default

Jeffw,

Is there any way I can take a look at your script? I have an insignia DV4G and I'm trying to write some code to generate m3u playlists and I can't get the format exactly right...
Reply With Quote

  #11  
Old 01-19-2008, 10:57 AM
jeffw's Avatar
jeffw jeffw is offline
Junior Member
 
Join Date: Dec 2007
Location: Pacific Northwest, USA
Posts: 10
Default Script temporarily available

I put the script at:

http://www2.redhawk.org:8080/insigniam3u.pl

I'll probably move it someplace more formal later.

Enjoy!
Jeff
Reply With Quote

  #12  
Old 01-20-2008, 06:03 PM
epithetless's Avatar
epithetless epithetless is offline
Ultra Senior Member
 
Join Date: Jul 2007
Location: Boston, Mass
Posts: 1,615
Default

Quote:
Originally Posted by newkev View Post
Jeffw,

Is there any way I can take a look at your script? I have an insignia DV4G and I'm trying to write some code to generate m3u playlists and I can't get the format exactly right...
Newkev, if you're able to get that DV4G script working, would you mind sharing it as well?
Reply With Quote

  #13  
Old 03-12-2008, 09:21 AM
shadoweater12081980 shadoweater12081980 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Cool m3u

As long as the m3u is in the same directory as the files you can do it very simply at command line (dos or konsole etc)

dir /b *.mp3 > playlist.m3u

you don't need fancy scripts or software. I've been doing it this way for YEARS!

The output file will be an alphabetically sorted list of the files in the folder (Useful to use track numbers with leading zeros here)

et voilla!

This works in Linux too.

Enjoy
Reply With Quote

  #14  
Old 04-09-2008, 09:01 AM
jeffw's Avatar
jeffw jeffw is offline
Junior Member
 
Join Date: Dec 2007
Location: Pacific Northwest, USA
Posts: 10
Default

Quote:
Originally Posted by shadoweater12081980 View Post
As long as the m3u is in the same directory as the files you can do it very simply at command line (dos or konsole etc)

dir /b *.mp3 > playlist.m3u
Have you actually tried that? If you read upthread you'll see I tried a bunch of variations on that theme and none work -- it seems the sport is *very* picky about the playlist format, even requiring cr/lf terminators (which linux won't give you by default).

But I wonder now that maybe the problem all along was the cr/lf terminators. Could you please confirm that the simple playlists with only the filenames work on DOS?

EVERYONE -- it seems that the perl script I put on the site is not downloadable -- try again but with this URL:

http://www2.redhawk.org:8080/insigniam3u.perl

Cheers,
Jeff
Reply With Quote

  #15  
Old 04-12-2008, 10:06 AM
jeffw's Avatar
jeffw jeffw is offline
Junior Member
 
Join Date: Dec 2007
Location: Pacific Northwest, USA
Posts: 10
Default

I tried the simple listing of audio files using cr/lf line terminators, no luck. The format below still appears to be the only way my sport will support m3u playlists. I am at version 1.008 of the firmware.

#EXTM3U
#EXTINF:2,tone 1wma
tone_1wma.wma
#EXTINF:2,tone 2wma
tone_2wma.wma

Cheers,
Jeff
Reply With Quote

  #16  
Old 05-07-2008, 05:49 PM
Mark29 Mark29 is offline
Junior Member
 
Join Date: Apr 2008
Posts: 3
Default

I'm new to the forum and new to the Insignia Sport which I got recently for my wife. So I gather from this thread that there is no software known to man that can create & edit playlists on this device? How difficult could it be - isn't a playlist simply a file with 'pointers' to the selected songs?

I have a Dell player purchased several years ago, and at the time I was able to use Rhapsody software to create & edit playlists - without having to transfer the playlist directly from the PC.

The ability to create & edit a playlist independently of music on the host pc should be a very basic thing on a mp3 player, shouldn't it?

By the way, I just got off the phone with Insignia's so-called mp3 support, what a waste of time. So if my post sounds a little bitter, that's why.

Thanks,
Mark
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 12:26 AM.