Commit Graph

8269 Commits

Author SHA1 Message Date
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
David Sansome ceb6382e9f Fix compilation in release mode 2010-03-23 14:07:05 +00:00
John Maguire 79527447e2 May as well use our in-tree sqlite header. 2010-03-23 13:54:17 +00:00
David Sansome 7fee944b06 Updated spanish translation 2010-03-23 13:37:21 +00:00
David Sansome 163f415e72 Try running clementine from the correct location after installing 2010-03-23 00:07:25 +00:00
David Sansome 013cddb3d5 Fix stupid copy+paste error 2010-03-22 23:44:41 +00:00
David Sansome 2c6a80a2df Make maketarball.sh check out the current tag 2010-03-22 23:11:13 +00:00
David Sansome ed80c2e6c0 Update translations 2010-03-22 23:03:49 +00:00
John Maguire 3bc93339d9 Reduce watchers on mac (hitting 256 file descriptor limit). 2010-03-22 23:01:03 +00:00
David Sansome 011b26670a Updated changelog with automatic numbering of tracks feature 2010-03-22 22:50:18 +00:00
David Sansome a82e4c5b9a Added track auto-numbering, thanks christoph.gysin.
Fixes issue #25
2010-03-22 22:46:53 +00:00