Dynamic Collection patch

Dan Meltzer hydrogen at notyetimplemented.com
Mon Jun 12 22:14:17 UTC 2006


On Monday 12 June 2006 6:06 pm, Jean-Tristan Chanegue wrote:
> Hi,
>
> That's a pretty cool idea.
>
> I've got an idea... but I don't know if it is a good one..
>
> Is it possible to use a MD5 Hash or something like that to identify
> uniquely the music collection ? It would be a great level of
> abstraction, no ?
>
> IMHO, it's not a pretty good idea to use something (the path or the
> name of the file) to identify it. Maybe it would be better to use
> something at the core of the music file... wouldn't it ?

a few problems with using md5sum of the music file

1) it would take too long
2) changing a tag would change the md5sum.
>
>
>
> Jean-Tristan
>
> On 6/12/06, Maximilian Kossick <mkossick at gmx.de> wrote:
> > Sorry, I forgot to actually attach the patch. :(
> > --Max
> >
> > Am Monday, 12. June 2006 18:18 schrieb Maximilian Kossick:
> > > Hi.
> > > This is the current version of my dynamic collection patch. It applies
> > > to amarok/src revision 550753.
> > >
> > > It is a (so far) working implementation of my Dynamic Collection idea
> > > as described on the wiki:
> > > http://amarok.kde.org/amarokwiki/index.php/Dynamic_Collection
> > >
> > > I tested the patch with files on my laptop's internal hdd and on my
> > > external USB hdd.
> > >
> > > Known bugs/unimplemented features:
> > > -the statistics SQL queries (number of genres, artists, albums, etc.)
> > > are wrong.
> > > -ATF doesn't work yet. It should be pretty straightforward to implement
> > > it, I simply didn't get around to it yet
> > > -watching for directory changes using inotify or the old method
> > > probably doesn't work correctly when devices are added/removed at
> > > runtime
> > >
> > > If you want to test the patch you have to use a new database. It
> > > doesn't convert old ones yet. And make sure that your filesystem is
> > > supported in DeviceManager (currently supported are ext2, ext3, ntfs,
> > > vfat, hfsplus. simply add your filesystem to the list in
> > > DeviceManager::getDevice. yes, i know that this is a very ugly hack)
> > >
> > > --Max
> >
> > _______________________________________________
> > Amarok mailing list
> > Amarok at kde.org
> > https://mail.kde.org/mailman/listinfo/amarok
>
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok



More information about the Amarok mailing list