Commit Graph

390 Commits

Author SHA1 Message Date
John Maguire 11bd9966d1 Mac build fixes 2010-03-25 23:03:28 +00:00
David Sansome cc2c7b53cc dos2unix all this stuff 2010-03-25 22:37:22 +00:00
David Sansome 40e7737ba3 Maybe global shortcuts on windows... 2010-03-25 22:37:00 +00:00
David Sansome 82cdab9047 Make the pretty OSD the default on platforms without a native notification (Windows). 2010-03-25 21:29:17 +00:00
David Sansome 9c3ea3599f Fade the OSD in and out on Windows 2010-03-25 21:24:19 +00:00
David Sansome 1e260a4d7a We can't check the version of taglib on windows. 2010-03-25 21:04:47 +00:00
David Sansome 07ace1db70 Fix the size of the text label in the pretty osd 2010-03-25 20:57:34 +00:00
David Sansome cffa51a881 Make sure the pretty OSD stays in the same place between calls to show(). Fixes issue #121 2010-03-25 20:54:47 +00:00
David Sansome 3a726f71cd Fallback for the OSD on systems without transparant top level widgets 2010-03-25 19:57:52 +00:00
David Sansome b492a63dfa Fix errors in Qt < 4.6 2010-03-25 19:36:56 +00:00
David Sansome 7d5673930d Pretty OSD. 2010-03-25 19:30:10 +00:00
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