Revision 868197

Go back to digest for 12th October 2008

Features in Multimedia

Nikolaj Hald Nielsen committed changes in /trunk/extragear/multimedia/amarok/src:

Make it possible to add actions of a special PopupDropperAction subclass to a list of global actions that will be applied to all items of a specific meta type in all collections.

This is useful, for instance, for services that can offer special functionality related to some items, like last.fm that can provide a simmilar artist stream for any artist.

The last.fm service now uses this system which means that the action is available everywhere (even in other services) and that the action is no longer hardcoded anywhere in the core of Amarok.

File Changes

Added 2 files
  • /trunk/extragear/multimedia/amarok/src
  •   /GlobalCollectionActions.cpp
  •   /GlobalCollectionActions.h
Modified 9 files
  • /trunk/extragear/multimedia/amarok/src
  •   /ActionClasses.cpp
  •   /CMakeLists.txt
  •   /MainWindow.h
  •   /Systray.h
  •   /browsers/collectionbrowser/CollectionTreeView.cpp
  •   /collection/sqlcollection/SqlMeta.cpp
  •   /services/lastfm/LastFmService.cpp
  •   /services/lastfm/SimilarArtistsAction.cpp
  •   /services/lastfm/SimilarArtistsAction.h
11 files changed in total