Revision 658617

Go back to digest for 29th April 2007

Features in Multimedia

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

MAJOR refactor of Magnatune store and the preleminary Jamendo.com service. Both services now use the same database driven model and model items. The Common model populates iteself using a specific database handler for each service.

This will make writing new services that uses a database for local cache MUCH simpler as all that needs to be done is basically write a data-fetcher / parser and a database handler.

This refactor is still a work in progress. It currently compiles and runs (and seems to actually work correctly for both services) , but there are most likely bugs, crashes, leaks, messed up coding conventions, more leaks and general ugliness in liberal amounts spread about in the code

File Changes

Added 5 files
  • /trunk/extragear/multimedia/amarok/src/servicebrowser
  •   /databasedrivencontentitem.cpp
  •   /databasedrivencontentitem.h
  •   /databasedrivencontentmodel.cpp
  •   /databasedrivencontentmodel.h
  •   /infoparserbase.h
Deleted 8 files
  • /trunk/extragear/multimedia/amarok/src/servicebrowser
  •   /jamendo/jamendocontentitem.cpp
  •   /jamendo/jamendocontentitem.h
  •   /jamendo/jamendocontentmodel.cpp
  •   /jamendo/jamendocontentmodel.h
  •   /magnatunestore/magnatunecontentitem.cpp
  •   /magnatunestore/magnatunecontentitem.h
  •   /magnatunestore/magnatunecontentmodel.cpp
  •   /magnatunestore/magnatunecontentmodel.h
Modified 21 files
  • /trunk/extragear/multimedia/amarok/src
  •   /CMakeLists.txt
  •   /servicebrowser/servicemodelitembase.cpp
  •   /servicebrowser/servicemodelitembase.h
  •   /servicebrowser/simpleservicetypes.h
  •   /servicebrowser/jamendo/jamendodatabasehandler.cpp
  •   /servicebrowser/jamendo/jamendodatabasehandler.h
  •   /servicebrowser/jamendo/jamendoservice.cpp
  •   /servicebrowser/jamendo/jamendotypes.h
  •   /servicebrowser/jamendo/jamendoxmlparser.cpp
  •   /servicebrowser/jamendo/jamendoxmlparser.h
  •   /servicebrowser/magnatunestore/magnatunealbumdownloader.cpp
  •   /servicebrowser/magnatunestore/magnatunebrowser.cpp
  •   /servicebrowser/magnatunestore/magnatunebrowser.h
  •   /servicebrowser/magnatunestore/magnatunedatabasehandler.cpp
  •   /servicebrowser/magnatunestore/magnatunedatabasehandler.h
  •   /servicebrowser/magnatunestore/magnatuneinfoparser.cpp
  •   /servicebrowser/magnatunestore/magnatuneinfoparser.h
  •   /servicebrowser/magnatunestore/magnatunepurchasedialog.cpp
  •   /servicebrowser/magnatunestore/magnatunepurchasehandler.cpp
  •   /servicebrowser/magnatunestore/magnatunexmlparser.cpp
  •   /servicebrowser/magnatunestore/magnatunexmlparser.h
34 files changed in total