Commit Graph

579 Commits

Author SHA1 Message Date
John Maguire fc2877dc30 Show radio icon rather than nothing in notification. 2010-03-25 18:38:20 +00:00
John Maguire 7250587c03 Remove dependency on libnotify and use dbus directly. 2010-03-25 17:52:28 +00:00
John Maguire 2e71390acd Switch from OR to AND in split queries.
Fixes issue #116
2010-03-25 15:59:58 +00:00
John Maguire 645b819b68 Actually use unicode aware LIKE() on win32. 2010-03-25 15:39:13 +00:00
John Maguire 502e346218 Forgot to update win32 sqlite functions. 2010-03-25 15:37:15 +00:00
David Sansome 38b114e4ad Show the basefilename in the title column if there's no title tag. Fixes issue #99 2010-03-25 15:00:56 +00:00
David Sansome d5762bbbd7 Fix codereview comments for r496 2010-03-25 14:47:41 +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 9adf70d77e Fix the alternate background colour 2010-03-25 13:38:57 +00:00
David Sansome 06555da965 Add another check to see if library files still exist between the two loops in the librarywatcher. Also make sure songs are valid before trying to insert them into the database (triggering not-null constraint violations). Fixes issue #113 2010-03-25 13:15:55 +00:00
David Sansome c1e2cbe800 This Qt bug was fixed in 4.7 2010-03-25 12:57:11 +00:00
John Maguire a1baa06dbf Remove debug 2010-03-25 11:41:07 +00:00
John Maguire 5dc9f2358f Forgot stylesheet changes :-) 2010-03-25 11:39:44 +00:00
John Maguire 6b6ce0e582 Enable alternating row colours for playlist... hackity hack.
Fixes issue #112
2010-03-25 11:38:28 +00:00
John Maguire a64e5fb17e I <3 Qt. 2010-03-24 22:31:34 +00:00
John Maguire ca774badc4 More bounds checking on dbus interface. 2010-03-24 22:29:17 +00:00
John Maguire c00493223d Fix segfault when GetMetadata() is called when no song is playing. 2010-03-24 22:17:56 +00:00
John Maguire b6e3c52f44 Fix comments from r482. 2010-03-24 21:46:00 +00:00
John Maguire 2e35831b0b Mac build fixes 2010-03-24 21:34:32 +00:00
John Maguire f9972183c5 ifdef dbus stuff for X11 only. 2010-03-24 21:07:16 +00:00
John Maguire a8a37264f7 Add MPRIS support (thanks Amarok ;-)
Fixes issue #29

Example command lines:
dbus-send --print-reply --dest=org.mpris.clementine /Player org.freedesktop.MediaPlayer.Play
dbus-send --print-reply --dest=org.mpris.clementine / org.freedesktop.MediaPlayer.Identity
dbus-send --print-reply --dest=org.mpris.clementine /TrackList org.freedesktop.MediaPlayer.GetCurrentTrack
dbus-send --print-reply --dest=org.mpris.clementine /TrackList org.freedesktop.MediaPlayer.GetMetadata int32:0
2010-03-24 20:58:17 +00:00
David Sansome ceb225c236 More tests for edge cases when removing songs from the library 2010-03-24 19:53:00 +00:00
David Sansome 1103ef77da More library tests 2010-03-24 19:05:49 +00:00
David Sansome af5ede8dd0 Library tests for some corner cases 2010-03-24 17:48:25 +00:00
David Sansome da21f265c6 Fix the "verticalSpacer" warning 2010-03-24 16:51:12 +00:00
David Sansome 91b08cb4a3 Don't set the g++ warning flags on c files. Thanks christoph.gysin. Fixes issue #108 2010-03-24 16:45:44 +00:00
David Sansome 7d6a7101c9 Add a menu item to remove tracks from the playlist. Fixes issue #110 2010-03-24 16:36:44 +00:00
David Sansome ad30bad33c Check the playlist context menu index is valid before getting data from it. Fixes issue #109 2010-03-24 16:13:05 +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 ba8f57fcbd Check for taglib >= 1.6 2010-03-24 15:32:19 +00:00
John Maguire fc522602bd Only link QtTest in unit tests. 2010-03-24 14:56:03 +00:00
David Sansome 4b4603e138 Make sure current_virtual_index_ is kept consistent when clearing or deleting items from the playlist. Fixes issue #107 2010-03-24 14:37:10 +00:00
David Sansome 92c7eff0fb Don't scrobble a track if we've been skipping through it. Fixes issue #105 2010-03-24 14:21:26 +00:00
David Sansome 16a953af11 Limit length of the "Set x to y..." menu item. Fixes issue #106 2010-03-24 14:14:17 +00:00
David Sansome 4271122976 Add an empty translation to make it easier for new translators to get started. 2010-03-24 13:45:39 +00:00
John Maguire f357de6206 Update macdeploy script to more easily support other Qt versions. 2010-03-24 13:45:35 +00:00
John Maguire f312b04df7 Enable more compiler warnings and fix them.
Fixes issue #108
2010-03-24 12:07:37 +00:00
David Sansome 821e524b5f Menu option to set all fields from selected tracks to the same value. Thanks christoph.gysin. Fixes issue #102 2010-03-24 00:12:52 +00:00
David Sansome 4176251892 More fixes to the debian package and copyright 2010-03-23 23:36:30 +00:00
David Sansome bea2709186 Update the debian copyright file 2010-03-23 23:30:52 +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 dfc972be63 Use the global QApplication now 2010-03-23 21:44:43 +00:00
David Sansome 4ab755c831 Don't try to load translations from a directory that contains another directory called "clementine". Fixes issue #88 2010-03-23 18:00:55 +00:00
David Sansome f8dd079cfd Fix codereview comments from r454 2010-03-23 17:56:24 +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 777cc79b95 Fix unit test to build in release mode. 2010-03-23 15:37:22 +00:00
David Sansome 051263c05d Enable playlist sorting on columns other than title, artist, album, track and length.
Fixes issue #97
2010-03-23 14:24:48 +00:00
David Sansome bd1122ff11 Remove the dependency on sqlite3 devel package 2010-03-23 14:09:42 +00:00