Commit Graph

28 Commits

Author SHA1 Message Date
David Sansome 72cbf90689 Save the playlists in the background, and use shared_ptrs for all playlist items so they stay in scope after they've been deleted but while they're still being saved. 2010-04-14 22:05:41 +00:00
David Sansome af07b5becd Store the playlist in the database. This is still quite slow. 2010-04-14 21:03:00 +00:00
David Sansome 9f3fc3d8ab Add the library test back in 2010-04-04 16:28:34 +00:00
David Sansome dacdf4cc5a Clean up deleted subdirectories from the database properly. Fixes an issue where subdirectories in the library wouldn't be rescanned if they were removed and recreated. Updates issue #45. 2010-04-04 14:59:55 +00:00
David Sansome 2443ce6585 Reworked the library watcher to be much more efficient - the backend now holds a list of subdirectories within each library directory, and only the mtimes of these are checked on startup. 2010-04-01 16:59:32 +00:00
David Sansome 4c42813d9f Add "group by" support to the library, and improve the whole library model to make it more robust.
Still todo: the "Group by advanced..." dialog, unit tests.
Updates issue #94.
2010-03-31 00:30:57 +00:00
David Sansome 088d298c7d Stop scanning the library straight away if we're asked to quit. Fixes issue #114 2010-03-25 14:33:09 +00:00
John Maguire 95252ccc71 Support query splitting in library search.
Improve performance of LIKE().
Fixes issue #104
2010-03-25 13:58:24 +00:00
David Sansome 70b6ba8c39 Fall back on sqlite's default non-unicode aware LIKE when we couldn't load the sqlite symbols. Fixes problems for slackware users (one of their problems anyway...). 2010-03-24 16:02:06 +00:00
David Sansome fa00ee971d Add license headers to all our source files 2010-03-23 23:11:46 +00:00
David Sansome ea83789f17 Some more library model tests 2010-03-23 21:52:42 +00:00
David Sansome 16e1deaade Make it possible for the LibraryBackend to be mocked, and add a simple test for Library. 2010-03-23 17:26:54 +00:00
John Maguire 2aeff9b5e2 Fix compile on mac for old sqlite3 header. 2010-03-22 18:46:41 +00:00
David Sansome b1e1de709c Bring the QSQLITE plugin into the source tree and statically link it on Windows.
Also remove the unused xine windows patches, and move all the windows resources into dist/windows
2010-03-22 18:35:31 +00:00
John Maguire 2f350c1ae6 Add unit tests for custom LIKE() function. 2010-03-22 16:03:24 +00:00
David Sansome 43a8b89732 Delete the divider entries properly from the library when deleting songs, and move songs to "Various artists" correctly. 2010-03-21 22:14:07 +00:00
John Maguire a7596959eb Compile fixes for mac for old sqlite3 header. 2010-03-21 16:11:26 +00:00
John Maguire b468306d2f Stop linking against sqlite and use the loaded plugin. 2010-03-21 13:29:06 +00:00
David Sansome 1a930bf2b5 Add a menu item to the library for forcing albums to appear under Various Artists.
Fixes issue #43
2010-03-20 23:59:39 +00:00
David Sansome 9f0e399fba Fix a failing test 2010-03-08 18:07:18 +00:00
David Sansome 15797e07c6 Test updating and deleting songs 2010-03-03 18:38:20 +00:00
David Sansome 3296bf7b7d LibraryBackend tests should test at a higher level 2010-03-02 23:37:12 +00:00
John Maguire 864215cb23 Adds a test for LibraryBackend (not as trivial as it sounds :-)
Adds Googlemock.
Adds mock Qt database drivers.
2010-03-01 22:00:15 +00:00
David Sansome 91958d0fd2 Change the data returned from sqlite a bit so the library view can use cover art too. Still a couple of TODOs in here. 2010-02-28 22:07:59 +00:00
David Sansome 605e3a87cc Fetch missing album covers from last.fm :) 2010-02-28 19:25:52 +00:00
David Sansome 12273256e5 Album cover art manager. So far this only displays cover art that was loaded from disk. 2010-02-28 18:04:50 +00:00
David Sansome 669a0263ff Improved various artists detection - inspired by Amarok.
Also support updates to the database schema.
Fixes issue #18
2010-02-27 20:12:22 +00:00
David Sansome 5b0496bf8f Move everything to trunk 2009-12-24 19:16:07 +00:00