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 ideas

Re: playlist ideas

From: <Matt.OReilly_at_wachovia.com>
Date: Tue, 23 Apr 2002 11:57:12 -0400

That gives me an idea... How about nested playlists?

You could have one global/master playlist which loads other playlists for
each directory/block/whatever. This would cut down considerably on the
memory requirements for loading playlists, we'd only have one HDD spinup
when changing playlists, and it would make adding new songs to the playlist
much easier.

This would require an adaptation to the m3u format to support, but it might
be worthwhile. Or we could make the global list a proprietary format and
just load m3u's from there...

Matt



                                                                                                                     
                    Charlie Stross
                    <charlie_at_antipop To: rockbox_at_cool.haxx.se
                    e.org> cc:
                    Sent by: Subject: Re: playlist ideas
                    owner-rockbox_at_co
                    ol.haxx.se
                                                                                                                     
                                                                                                                     
                    04/23/2002 11:19
                    AM
                    Please respond
                    to rockbox
                                                                                                                     
                                                                                                                     




On Tue, Apr 23, 2002 at 10:58:56AM -0400, Matt.OReilly_at_wachovia.com wrote:
>
> 3 - Regardless of playlists, one of the most frustrating things about
> playback with the Archos is the lack of directory-crawling when playing
> back w/o a playlist. Fixing this would be a great boon, I think. Just
> simple sequential directory traversal would be heavenly...

While waiting for rockbox, here's a fun little toy. Mount your jukebox
somewhere like /mnt/jukebox, cd to /mnt/jukebox, then run this shell
script. For each directory in the jukebox's root it'll build an m3u
playlist of the contents. If, like me, you have a directory per artist
and then subbdirectories for each album, this'll give you per-artist
playlists.

///BEGIN CODE///
#!/bin/sh

JUKE=/mnt/jukebox
$base=$(pwd)
for foo in $( find $JUKE -maxdepth 1 -type d -print)
do
  echo processing $foo
  NAME=$(basename $foo)
  cd $foo
  find . -type f -name '*.mp3' -print > $foo/$NAME.m3u
  cd $base
done
///END CODE///


-- Charlie
Received on 2002-04-23

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