David Sansome
f9e3d405cd
Consts and grammar
2010-06-24 18:59:09 +00:00
David Sansome
5f9c1bb2aa
Oops, don't need this any more
2010-06-24 18:37:13 +00:00
David Sansome
0848f62c3d
Move OrganiseFormat to core/ and add an Organise class that actually does the work.
2010-06-24 18:33:38 +00:00
David Sansome
44d58482f0
Make the LibraryWatcher report on its progresss. Fixes issue #436
2010-06-23 14:00:18 +00:00
David Sansome
eb830051c8
Show a percentage next to the loading indicator
2010-06-23 13:47:27 +00:00
David Sansome
f808591ec7
Refactor the loading indicator widget into a seperate TaskManager class that can handle tasks with progress
2010-06-23 13:21:30 +00:00
David Sansome
ed422c3743
Set a longer remote timeout on unit tests so they don't fail when they run on buildbit with high load.
2010-06-23 11:51:13 +00:00
David Sansome
9106abb1a0
Handle redirect messages from mmssrc properly. Fixes issue #385 .
2010-06-23 11:47:54 +00:00
David Sansome
c96e622897
Merge merge merge
2010-06-22 20:57:05 +00:00
John Maguire
15b8b90556
Implement native dock menu on Mac.
...
Fixes issue #349
2010-06-22 14:09:13 +00:00
David Sansome
c357b2d548
Use the same last.fm API for automatic and manual fetching
2010-06-22 13:54:07 +00:00
David Sansome
ad4229160e
Pedantry
2010-06-21 12:42:22 +00:00
David Sansome
1339ee860d
Don't need these symbols any more
2010-06-21 12:41:38 +00:00
David Sansome
ea52bbf3e2
Register the FTS3 tokenizer with a QSqlQuery, so it works even if we couldn't resolve the sqlite symbols.
2010-06-21 12:38:24 +00:00
John Maguire
b91a61c260
Tidy unicode length detection & add Cyrillic FTS test.
2010-06-21 12:07:56 +00:00
John Maguire
f544e28051
Fix FTS on Mac & Win.
2010-06-21 09:32:57 +00:00
John Maguire
614e031c20
Hopefully fix static sqlite, ie. Mac & Win.
2010-06-20 21:05:18 +00:00
John Maguire
379681157a
OCD
2010-06-20 20:59:54 +00:00
John Maguire
2f1a2fa9c7
More FTS tests.
2010-06-20 20:58:32 +00:00
John Maguire
abf79ca447
Tests and refactoring for FTS.
2010-06-20 20:51:57 +00:00
John Maguire
f989976d30
Some tests for the new FTS stuff.
2010-06-20 20:44:54 +00:00
John Maguire
59984c49ad
Tidy up a bit.
2010-06-20 20:07:32 +00:00
John Maguire
de4b889986
>.>
2010-06-20 20:05:01 +00:00
John Maguire
9f7803d964
The atrocity that is unicode-aware FTS.
...
Yes, this code is horrible. Maybe I'll fix it.
2010-06-20 19:46:51 +00:00
David Sansome
c701c49004
Don't try to register empty global shortcuts (avoids loads of warnings being printed to stderr)
2010-06-20 18:43:20 +00:00
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
David Sansome
c7d351f68a
Make it possible to wait for a background thread to start
2010-06-02 14:22:40 +00:00
David Sansome
e891543f42
Fix the encoding of composers and albumartists as well
2010-06-02 13:22:54 +00:00
John Maguire
f4385d4545
Detect cp866 & windows-1251 in "latin1" tags.
2010-06-02 12:31:40 +00:00
David Sansome
3dad151608
Undo part of r1004, thanks John
2010-05-31 21:24:54 +00:00
David Sansome
d760721f61
Make this all a bit more sane
2010-05-31 20:59:13 +00:00
David Sansome
99cea19994
Create engine_ in the initialisation list.
2010-05-31 20:51:29 +00:00
David Sansome
5d272a89ee
Codereview comment from r1000
2010-05-31 20:24:05 +00:00
David Sansome
3365c7c217
Fix a few memory leaks
2010-05-28 19:51:51 +00:00
David Sansome
2c9a29e226
Give this variable a default value so it doesn't get passed to QThread::start uninitialised
2010-05-28 18:42:11 +00:00
David Sansome
791534703c
Allow names for custom saved streams. Fixes issue #242
2010-05-27 22:53:07 +00:00
John Maguire
734d505eb7
Fix media key global shortcuts on mac.
...
Dave: *again* :-P
2010-05-27 13:21:05 +00:00
John Maguire
722981e71d
Stop streams on PlayPause.
2010-05-27 13:17:28 +00:00
David Sansome
c9c44ca592
Move the playlist parsers to another directory, and add a PlaylistParser class that magically uses the right parser.
2010-05-22 20:06:19 +00:00
David Sansome
98235eea03
Remember the ordering of playlists
2010-05-21 10:37:24 +00:00
David Sansome
119c6fbd6e
Refer to playlists by ID rather than index in the tabbar, so they can be moved around
2010-05-21 10:29:17 +00:00
David Sansome
1572124962
Seperate last played values for each playlist
2010-05-20 22:30:55 +00:00
David Sansome
e515724bf7
Basic support for multiple playlists. Not everything works yet
2010-05-20 21:21:55 +00:00
David Sansome
33614533d8
Fix playlist wrapping into a last.fm stream, for real this time.
2010-05-19 13:08:52 +00:00
David Sansome
a292677320
Refactor the way Player gets tracks to play from RadioPlaylistItems. They can now return synchronously with a URL, asynchronously via a signal, or with an error. This properly fixes the problem of preloading a last.fm stream when the track before is about to end.
2010-05-18 20:43:10 +00:00
John Maguire
af3f8bcdfe
Preload the next item in the playlist correctly when it's a radio station.
2010-05-18 14:30:55 +00:00
David Sansome
bb015ca3aa
Global shortcuts dialog should work now.
2010-05-17 11:06:50 +00:00
David Sansome
6806d78f96
Add a button to the global shortcuts dialog to open gnome's keybinding properties dialog.
2010-05-17 00:31:39 +00:00
David Sansome
84c8caea55
Automatically expand the nodes in the magnatune database when searching
2010-05-16 23:44:33 +00:00
David Sansome
bdc5d1ab1c
Make sure the OSD and album cover manager use a "no cover" image when there's no artwork
2010-05-16 22:53:42 +00:00
David Sansome
9694977b34
Don't pad images in the OSD
2010-05-16 22:41:01 +00:00
John Maguire
6794b67a2f
Fix LibraryModel tests.
2010-05-11 19:03:29 +00:00
John Maguire
ae233ada44
Use canFetchMore/fetchMore instead of nasty const_casts.
2010-05-11 18:17:41 +00:00
David Sansome
51446cbb88
Implement canFetchMore and fetchMore in MergedProxyModel
2010-05-11 18:01:30 +00:00
John Maguire
ff4eb346da
Fix mac build
2010-05-11 12:51:31 +00:00
John Maguire
5dd0a9c35f
Autodetect weird encodings in ID3v1 tags.
...
Fixes issue #254
2010-05-11 12:03:55 +00:00
David Sansome
72f5307524
Fix a little race condition
2010-05-10 22:47:14 +00:00
David Sansome
1aee5e4667
Split all the source files up into seven new directories.
2010-05-10 21:50:31 +00:00