Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: PlayList Synch

Re: PlayList Synch

From: Brian Wolven <brian.wolven_at_verizon.net>
Date: Tue, 28 Dec 2004 00:04:22 -0500

BlueChip wrote:
>
>> Hi All,
>>
>> This might be a bit of Topic, but It's related the my ABJR. Does
>> anyone know
>> of any software that would allow me to just take any playlist pointing
>> to a
>> bunch of files in different directories, and transfer them into my
>> ABJR (I
>> have a lot of files and it would take me a very log time to do this
>> manually, And I update this playlist often)? I've looked everywhere
>> and have
>> not been able to find anything. Please advise.
>>
>> Thanks,
>> Eddie
>
>
> The challenge is down ...now to see who can produce the coolest line of
> PERL to do it - LOL :)

Assuming:

a) you're running windows,
b) you can open a DOS prompt,
c) your jukebox is denoted by the drive letter J,
d) your playlist is entitled playlist.m3u, and
e) the folder "PlaylistFolder" already exists on your jukebox,

you can use the following single line:

for /f "eol=# tokens=*" %i in (playlist.m3u) do _at_copy "%i" J:\PlaylistFolder

The eol=# specification will make it ignore comment/info lines generated
by winamp, if that is the source of your playlist.

If you write the following variant into a file and save it with a .bat
extension (e.g., copylist.bat),

for /f "eol=# tokens=*" %%i in (%1) do _at_copy "%%i" J:\PlaylistFolder

you can then simply drag a playlist onto the .bat file or run it from
the command prompt, like so:

copylist.bat playlist.m3u

But I'll grant you that PERL is much cooler. =)

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-12-28

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy