[All] To build a better music player

Dylan Reilly dreilly at atariland.net
Wed Mar 4 17:51:27 CET 2009


Pythm reads all tag data anyway. It is slow, but not overly so. That
is the trade-off between having a player that uses pre-built playlists
and one that builds them on the fly. Personally I go for the latter.

As I mentioned before, I am planning to add some sort of session
management. It might be too IO intensive to cache all the tag data (as
opposed to simply remembering file name), but it is a possibility.

As for song ordering, I believe that some combination of song file
name and id3 data will be ideal. I am sure I can come up with
something reasonable. Even if there is no general solution, sorting
will be cheap compared with reading tags so we can have a sort
function in the program that can cycle through some different sorts.

On Wed, Mar 4, 2009 at 11:37 AM, Marcel <tanuva at googlemail.com> wrote:
> Am Wednesday 04 March 2009 17:24:18 schrieb David Garabana Barro:
>> On Wednesday 04 March 2009 17:06:43 The Digital Pioneer wrote:
>> > > I would not want to have to rename hundreds of files to get some media
>> > > player
>> > > sort them correctly just because it doesn't read id3 data... (Although
>> > > my filenames actually do have the tracknums included)
>> >
>> > As Stefan said, this isn't a problem of the player not reading ID3 data,
>> > it's a problem of inconsistency. Different people have different wants
>> > and the player can't magically know what you want. Unfortunately, the
>> > Freerunner has no brainwave scanning peripherals. Perhaps they'll include
>> > that in GTA03. :)
>>
>> I think it's a problem of horsepower. If you can, as modern players do,
>> read all id3 info of all tracks, and process it on a relational database,
>> you can perfectly sort all your songs by author/album/year/genre/what you
>> want ;)
>>
>> But, if doing so is a slow process on my 2.4 GHz desktop, I cannot imagine
>> how slow would be on the freerunner.
>>
>> What about an option for selecting between name order/ track# order?
>> This would satisfy almost all people, I think.
>
> That's what I thought of, too. Having another option in the config file won't
> hurt the gui :)
>
> --
> Marcel
> - Show quoted text -
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Dylan Maxwell Reilly




More information about the community mailing list