|
Rockbox mail archiveSubject: Re: creating m3u filesRe: creating m3u files
From: Michael Muller <admin_at_montaguema.net>
Date: Mon, 13 Sep 2004 11:58:52 -0400 As it turns out, I can create playlists using Rockbox v2.2. I wanted to have one in every folder, but I'm satisfied with having just a few in my wider genre folders, and playing back in shuffle mode. The script that was posted was very similar to mine. I'll look for it, but I believe it'll have the same issues. Thanks Michael -----Original message----- From: Brian Wolven brian.wolven_at_verizon.net Date: Mon, 13 Sep 2004 11:39:43 -0400 To: rockbox_at_cool.haxx.se Subject: Re: creating m3u files > Michael Muller wrote: > > I'm having trouble creating m3u files. I'd like to have one in every folder, listing every mp3 file in each folder's sub-folders. > > > > I've got the dos command line below, but upon running it adds a '1' before the '>' character, rendering the line syntactically incorrect, producing an error, and no m3u files. > > > > for /r %a in (.) do dir /b /s %a\*.mp3 |sort >%a\this.m3u > > > > ... produces an output line such as this... > > > > dir /b /s e:\_My Music\_Zappa\YCDTOSA 2\.\*.mp3 | sort 1>E:\_My Music\_Zappa\YCDTOSA 2\.\this.m3u > > > > (note the '1>' before the m3u filename, which produces the error). > > > > Has anyone else had this problem? It's driving me nuts. If I take out the |sort it doesn't change the error, so it must be something else. The HELP FOR docs say the following: > > > > FOR /R [[drive:]path] %variable IN (set) DO command [command-parameters] > > > > Walks the directory tree rooted at [drive:]path, executing the FOR > > statement in each directory of the tree. If no directory > > specification is specified after /R then the current directory is > > assumed. If set is just a single period (.) character then it > > will just enumerate the directory tree. > > > > When it says it will 'enumerate the directory tree' that makes me think of numbers, and I see that the number 1 is what's being injected into my result set. Anyone have any ideas or advice? > > I thought someone had posted their DOS commands for playlist creation a while > back. Did you look in the archive, by chance? If the DOS approach turns out to > be a real pain, I have vbscripts that do this; I can post them on the web if > you're interested. > > _______________________________________________ > http://cool.haxx.se/mailman/listinfo/rockbox _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox Received on 2004-09-13 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |