Revision 918231

Go back to digest for 1st February 2009

Features in Multimedia

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

Add a BookmarkThisCapability that can be used to make individual meta items bookmarkable from the browsers instead of implicitly assuming that everythig can be bookmarked.
Use this capability to make albums and artists from Jamendo and Magnatune bookmarkable.

The capability also decides whether advanced or simple filtering ("artist:'foo' AND album:'bar'" vs. "foo" ) is used for creating bookmarks, depending on the capabilities of the collection.

Scriptable servces are now bookmarkable only if they have a search bar, and they always use the simple filtering.

This also takes most of the guesswork of of the NavigationUrlGenerator as it no longer has to guess the source of each meta item.

File Changes

Added 4 files
  • /trunk/extragear/multimedia/amarok/src
  •   /services/ServiceBookmarkThisCapability.cpp
  •   /services/ServiceBookmarkThisCapability.h
  •   /meta/capabilities/BookmarkThisCapability.cpp
  •   /meta/capabilities/BookmarkThisCapability.h
Modified 21 files
  • /trunk/extragear/multimedia/amarok/src
  •   /CMakeLists.txt
  •   /amarokurls/AmarokUrlHandler.cpp
  •   /amarokurls/BookmarkMetaActions.cpp
  •   /amarokurls/BookmarkMetaActions.h
  •   /amarokurls/NavigationUrlGenerator.cpp
  •   /meta/Capability.h
  •   /services/ServiceMetaBase.cpp
  •   /services/ServiceMetaBase.h
  •   /browsers/collectionbrowser/CollectionTreeView.cpp
  •   /browsers/servicebrowser/ServiceBrowser.cpp
  •   /services/ampache/AmpacheMeta.h
  •   /services/jamendo/JamendoMeta.h
  •   /services/magnatune/MagnatuneMeta.cpp
  •   /services/magnatune/MagnatuneMeta.h
  •   /services/scriptable/ScriptableService.cpp
  •   /services/scriptable/ScriptableService.h
  •   /services/scriptable/ScriptableServiceManager.cpp
  •   /services/scriptable/ScriptableServiceManager.h
  •   /services/scriptable/ScriptableServiceMeta.cpp
  •   /services/scriptable/ScriptableServiceMeta.h
  •   /services/scriptable/ScriptableServiceMeta_p.h
25 files changed in total