Go Back   Winamp Forums > Winamp > Winamp Bug Reports

Reply
Thread Tools Search this Thread Display Modes
Old 7th June 2000, 00:40   #1
Helamonster
Guest
 
Posts: n/a
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
  Reply With Quote
Old 8th June 2000, 11:00   #2
griffinn
Court Jester
(Forum King)
 
griffinn's Avatar
 
Join Date: May 2000
Location: Your local toystore
Posts: 3,502
Send a message via ICQ to griffinn
<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.
griffinn is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Winamp > Winamp Bug Reports

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