232 Commits

Author SHA1 Message Date
David Sansome
492d8fec87 Use sqlite's Full Text Search on the songs table 2010-06-20 16:30:10 +00:00
David Sansome
80837ce652 Oops - it helps if we actually remember to set the URL of the song we just loaded. Fixes issue #426 2010-06-20 12:50:08 +00:00
David Sansome
e0d7b7021b Change the rain URL to one on clementine-player.org so we can redirect if the actual URL changes 2010-06-18 13:35:17 +00:00
John Maguire
82b728528e Better unicode search.
Fixes issue #419
2010-06-18 12:54:11 +00:00
David Sansome
f82ff23d9b Don't miss out the first filename on the commandline 2010-06-18 12:19:19 +00:00
John Maguire
256b507cae Leopard compile fixes 2010-06-18 11:41:16 +00:00
David Sansome
28505857fc Fix commandline option parsing 2010-06-18 00:31:54 +00:00
David Sansome
398bd54203 Don't put NULL in these not nullable columns - fixes a crash when downloading the Magnatune db 2010-06-18 00:11:15 +00:00
John Maguire
67bc9351bd Only show mac universal access dialog if user clicks on button in global shortcuts dialog. 2010-06-17 23:11:51 +00:00
John Maguire
9f2db477f8 Remove useless function. 2010-06-17 23:00:07 +00:00
John Maguire
077dfd46b0 Support more shortcut keys on mac. 2010-06-17 22:55:34 +00:00
David Sansome
3fd807df31 Add an (unimplemented) label and button to the global shortcut dialog for mac 2010-06-17 22:15:07 +00:00
John Maguire
a562190bbe Code review comments for r1198
Put back media keys for non-mac.

In this year:
The town of Riga is chartered as a city by Bishop Albert, who landed on the site of the town with 1,500 crusaders earlier that year.
2010-06-17 21:54:42 +00:00
John Maguire
25be0a1465 *Catch global shortcuts when clementine is focused.
*Automatically ask the user to enable assistive devices.
2010-06-17 21:33:16 +00:00
John Maguire
f9e29fccf4 Global keyboard shortcuts for Cocoa.
Requires "Enable access for assistive devices" set in Universal Access control panel.
2010-06-17 20:31:34 +00:00
David Sansome
89ac81be10 Treat 0 the same as -1 and NULL for numeric columns such as "disc".
Update issue #411
Status: Fixed
Ah ha!  I knew it was the disc tag - one of them had a value of 0 set, and the other had no value at all which was taken by clementine to mean "-1", which was lower than 0 so screwed up the sorting.  Try now and it should be fixed (you'll have to get Clementine to rescan that directory - probably remove it from the library settings and add it again).
2010-06-17 15:52:06 +00:00
David Sansome
057a896967 Fix a few minor warnings 2010-06-17 14:05:21 +00:00
David Sansome
c15afd8083 Fix a warning message 2010-06-16 22:12:08 +00:00
John Maguire
5307ca3db0 Return the correct type from GstBusFunc()s 2010-06-15 22:32:20 +00:00
John Maguire
a8f7df9e28 Remove incorrect gst_message_unref. It should only be called from *sync* handlers that are returning GST_BUS_DROP. 2010-06-15 22:30:06 +00:00
John Maguire
abdc2eee2e Put LoadUrl for mac back. 2010-06-15 21:56:33 +00:00
David Sansome
0f8ada10d3 Typo 2010-06-15 18:34:15 +00:00
David Sansome
f162d9d620 Add a SongLoaderInserter that loads a list of URLs and inserts them into a playlist when it's done. Wire up everything in the GUI that loads URLs or filenames to use the new SongLoader. 2010-06-15 18:24:08 +00:00
David Sansome
25ff2bca59 Always treat text/uri-list as M3U 2010-06-15 14:52:42 +00:00
David Sansome
987a918d90 Timeout when fetching remote things 2010-06-15 14:44:28 +00:00
David Sansome
7afa3372f5 Fix the qWarning warning 2010-06-15 14:42:32 +00:00
David Sansome
de630e0a9f Run LoadLocalDirectory in another thread so it doesn't block 2010-06-15 14:24:17 +00:00
David Sansome
2c3e9276aa Fix some of the comments on r1148 2010-06-15 13:56:41 +00:00
David Sansome
a27b6d3561 Herp derp 2010-06-15 13:28:08 +00:00
David Sansome
08a01d6997 The start of some code to automagically determine whether a URL is a playlist or a song, and load the songs in the playlist if it's a playlist. Still to do: timeout, forcing M3U for text/uri-list. 2010-06-15 13:24:17 +00:00
John Maguire
73a381fe89 Rain! 2010-06-14 20:00:17 +00:00
John Maguire
5a97697702 Add support for opening files via Finder in OS X.
Update issue #405
Status: Started
Opening from Finder works but Clementine still isn't a "recommended" application.
2010-06-14 13:22:45 +00:00
David Sansome
a8d79582c1 Add a status bar indicator to tell the user how many tracks are loaded. Fixes issue #155 2010-06-12 21:20:53 +00:00
David Sansome
083eb716a7 Crossfade magnatune streams properly 2010-06-12 20:22:58 +00:00
David Sansome
36abad486b Add a dialog for manual searching of Last.fm album covers. Fixes issue #402 2010-06-12 17:13:01 +00:00
David Sansome
f69a82bc6e Force a re-download of the magnatune database so svn users will get the sku-codes required for downloading 2010-06-09 14:04:56 +00:00
David Sansome
40bb827fcd Make all the source files a single cmake target again. 2010-06-08 22:39:31 +00:00
John Maguire
2830ee1a62 Fix MPRIS pause behaviour.
Update issue 374
Pause/unpause should be fixed now.
2010-06-08 16:00:09 +00:00
David Sansome
7a449a545c Fix a compilation error when enabling other engines 2010-06-08 13:24:48 +00:00
John Maguire
d34283a113 ProjectM on mac deployment fixes. 2010-06-07 11:38:43 +00:00
John Maguire
a4386de578 Add some useful mac functions. 2010-06-07 09:49:20 +00:00
John Maguire
2e9dc6c570 Never override UTF-8 strings from TagLib. 2010-06-03 15:22:30 +00:00
David Sansome
f33604580c Stop ASCII from voting, and add a failing test 2010-06-03 15:16:15 +00:00
David Sansome
3652ff30e0 Don't assert if one of the operands to our LIKE function is NULL 2010-06-03 14:56:49 +00:00
John Maguire
8a13f3e481 Qt is nice :-) 2010-06-03 14:11:53 +00:00
John Maguire
2ad15ffec6 Code review comments for r1023 2010-06-03 13:26:46 +00:00
John Maguire
407bc7a41e Fix segfault. 2010-06-03 13:02:24 +00:00
John Maguire
b9df2a09d4 Add voting for codecs, eg. if 3/4 tags in a file are windows-1251 then they will all be decoded with windows-1251. 2010-06-03 12:36:43 +00:00
David Sansome
c834a5f31f Do the compilation processing in the database thread, and make everything lock on the database to ensure two threads don't access it at once. 2010-06-02 16:22:20 +00:00
David Sansome
03d876a599 Put the Database object in its own thread, and create the Library and Playlist backends in that database thread. The database calls don't happen in the database thread yet, but this is the first step towards making sure sqlite access is thread safe. 2010-06-02 15:58:07 +00:00