PDA

View Full Version : Playlist showing multiple entries per actual file


Helamonster
7th June 2000, 00:40
I create a text file that contains all the filenames for my mp3s using the following command line (winNT):
dir f:\mp3\*.* /s /b >"F:\all.m3u"

The problem is that when the playlist is fully loaded, there are sometimes 2, 3 or 4 entries in the playlist for each file in the playlist.

Can you help me?

mr_helamonster@yahoo.com

griffinn
8th June 2000, 11:00
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Helamonster:
dir f:\mp3\*.* /s /b &gt;"F:\all.m3u"<HR></BLOCKQUOTE>
The simplest way to load all files in f:\mp3 into the Winamp playlist is to click the "Add dir" button from the Playlist menu, make sure "Recurse subdirectories" is selected, and then select f:\mp3.

Now, about why the above doesn't work:

Your command would list directories as well as files in the all.m3u file you're generating. If you have a mp3 file in, let's say, f:\mp3\jazz\fusion\file.mp3, you'd get at least three entries in your all.m3u file:<UL TYPE=SQUARE>
<LI>f:\mp3\jazz
<LI>f:\mp3\jazz\fusion
<LI>f:\mp3\jazz\fusion\file.mp3</UL>
The problem is, when Winamp encounters a directory in an m3u file, it would scan the directory (and its subdirectories) for files. So, in the above example your file.mp3 would be listed three times - Winamp has already located file.mp3 from the two parent directories.