[maemo-developers] [maemo-developers] upgrading base packages from third party repositories

From: Gustavo Sverzut Barbieri barbieri at gmail.com
Date: Sat Dec 9 23:52:08 EET 2006
On 12/6/06, Michael Wiktowy <michael.wiktowy at gmail.com> wrote:
> On 12/6/06, Martin Grimme <mgrimme at online.de> wrote:
> > But don't rate the renamed Ogg files in Canola (via the stars) because
> > Canola thinks this is an mp3 and will destroy the Ogg by writing ID3
> > tags.
> You have tried this? I always thought that this rating info (similar
> to that found in Rhythmbox and Winamp) was stored in an external DB.
> If it is stored in the ID3 tags, is it a standard thing that will work
> across players?

Sorry being so late to reply, we're quite busy these days! :-)

Yes, we do store rating AND playcount on sqlite db AND id3 on file
(local files).

We need this because if you remove the file (ie: removable media,
mmc), you would like to get your old data back when you add it back.
This creates a new problem: how to remember this data? You cannot keep
them in your DB (~/.canola/canola.db), because this file may never be
back again... and your DB would grow forever... You could store these
data on a DB to be stored on mmc, but there are other problems with

The best solution (and the one I've implemented) is storing on each
file. This have some drawbacks, like for music that doesn't have the
information already, causing skips. This is gone if you've used some
application like syncroptated to fix these things for you, ensuring
id3 tags and other things to be added in future.

Gustavo Sverzut Barbieri
Jabber: barbieri at gmail.com
   MSN: barbieri at gmail.com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; 08122692 at sip.stanaphone.com
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net

More information about the maemo-developers mailing list