Implementation of the "Custom Tags" Feature

Dan Meltzer parallelgrapefruit at gmail.com
Wed Oct 28 22:15:24 CET 2009


On Wed, Oct 28, 2009 at 4:45 PM, Daniel Dewald
<Daniel.Dewald at time-shift.de> wrote:
> Hi List,
>
> I want to implement the "custom Tags" Feature for Amarok 2.2.x . Basically my
> Idea is the following:
>
> - Create a new Table in the Database with the following Scheme:
> Custom_Tags(id,Name,Value); Where ID would be a foreign key to the id of the
> Tracks table, Name the name of the custom tag and value the value the user
> want to give the tag.

I think this is the wrong approach, the general usage of tagging (when
I think of it) is to apply a 'tag' to a track (or album, or etc).  I
don't see where the name,value pair fits into this.  Tracks should
instead have a list of tags associated with them, or perhaps even
better, tags should have a list of tracks associated with them.  There
should be no need to have name,value pairs, I don't think.


>
> - Adding a decent Dialog for editing and displaying the Tags on the Bottom of
> the Tag editing Page (Track Details). Data would be joined via the id with the
> mysql join statement.
>
> - Adjusting the code for the search and filter function to search for custom
> Tags.
>
> - Eventually adjusting the dynamic play-lists features to allow creating
> dynamic play-lists depending on custom tags.
>
> Did I miss anything? Are there any special things I have to look out for? Or
> is my concept altogether broken? Any thoughts on this would be very help full.
> Also if someone wants to help with any part (especially the part with play-
> lists and search/filter is scaring me a bit :-P ) it would be very welcome.
>
> Daniel
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
>


More information about the Amarok-devel mailing list