3148 Commits

Author SHA1 Message Date
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
1103ef77da More library tests 2010-03-24 19:05:49 +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
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
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
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
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
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
ceb6382e9f Fix compilation in release mode 2010-03-23 14:07:05 +00:00
David Sansome
7fee944b06 Updated spanish translation 2010-03-23 13:37:21 +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
a82e4c5b9a Added track auto-numbering, thanks christoph.gysin.
Fixes issue #25
2010-03-22 22:46:53 +00:00
John Maguire
3e0e3f6889 Actually check for errors in AlbumCoverFetcher. 2010-03-22 21:36:02 +00:00
David Sansome
39a97d9878 Minor UI fix to the settings dialog 2010-03-22 19:46:42 +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
6947fe2923 Set version to 0.2 for mac. 2010-03-22 16:18:03 +00:00
John Maguire
2f350c1ae6 Add unit tests for custom LIKE() function. 2010-03-22 16:03:24 +00:00
David Sansome
ad3c77cb5a Fix compilation errors on ubuntu 2010-03-22 13:49:08 +00:00
David Sansome
41ab127d1a Set version to 0.2 2010-03-22 13:20:30 +00:00
David Sansome
91b2162d25 Enforce a minimum size for playlist columns when they're shown. This prevents 0-width columns appearing for whatever reason. Fixes issue #85 2010-03-22 12:13:04 +00:00
David Sansome
1879b6f858 Make this compile when DBUS isn't available 2010-03-21 23:19:56 +00:00
David Sansome
7191f968a6 Fix the memory leak!
The scope's buffer, used by the analyzers, wasn't being cleared when the mainwindow (or the analyzer) was hidden.  There was a timer that was supposed to clear it, but it wasn't being run because the xine engine is in a thread without an event loop.
Fixes issue #5
2010-03-21 23:11:34 +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
David Sansome
b5b61a2e0e Add a couple of indexes to the database to speed up searches on large libraries. 2010-03-21 21:17:01 +00:00
David Sansome
eea777e74e Global shortcuts on gnome, with GSD over DBUS 2010-03-21 19:02:56 +00:00
David Sansome
a2c5bebd25 Remove unused includes. Fixes issue #84 2010-03-21 18:13:22 +00:00
David Sansome
24541609d7 Fixed some RGB parameters out of range warnings 2010-03-21 17:28:54 +00:00
David Sansome
d09eaac67a Fix up the other 2D analyzers 2010-03-21 17:22:05 +00:00
John Maguire
87b552d16d set background thread priority on mac 2010-03-21 16:45:34 +00:00
David Sansome
1314ef2e37 Remove the global shortcuts dialog from trunk 2010-03-21 16:37:38 +00:00
David Sansome
0b2bb418f3 Updated spanish translation from Mariano Copetti 2010-03-21 16:22:22 +00:00
David Sansome
0e42e0b9f7 Updated slovak translation
Fixes issue #83
2010-03-21 16:21:42 +00:00
David Sansome
2e1023457c Show the analyzer popup menu on a left click as well as a right click 2010-03-21 16:20:27 +00:00
John Maguire
a7596959eb Compile fixes for mac for old sqlite3 header. 2010-03-21 16:11:26 +00:00
David Sansome
416670671f Run the background library scanner at IDLE io priority on linux 2010-03-21 15:55:58 +00:00
David Sansome
530d58b4cf Add some more strings for translation 2010-03-21 15:00:36 +00:00