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: RB Directory listing order

Re: RB Directory listing order

From: <deonarin_at_netscape.net>
Date: Mon, 02 Aug 2004 17:23:28 -0400

Right now, this would take effect in the tree browser. You would set your display format (configurable globally or per-directory, via a file in .rockbox or a file in the directory) to show the track number first, followed by whatever else. (right now it is limited to track name, artist name, and track number, although expansion is possible)

When you go to browse songs, the songs in the folder would show the information in the id3 tags in whatever format you specified, (I call this the "display name") instead of showing the file name.

I don't know how this would effect playlists, since I haven't looked closely at the playlist browser. This is also not an id3 database (yet). It simply loads and sorts the files in the directory view by a display name based on the id3 tags instead of the file name.

However, if you were playing files in order from a directory sorted this way, then they would play in track order, since the directory entries are sorted by the display name instead of the file name.

For instance:

Your /.rockbox/.display_global file contains "[%r] %t - %a"

In the folder containing 12 tracks off a CD by MyArtist, the directory browser would show:

[ 1] Track Name 1 - MyArtist
[ 2] Track Name 2 - MyArtist
...
[11] Track Name 11 - MyArtist
[12] Track Name 12 - MyArtist

If you pressed 'play' on the first track in the folder, and didn't have shuffle on, you'd play the tracks in the folder in the order of the track number. The first time you view this directory, there'd be a small delay (a second or two) where I build the display name, but after that it is cached (on disk) and it loads fairly transparently.

~Jonathan



Fred <speedup_at_gmail.com> wrote:

>On Mon, 02 Aug 2004 12:18:50 -0400, deonarin_at_netscape.net
><deonarin_at_netscape.net> wrote:
>> As an alternative to modifying the way we sort file names in directories, if the id3 patch I've proposed is accepted, you could just sort by track number as listed in the id3 tag.
>>
>> The way it was implemented, it will automatically use two digits for the track number. (it pads 1-digit tracks with a space, which may be more pleasing than a leading zero...)
>>
>> ~Jonathan
>
>That's a quite pretty solution Jonathan ;). I'd need this "human"
>listing style when playing an album, and checking out the titles in
>"track order". I dropped my playlists a couple of weeks ago and now
>use only folders for one-disc albums (multiple discs albums have a
>main folder and one subfolder for each disc, with a global playlist).
>Your solution would be to sort the current playing playlist by track
>number or implement an iPod-like DB styled media sorting system ?
>Sorry, I did not really caught your idea ;)
>
>Fred
>_______________________________________________
>http://cool.haxx.se/mailman/listinfo/rockbox
>

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-08-02

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