Commit Graph

13 Commits

Author SHA1 Message Date
David Sansome 1b00aaa8b3 Big refactoring of the Library <-> LibraryBackend <-> SQLite interaction.
The LibraryBackend has now been split into a Database class that deals with setting up sqlite, and PlaylistBackend that contains the functions for persisting the playlist.  The LibraryBackend now only contains functions for accessing "a collection of songs", and can be parameterised with table names to access different collections.  It also no longer lives in a background thread, and follows the Qt memory management model instead of using shared_ptr.
Most of Library has been moved into LibraryModel - a QAbstractItemModel for any LibraryBackend.  What's left of Library is now specific to the user's local library on disk.
2010-05-09 00:10:26 +00:00
David Sansome 72dbfd51c5 Start of a Magnatune service that downloads the list of songs and prints them on stdout. 2010-05-08 20:56:39 +00:00
David Sansome 9cd0fa6d7d Better error handling for the transcoder, and a log to show the user what's going on 2010-05-08 15:36:12 +00:00
David Sansome d5c52f32d8 Add an almost working music transcoder. Also some small translation fixes. 2010-05-03 18:52:35 +00:00
David Sansome 30daf4aca2 Merge translations from launchpad 2010-04-27 13:51:25 +00:00
David Sansome 9dca93e276 Merge translations from launchpad 2010-04-22 14:01:46 +00:00
David Sansome b2236bfd1e Undo and redo actions for the playlist. Note that undoing a sort or a shuffle doesn't work yet. Fixes issue #152 2010-04-19 18:44:35 +00:00
David Sansome e014b67090 Add a "Stopped" notification that's different from "Playlist finished". 2010-04-19 13:01:57 +00:00
David Sansome d3adcbabf8 Change "Behaviour" to "Behavior", and add a british english translation 2010-04-15 16:26:41 +00:00
David Sansome 13b5772aa5 Remove genitive variables in lastfmservice.cpp, and use the american spelling of "neighbor"
Fixes issue #204
2010-04-15 16:12:44 +00:00
David Sansome dd86b60411 CMake variables and commandline options to allow multiple engines to be built. Thanks christoph.gysin.
Fixes issue #203
2010-04-15 12:39:34 +00:00
David Sansome b63fcb0b10 Add the new languages to the buildsystem 2010-04-14 16:50:18 +00:00
David Sansome 2db65d2668 Merge translations from Launchpad 2010-04-14 16:47:53 +00:00