Jump to content

Amarok/Archives/Refactor Collection: Difference between revisions

From KDE Community Wiki
Votick (talk | contribs)
Created page with "== Introduction == While Amarok's current collection handling is pretty powerful, it is not really extensible. An example for the limitations of the current architecture is th..."
 
Votick (talk | contribs)
No edit summary
Line 11: Line 11:
I've created a class diagram in Umbrello which shows my proposed changes. Instead of inserting an image of it here, i am going to put it into SVN. That way you can read the comments I've added to the classes and methods and make changes to it.
I've created a class diagram in Umbrello which shows my proposed changes. Instead of inserting an image of it here, i am going to put it into SVN. That way you can read the comments I've added to the classes and methods and make changes to it.


[[Category:Idea]]
[[Category:OutDated]]

Revision as of 18:53, 11 December 2012

Introduction

While Amarok's current collection handling is pretty powerful, it is not really extensible. An example for the limitations of the current architecture is the DAAP media plugin. It would be a lot better if Amarok could use DAAP shares exactly like its own local collection, so that we could easily create smart and dynamic playlists which play music from a DAAP share. A similar problem exits for media devices: Amarok should be able automatically select and play songs from a friend's ipod or other media device. At the moment, you have to drag the songs into the playlist manually which is very annoying:)

Goals

  • allow Amarok to use multiple collections at the same time
  • allow (automatic) adding/removing of collections at runtime
  • make it easier to add new collection types
  • allow smart and dynamic playlists to load songs from multiple collections

Architecture

I've created a class diagram in Umbrello which shows my proposed changes. Instead of inserting an image of it here, i am going to put it into SVN. That way you can read the comments I've added to the classes and methods and make changes to it.