Commit Graph

3766 Commits

Author SHA1 Message Date
David Sansome 9fae3881ed Add a new "Playlists" tab to the sidebar that contains all the playlists created by or imported into Clementine. The tab bar now contains only "open" playlists - closing a tab closes the playlist without deleting it.
Update issue 1811
Added a Playlists tree view to the sidebar.
2012-10-30 23:04:22 -07:00
David Sansome 885d98b5f0 Remove the SpecialPlaylistType class, it hasn't been used since Spotify and Grooveshark search results went into the sidebar tree. 2012-10-30 22:53:09 -07:00
John Maguire 6cadc9321d Remove legacy config file migration code for mac. 2012-10-29 12:47:59 +00:00
John Maguire 7fc733fca1 Fix compiling on Snow Leopard. 2012-10-29 12:47:03 +00:00
Clementine Buildbot 0bfdbce64f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-10-29 10:01:44 +01:00
David Sansome 2302b80d52 Fix some style issues 2012-10-27 16:30:13 -07:00
Tony Motakis 09580b6df2 Various artists node now will appear in any GroupBy level
With this patch, compilations will be grouped under Various artists not
only when Artist is used as the top most Group By setting, but also in
lower levels as well. For example the user can set the top level Group By
to 'Genre' and still get compilations organized separately under each genre
when using Artist or AlbumArtist for the second nested Group By level.

Fixes issue 2757
2012-10-27 16:30:13 -07:00
Tony Motakis 25685e7cba Postpone CreateCompilationArtistNode() until PostQuery()
With the previous patch the Various artists node creation is oved to
RunQuery, which means that a later call to BeginReset() will delete it.
In this patch, we keep the logic deciding whether we need the node in
RunQuery(), but postpone the actual creation until PostQuery().
2012-10-27 16:30:10 -07:00
Tony Motakis 207225d620 HasCompilations() implementation local to the LibraryModel
Instead of relying on the backend to provide us with the information
of whether there are compilations in the whole of the library, we instead
look into the query we are currently working with for compilations. This
way we can be as granular as we want in the future.

This also means we now have to add the Various artists node at the time we
do the query with RunQuery() instead at BeginReset().
2012-10-27 16:30:08 -07:00
Tony Motakis 14eca258a2 Refactor duplicate code in LazyPopulate and ResetAsync
There is no reason why these need to reimplement the same thing;
put the common functionality in RunQuery() and PostQuery() and re use
the code. Less code paths to keep track of make it easier to implement
new features and fixes.
2012-10-27 16:30:05 -07:00
John Maguire f6d2564bf5 Use std::mem_fun instead of boost::bind where it makes sense. 2012-10-25 16:32:19 +02:00
John Maguire d2bb2d7ac8 Stop using deprecated UpdateSystemActivity() on mac. 2012-10-24 16:45:00 +02:00
John Maguire 27f60c281e Set the user agent for gstreamer HTTP streams. 2012-10-23 17:34:58 +02:00
John Maguire 587e9702d7 Never cache get file requests for Google Drive as the downloadUrl needs to be up to date. 2012-10-23 16:12:58 +02:00
Clementine Buildbot 8223c0996f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-10-22 10:03:01 +02:00
John Maguire f8b08616e8 remove obsolete connect 2012-10-16 12:22:42 +02:00
David Sansome 41d8c61e0d Let nyanalyzer cat nap inbetween songs 2012-10-16 21:20:56 +11:00
Arnaud Bienner 60f22f5594 Revert revision 42fb7f9b42.
Was generated SIGABRT while exiting Clementine, when calling ServiceDeleted SLOT, because of an assert in moc_internetmodel.
Seems that the receiver (so the parent) of the created Closure object isn't the same at the beginning (InternetModel) and when the Closure::Invoked method is called (QObject).
Reverting this until I can figure out what is going wrong.
2012-10-15 23:03:01 +02:00
Arnaud Bienner 95ce26a556 Remove now obsolete connect in GS service 2012-10-15 22:06:16 +02:00
John Maguire bfc33967be Remove obsolete connect(). 2012-10-15 16:26:44 +02:00
John Maguire 1abd9c3821 Fix the types of some MPRIS metadata fields. 2012-10-15 11:40:18 +02:00
Clementine Buildbot 1cec34b1f6 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-10-15 10:02:53 +02:00
Arnaud Bienner b9606d8a06 Ignore GS search's result if it's not the last one 2012-10-14 23:27:45 +02:00
John Maguire 8eb787a2eb Add missing include. 2012-10-12 14:54:47 +02:00
John Maguire f292a3bf98 Port musicbrainz client to closures. 2012-10-12 14:36:14 +02:00
John Maguire aa7b22c103 Port last.fm service to closures. 2012-10-12 14:31:31 +02:00
John Maguire ddf380aa05 Port acoustid client to closures. 2012-10-12 14:25:04 +02:00
John Maguire 42fb7f9b42 Port InternetModel to closures. 2012-10-12 14:18:47 +02:00
John Maguire ff86e07a4b Port IcecastService to closures. 2012-10-12 14:12:19 +02:00
John Maguire ce9d790833 Port DigitallyImported to closure. 2012-10-12 13:52:20 +02:00
John Maguire e8f4496fea Port last.fm cover provider to closures. 2012-10-12 13:49:09 +02:00
John Maguire 16fe238d98 Port remaining calls in GroovesharkService to closures. 2012-10-12 13:43:55 +02:00
John Maguire d6b2fc79f5 Port a few more things to closures. 2012-10-12 12:38:12 +02:00
John Maguire 20196edcac Ooops. 2012-10-11 16:18:14 +02:00
John Maguire d674d9ecf7 Implement MediaPlayer2.Playlists from MPRIS2.
Fixes issue #3194
2012-10-11 15:38:51 +02:00
John Maguire 4de0b93305 Add Fullscreen/CanSetFullscreen properties for MPRIS 2.2 2012-10-11 13:45:42 +02:00
John Maguire e5760815a1 Generate sensible names for covers returned from Musicbrainz. 2012-10-11 12:24:41 +02:00
John Maguire 4d9e102bbd Add missing include. 2012-10-10 14:59:39 +02:00
John Maguire a56947e356 Add support for new musicbrainz cover art archive.
See: http://blog.musicbrainz.org/?p=1616
2012-10-10 14:45:13 +02:00
Michael Niggli 4cd0e2b232 Use numerical comparisons in playlist filter when appropriate.
Update issue #3184
Committed with some style fixes.
2012-10-10 11:35:53 +02:00
John Maguire a1361dfa7e Enable fullscreen support for OS X 10.7+
Fixes issue #2329
2012-10-09 14:56:17 +02:00
Clementine Buildbot afd2ee2cdb Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-10-08 10:02:51 +02:00
John Maguire 07abe82ef3 Add a cover manager for the Google Drive library. 2012-10-01 16:39:58 +02:00
Clementine Buildbot a7ca176d31 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-10-01 10:03:04 +02:00
David Sansome 701822dec2 Support :!= and :<> in the playlist filter box, and allow filtering on ratings using < and >. Fixes issue 3184 2012-09-29 07:42:30 +10:00
John Maguire bb710ed2ef Remove some excessive debug messages for Grooveshark. 2012-09-27 13:51:16 +02:00
John Maguire 41e2336bdf Fix focus and tab order for console. 2012-09-26 18:56:48 +02:00
John Maguire a934c75f18 Automatically scroll to the bottom of the console. 2012-09-26 18:56:48 +02:00
John Maguire 8887460cc7 Add a simple database console. 2012-09-26 18:56:48 +02:00
John Maguire 896a8739e9 Maybe fix mac build. 2012-09-26 18:12:14 +02:00
John Maguire 606bf71208 Disable automatic conversions to QUrl from strings. 2012-09-26 17:09:13 +02:00
John Maguire f98f1ff6df Fix Qt 4.7 compilation. 2012-09-26 12:38:55 +02:00
John Maguire 6dbd0baafc Remove conditional code for Leopard. 2012-09-26 12:38:32 +02:00
John Maguire b6276d53cf Use UI language where available instead of system language.
Fixes issue #3175
2012-09-26 12:05:43 +02:00
Arnaud Bienner c2723008a2 Blacklist all NVidia drivers 2012-09-24 20:54:46 +02:00
Clementine Buildbot 6a0cee9cd2 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-09-24 10:03:16 +02:00
David Sansome 6dee2d5e4f Merge branch https://code.google.com/r/olafc81-fork/
Fixes issue 3164
2012-09-23 21:46:07 +01:00
Arnaud Bienner f51ac3f970 Actually check if a file exists to know if it's local or not (therefore set the scheme to "file" therefore interpret it correctly in SongLoader)
URLs with ":" were sometimes wrongly interpreted as remote URLs. But some local files may have ":", and moreover on Windows all files have ":" because of the drive letter scheme.
2012-09-17 20:47:57 +02:00
Clementine Buildbot 49e3400545 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-09-17 10:02:56 +02:00
Olaf Christ 21da34bf8c Soma.Fm: Improved playlist handling (copied from DI.fm handler) 2012-09-16 19:53:58 +02:00
John Maguire 5ddabb4b76 Remove use of functions deprecated in Mountain Lion. 2012-09-13 16:24:45 +02:00
John Maguire 340e6dabce Use notification center on OS X when available. 2012-09-13 16:15:28 +02:00
John Maguire 0fae2e1ae1 Add support for Apple code signing.
Use -DAPPLE_DEVELOPER_ID="<Certificate Common Name>"
2012-09-10 11:02:54 +02:00
Clementine Buildbot 024ec6a24b Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-09-10 10:02:51 +02:00
Michael Niggli 96654efd3f Delay queries on large playlists.
Fixes issue 3148
2012-09-09 00:35:50 +02:00
John Maguire 27975c7a16 Separate out spotify blob downloader into a new optional component. 2012-09-03 17:38:07 +02:00
Clementine Buildbot a73e3a4122 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-09-03 17:10:46 +02:00
Arnaud Bienner c16e46e41a Remove useless connect from unexisting SoundClouse service SIGNALs.
From copy/pasted code :/
2012-09-01 00:45:07 +02:00
Arnaud Bienner 567274e9d3 Set current index to the item we have actually selected if no valid/playable indexes were selected 2012-09-01 00:41:31 +02:00
Arnaud Bienner 04c4d97930 Play the first item of the result list when pressing "Enter" in global search 2012-09-01 00:29:31 +02:00
Arnaud Bienner 09596e3732 Don't get stuck when exiting Clementine while library is being created/updated 2012-08-30 00:01:28 +02:00
David Sansome c4ae0209c6 Codereview comments from revision cd6b1a2d7c 2012-08-29 20:53:24 +01:00
Michael Niggli cd6b1a2d7c Support logical operators in the playlist filter box. Fixes issue 700 2012-08-28 23:29:15 +01:00
Arnaud Bienner 369ff5c5e0 Set default current tab to 'Libray' instead of the first one, which is now 'Search' 2012-08-28 18:17:57 +02:00
David Sansome 5940b0ead1 Make SongKick results a bit prettier 2012-08-27 12:25:33 +01:00
David Sansome a7ba3ab927 Don't show the SongKick results pane if there aren't any concerts. 2012-08-27 12:25:33 +01:00
Clementine Buildbot f9f7bd7113 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-08-27 10:02:52 +02:00
David Sansome 1e89fc5bf4 Remove a non-const reference 2012-08-26 14:22:38 +01:00
David Sansome acbf21be07 Fix a cue parser bug where songs starting after 99 minutes wouldn't be loaded. Fixes issue 1658 2012-08-26 13:56:11 +01:00
Ilya Kasnacheev 682acad53f Preserve the current song in the library view when filtering. Fixes issue 2936 2012-08-26 13:36:44 +01:00
Anand 1aec4a4c7f When pressing the Previous button in Repeat Track mode, go to the previous track instead of repeating the current one. Fixes issue 2897 2012-08-26 13:11:28 +01:00
David Sansome 75a057a47d Handle URL QVariants properly when displaying filenames in the playlist view. Fixes issue 3127 2012-08-26 12:24:16 +01:00
David Sansome 78d473512d Disable the google drive login button after starting the browser, re-enable it again when the user comes back to the Clementine window. 2012-08-24 21:33:33 +01:00
David Sansome 7ca7ecbe99 When the user opens the Google Drive section for the first time, open the settings dialog to prompt them to login instead of opening a browser to start OAuth straight away. Also fix a bug where the user's email address would be lost on subsequent authentications. 2012-08-24 21:26:10 +01:00
David Sansome 252f1e38d8 Add a context menu to google drive items 2012-08-24 19:33:05 +01:00
John Maguire 4719a347fa Blacklist nvidia driver 304.37
Fixes issue #3115
2012-08-23 12:07:16 +02:00
David Sansome edb57e1b92 Add a constructor to DBusStatus to fix a build failure in release mode. 2012-08-20 10:28:29 +01:00
Clementine Buildbot 78a326b00e Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-08-20 10:02:54 +02:00
David Sansome 4ec6da0570 Track google drive login state better: show the user's email address in the settings dialog and let him sign out. Also remove the drive folder model which wasn't used yet because uploads aren't done. 2012-08-17 21:50:54 +01:00
David Sansome 6fca8b1c3d Fix some possible crashes when requesting MPRIS data during Clementine's startup 2012-08-17 14:41:57 +01:00
John Maguire 0b97b8c74b Re-authenticate to Drive when token expires. 2012-08-17 14:44:28 +02:00
John Maguire 3e696be0d0 Remove Twitter integration as the API now requires authentication which
makes no sense for us.
2012-08-17 11:04:14 +02:00
John Maguire b9278c6c8b Merge branch 'drive' 2012-08-13 16:04:38 -07:00
Clementine Buildbot da96fbf12a Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-08-13 10:02:49 +02:00
John Maguire 9ce8cf59d6 Make sure Google Drive is connected when converting URLs. 2012-08-10 11:46:26 -07:00
Arnaud Bienner 57d3dfc96e Add source icons for JazzRadio and SoundCloud 2012-08-09 22:36:39 +02:00
John Maguire a55cbc838f Merge branch 'master' into drive 2012-08-09 12:59:09 -07:00
Arnaud Bienner 1cb0869970 Clean GS pending requests when removing items, and don't try to modify non-existing items when receiving obsolete replies. Fix a crash when user tries to refresh GS items before every reply has been received 2012-08-09 00:51:00 +02:00
Arnaud Bienner e545b6d71b Merge branch 'soundcloud' 2012-08-09 00:17:05 +02:00
Arnaud Bienner 26908ed718 Add simple context menu to soundcloud items 2012-08-09 00:16:16 +02:00
Arnaud Bienner f13e7d1e69 Ooops... actually search for the good text in soundcloud global search 2012-08-08 23:52:59 +02:00
Arnaud Bienner 9b8f5892af Set soundcloud tracks' artist field with username value.
Sounds better than "Unknown", but not perfect...
2012-08-08 23:50:20 +02:00
Arnaud Bienner 2bf84f77d9 Add soundcloud in the global search 2012-08-08 23:23:49 +02:00
David Sansome 9a9910a464 Add support for JAZZRADIO.com
Fixes issue 3099
2012-08-08 20:32:11 +01:00
David Sansome 1fe1a9def3 Set the qtsparkle language on startup 2012-08-08 19:16:23 +01:00
John Maguire c5b74c832e Add tasks for indexing Google Drive songs. 2012-08-06 14:00:54 +02:00
John Maguire a3f9947444 Merge branch 'master' into drive 2012-08-06 13:26:11 +02:00
Clementine Buildbot 0943b66da2 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-08-06 10:02:49 +02:00
Arnaud Bienner e69c932577 Update issue 2540
Add basic SoundCloud support.
However, only search in internet tab + listen is done for now.
We should at least add soundcloud in global search.
2012-08-04 15:21:44 +02:00
Arnaud Bienner c8b145c8b6 Remove useless code in groovesharkservice 2012-08-04 00:38:18 +02:00
David Sansome 88d4e533b4 Enable horizontal scrolling in the Transcode dialog so the user can see the whole path.
Fixes issue 3081
2012-08-01 20:51:44 +01:00
David Sansome 0459cbf9f0 Add a clear button to the Transcode Music log dialog.
Fixes issue 3082
2012-08-01 20:48:05 +01:00
John Maguire 94878b4bd2 Slightly hacky support for AAC on Google Drive. 2012-07-31 17:57:17 +02:00
John Maguire fc61f0627f Filter out trashed/hidden folders on the server. 2012-07-31 15:25:49 +02:00
John Maguire e06ae8a282 Support reading OGG & FLAC files from Google Drive. 2012-07-31 15:18:14 +02:00
John Maguire 06f7acd96b Ship some GIO modules on Mac so HTTPS works correctly. 2012-07-30 17:52:21 +02:00
John Maguire 23a255d0cf Ship some GIO modules on Mac so HTTPS works correctly. 2012-07-30 17:51:45 +02:00
Clementine Buildbot 7275cb4b27 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-07-30 10:02:34 +02:00
Arnaud Bienner e6d76a72a5 Add "append to/replace/... playlist" and "Configure" actions to Spotify items. 2012-07-29 20:12:16 +02:00
David Sansome fd1d70c644 Add a directory model for selecting a default upload directory on Google Drive. 2012-07-29 15:06:23 +01:00
Alan Briolat 6a049d7e50 Revert "Accept self-signed certificate in https:// stream"
This reverts commit 6c8d1b25b7.
The fix only applies when neonhttpsrc is being used, which only
happens if gstreamer-bad-plugins is available without
gstreamer-good-plugins.
2012-07-29 03:30:01 +01:00
Arnaud Bienner 82a3c84bf6 Create the playlistiem_actions separator only once (to avoid a memory leak introduced in revision a38be50b0058: as the actions are supposed to be owned by the internet service, the separator action added in main window wasn't deleted). 2012-07-29 03:11:00 +02:00
Arnaud Bienner 11f6bdeeb2 Add a more descriptive text for "Remove duplicates" action, and display it in the same way in the Playlist menu and the playlist item right click menu. 2012-07-29 02:38:24 +02:00
Arnaud Bienner a38be50b00 Add a separator after custom playlist item' actions 2012-07-29 02:20:15 +02:00
Arnaud Bienner b08172138a Add a new PlayBehaviour (MultiplesItems) for loading playlits' songs by drag'n'drop for Internet services.
Use it for Spotify and Grooveshark.
2012-07-29 01:35:05 +02:00
David Sansome 9653a45f66 Read Google Drive metadata in the tagreader worker process 2012-07-28 19:35:12 +01:00
David Sansome 165cec1e86 Move some of the Google Drive bits out into a separate client class. 2012-07-28 17:18:03 +01:00
Alan Briolat 92c15f3a5a Merge remote-tracking branch 'upstream/master'
Fixed SubsonicService for new InternetService signature.

Conflicts:
	data/data.qrc
	src/ui/settingsdialog.cpp
	src/ui/settingsdialog.h
2012-07-28 14:10:42 +01:00
Alan Briolat a62b7752ad Recursive UserPlaylist adding, subsonic uses UserPlaylist for folders 2012-07-28 13:13:48 +01:00
Alan Briolat 6c8d1b25b7 Accept self-signed certificate in https:// stream 2012-07-28 13:13:48 +01:00
David Sansome 51631169fa Show a nicer success page when oauth is complete. 2012-07-27 18:59:03 +01:00
John Maguire f48383c73e Index Google Drive MP3s and write to local database. 2012-07-27 16:04:12 +02:00
John Maguire 49326981c3 Make Google Drive option available as #define. 2012-07-27 10:25:45 +02:00
David Sansome 73062bce3d Make Google Drive support optional and add a cmake option for it 2012-07-26 21:23:31 +01:00
John Maguire 1031482024 Refresh oauth token when possible to avoid reauthenticating with Drive
all the time.
2012-07-26 16:55:59 +02:00
John Maguire ecf7998f1c Add URL handler for googledrive URLs and fetch a new temporary
download URL for every play.
2012-07-26 16:35:57 +02:00
John Maguire 4a629e636b Cache taglib Drive requests in a google::sparsetable.
Requires sparsehash.
2012-07-26 16:15:19 +02:00
John Maguire bda3d0e033 Hacky support for reading tags from MP3s on Google Drive.
Requires TagLib 1.8
2012-07-26 11:36:07 +02:00
John Maguire 0c861da7a9 Almost working tagging from stream. 2012-07-25 17:57:50 +02:00
John Maguire 517252ccc1 Merge branch 'master' into drive
Conflicts:
	data/data.qrc
2012-07-25 15:36:57 +02:00
Clementine Buildbot 3ad9a3ce20 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-07-23 10:02:43 +02:00
Arnaud Bienner 13daaf7106 Don't show the search box for GS and Spotify if user isn't logged in 2012-07-21 20:15:36 +02:00
Arnaud Bienner 63c42503c6 Fix non-ending task in GS which may happen if the user log out (or is logged out because session became invalid) 2012-07-21 19:39:37 +02:00
Arnaud Bienner 07c7bd9bb2 Sort GS MyMusic songs by names, like other playlists 2012-07-21 18:47:18 +02:00
Arnaud Bienner 9a392692dd Add missing const 2012-07-21 18:31:08 +02:00
Arnaud Bienner 77c6199dd9 Add GS 'My Music' support.
Fixes issue 2609
Retrieving and removing songs works well :)
Adding songs doesn't work :(
2012-07-21 18:09:16 +02:00
David Sansome 0a4b6aec5c Fix a crash on exit when gnome accessibility bits are enabled. 2012-07-17 18:52:12 +01:00
Clementine Buildbot de74c3f3a2 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-07-16 10:02:45 +02:00
Arnaud Bienner 16fde37bac Remove Grooveshark and Spotify search playlist: we don't use them anymore since we can search on these services through the Internet tab 2012-07-16 00:27:43 +02:00
Arnaud Bienner 0e3dc5a8be Add new ConcurrentRun templates for void functions, and functions with 3 arguments + corresponding test cases.
+ SongLoader now has its own QThreadPool to load folders/playlist in background.
Update issue 2598
This should fix slowliness problems reported.
2012-07-16 00:06:55 +02:00
David Sansome f1117231e2 Increase the size of the moodbar cache to 60MB. Fixes issue 3052. 2012-07-15 17:17:17 +01:00
Clementine Buildbot 3fbf65f679 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-07-15 16:22:21 +02:00
David Sansome df25f6291f On Windows, don't activate the pretty OSD when it is first shown and
don't show it in the taskbar.
2012-07-15 14:46:00 +01:00
David Sansome ed5b1d787b Remove the tooltip flag on the pretty OSD on Windows, to remove the
drop-shadow that was added to tooltip windows in Qt 4.8
(QTBUG-13276).  Fixes issue 3017.
2012-07-15 13:23:14 +01:00
David Sansome 2035c3e7f5 Fix a bug where dragging songs to the bottom of the playlist would actually move them back to the top. 2012-07-15 12:51:19 +01:00
David Sansome de782c980d Ignore custom playlist row colours for the currently playing item - they might clash with the glowing current track indicator. Fixes issue 3042. 2012-07-15 12:44:53 +01:00
David Sansome 73792668eb Check for the length of a track being <= 0 instead of == 0 when seeking. 2012-07-15 12:17:44 +01:00
Arnaud Bienner 7f89e8832e When loading songs aync, always load the first song of our list, as it may be played immediately once added to the playlist
Fixes issue 2598
2012-07-14 00:53:42 +02:00
Arnaud Bienner 3b50ed8953 Clear playlist search field when Esc is pressed 2012-07-14 00:00:16 +02:00
John Maguire 83f1aa9252 Copy the character that triggered a search box focus into the search box. 2012-07-12 19:09:03 +02:00
John Maguire 0443232ecd Use backwards-compatible boost random types. 2012-07-12 17:07:13 +02:00
John Maguire dbf9970c76 Add suggestions from Spotify starred & top 100. 2012-07-12 16:35:09 +02:00
John Maguire 145f1efaf5 Basic support for Google Drive & OAuth. 2012-07-12 14:09:20 +02:00
John Maguire 6b87318710 Revert "Typedef QSearchField to old LineEdit on non Mac, and make it compatible with QSearchField"
This reverts commit 59517f5b4e.

Update issue 3047
Status: Accepted
Breaks the mac build. We should do a proper fix for this.
2012-07-12 14:04:29 +02:00
David Sansome 497928d693 Don't try seeking a song if there's no song playing, or the song isn't seekable.
Fixes issue 3041
2012-07-10 15:00:47 +01:00
Arnaud Bienner 59517f5b4e Typedef QSearchField to old LineEdit on non Mac, and make it compatible with QSearchField
Fixes issue 3047. (for now)
2012-07-10 00:44:05 +02:00
John Maguire 0558c7bf69 Fix build for Qt < 4.7 2012-07-09 11:34:47 +02:00
cornicis dcab14e5fe added removeDuplicateSongs() function to playlist.cpp and added this action to the playlist-menu
Fixes issue #21
2012-07-06 11:46:04 +02:00
Arnaud Bienner c57f58862f Forward some events from QSearchField's internal lineEdit to QSearchField, so we can be aware of some events (like getting/losing focus).
Implemented for non-mac; something certainly still needs to be done for Mac
2012-07-02 00:49:37 +02:00
Arnaud Bienner 124d4e6a59 Always display "did you mean" widget in top of all windows.
Also, update its width to the text it should displayed
2012-07-01 23:55:54 +02:00
John Maguire 905ef90882 Add missing header. 2012-06-29 17:06:47 +02:00
John Maguire 20b11961f9 Set the max size of the DeviceManager thread pool to 1. 2012-06-29 16:58:30 +02:00
John Maguire 58a3a6831a Move loading of devices from the database onto a different thread. 2012-06-29 16:56:17 +02:00
Arnaud Bienner 70429217c6 Search on Spotify on the left/Internet tab directly, instead of Spotify magic playlist (like for Grooveshark)
- Next step: fix the "did you mean" widget which is visible to user when displayed
2012-06-28 23:57:51 +02:00
David Sansome abe8d10b9c Add a compatibility header so liblastfm and liblastfm1 can both be used with the same source. 2012-06-28 18:40:20 +01:00
Harald Sitter 769baa5c16 Use liblastfm1 2012-06-28 18:40:20 +01:00
John Maguire 4506c71ac8 Fix missing placeholder text in internet search widget. 2012-06-28 14:32:39 +02:00
John Maguire b01a0de8d6 Re-enable a few disabled features from the Qocoa porting. 2012-06-28 12:35:20 +02:00
John Maguire e928ac0349 Support selectAll() in QSearchField. 2012-06-28 12:27:32 +02:00
John Maguire 20d740f385 Port global search & album cover search to QSearchField and remove MacLineEdit. 2012-06-28 11:40:13 +02:00
John Maguire 35a7c7284b Fix placeholder text in library & icecast filters. 2012-06-28 11:40:09 +02:00
John Maguire 6208373b86 Port search field in AlbumCoverManager to QSearchField and add support for placeholder text. 2012-06-28 11:40:05 +02:00
John Maguire f97fe9c69b Mostly port LibraryFilterWidget to qocoa. 2012-06-28 11:39:59 +02:00
John Maguire c415db1524 Port searchboxwidget to qocoa. 2012-06-28 11:39:55 +02:00
John Maguire 53998ee976 Use qocoa for icecast filter. 2012-06-28 11:39:49 +02:00
John Maguire 569c8295db Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00
Arnaud Bienner c7aca6335d Factorize some code for creating song item in Grooveshark and Spotify 2012-06-27 21:19:30 +02:00
Arnaud Bienner 3c5e91ce84 Remove action for opening GS search playlist 2012-06-27 21:19:04 +02:00
Arnaud Bienner a57e2be7ec Don't sort GS popular songs by name as they are already sorted by popularity 2012-06-27 18:44:17 +02:00
Arnaud Bienner 5fc0e1e354 Correct define guard's name 2012-06-27 02:09:19 +02:00
Arnaud Bienner 91930d470e Correct bad indentation 2012-06-27 02:04:05 +02:00
Arnaud Bienner b49c3db6e0 Sort retrieved GS songs only in some cases.
Indeed, even it makes sense sometimes (e.g. for playlists) it doesn't make sense at all for search results...
Make the sorting function part of Song.
2012-06-27 01:55:51 +02:00
Arnaud Bienner ac936c5374 Search on Grooveshark on the left/Internet tab directly, instead of Grooveshark magic playlist.
Next steps:
- add GS albums search on the left tab
- do the same for Spotify if it's convincing enough
- clean-up magic search playlists
2012-06-27 01:21:57 +02:00
Arnaud Bienner 2fe212e68b Display item's tooltip if it has one 2012-06-27 00:57:31 +02:00
Clementine Buildbot f87bbb9057 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-06-25 10:02:50 +02:00
David Sansome 33e1a61ee4 Increase the maximum number of results from a search provider 2012-06-24 21:14:40 +01:00
David Sansome 3ec22e3cc6 When getting children of global search results for adding to the playlist, get them through the proxy model to maintain their order. 2012-06-24 21:08:33 +01:00
David Sansome 1c338455c3 Add missing copyright headers 2012-06-23 11:31:48 +01:00
John Maguire 09d37aaa01 Add OVERRIDE macro like Java's @Override. 2012-06-20 16:49:41 +02:00
John Maguire 0827865804 Decode HTML entities in tweets. 2012-06-20 15:16:56 +02:00
John Maguire 74fe419659 Factor out metatype registration. 2012-06-20 15:07:28 +02:00
John Maguire 0d5d1dbad1 Filter out songkick concerts that are too far away. 2012-06-20 14:13:15 +02:00
John Maguire 86cced782e Add geolocator. 2012-06-20 14:13:15 +02:00
John Maguire ba95cc7788 Move the setting of the gstreamer environment variables into main() to avoid a race condition where the spotify blob would start up before the gstreamer initialisation happened in the main process and thus would try and load the system gstreamer plugins. 2012-06-20 11:19:34 +02:00
Arnaud Bienner 4ac867ca37 Alphabetical order in fwd-decl 2012-06-19 23:32:15 +02:00
Arnaud Bienner a8ce1ba17b Use InternetSongMimeData in global search when possible (i.e. for search providers which have an Internet service) 2012-06-19 23:25:15 +02:00
David Sansome 45104adca9 Change the Jamendo logic a bit:
Instead of prompting the user to download the catalogue when the library
backend is initialised (which is now always), only do it when the service
node in the InternetView is expanded, or the global search provider is enabled.

Fixes issue 3009
2012-06-19 21:07:58 +01:00
David Sansome f95afa4cb3 Check whether .cue files exist instead of assuming Qt will return an invalid datetime for non-existent files. 2012-06-19 20:28:10 +01:00
John Maguire 5280038f9a Remove unused debug #define. 2012-06-18 13:56:56 +02:00
Clementine Buildbot ef8e5267ab Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-06-18 10:02:48 +02:00
David Sansome 413f3b5186 Scale the missing cover image in the Edit Tag dialog, and don't overwrite the art_automatic field when reloading metadata. 2012-06-17 16:55:19 +01:00
David Sansome 57865f82c2 Make the grouping of global search results configurable 2012-06-17 16:20:40 +01:00
David Sansome 3e410021a5 Add an "Open OPML file" button to the Add Podcast dialog 2012-06-16 22:58:33 +01:00
David Sansome 45a8b3af59 Fix some remaining UI issues with global search:
- Add a "Configure global search" item to the context menu, and show the
    context menu when right clicking in the help screen as well.
  - Don't crash when nothing is selected.
  - Add Ctrl+F and Ctrl+L shortcuts to focus the search field.
  - Switch to the search tab when clicking one of the tags in Artist Info.
2012-06-16 21:26:06 +01:00
David Sansome b427fc8a24 Merge branch 'globalsearch-tree'
Fixes issue 2238
Fixes issue 2241
Fixes issue 2368
Fixes issue 2375
Fixes issue 2843
Fixes issue 2872
Fixes issue 2938
2012-06-16 21:24:29 +01:00
David Sansome 21fbd40f9f Don't try to initialise the library model until after the grouping settings have been read from the config. Fixes issue 3005 2012-06-16 20:54:08 +01:00
David Sansome b9bb449651 Use the first visible column when dragging+dropping within the playlist, instead of column 0 which may be hidden
Fixes issue 2879
2012-06-15 10:18:38 +01:00
David Sansome d6a8f4e15c Prepend the episode date to the filename when downloading podcasts, and append a numeric suffix until we find a unique filename.
Fixes issue 2997
2012-06-14 17:07:21 +01:00
David Sansome 404deff537 In RedirectFollower, don't emit readyRead() from replies that contain a redirect header. Fixes issue 3000 2012-06-14 13:50:49 +01:00
John Maguire 4da488d6f0 Force native windows on OS X to mostly fix focus issue with NSSearchField.
See QTBUG-11401.
2012-06-13 15:50:58 +02:00
David Sansome 5e685b2b14 Don't treat @ characters as separators in the LINGUAS cmake option. Fixes issue 2999 2012-06-13 09:58:37 +01:00
John Maguire afd42118f1 Support toplists in the ui. 2012-06-12 15:53:23 +02:00
David Sansome 0b754b9b66 Handle various artists properly in the global search tree, and make pressing Esc in the results list put the focus back on the search box 2012-06-11 21:06:26 +01:00
David Walluck 7aaf6dc920 Read the REM DATE and REM GENRE fields from cue files.
Fixes issue 1482
2012-06-11 19:22:03 +01:00
David Sansome 7b4ff1d2ee Update the Search settings page, use the configured provider order 2012-06-11 16:26:33 +01:00
John Maguire b237d436d1 Remove obsolete code for unicode sqlite LIKE. 2012-06-11 12:05:31 +02:00
Clementine Buildbot 3aea8d6308 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-06-11 10:03:08 +02:00
David Sansome 9d6b72b4ab Add global search suggestions 2012-06-10 23:05:30 +01:00
David Sansome fe4e214a78 Read the pretty cover setting explicitly instead of relying on LibraryView reading it first. Make the URL provider set a title on its results 2012-06-10 22:08:00 +01:00
David Sansome c163046e6f Add a context menu, and up, down, enter and escape key handlers 2012-06-10 21:56:17 +01:00
David Sansome f000bd9242 Support dragging items from the global search view into the playlist 2012-06-10 21:27:00 +01:00
David Sansome 97b4298002 Split some bits of GlobalSearchView into a GlobalSearchModel 2012-06-10 21:11:55 +01:00
David Sansome c9745bca5d Use a common LoadTracks implementation for most search providers 2012-06-10 20:55:51 +01:00
Arnaud Bienner 27df80b643 Add a tooltip to the monoplayback checkbox, because currently changing this property don't apply to the currently playing song, but to the next songs which will be played 2012-06-10 21:50:50 +02:00
David Sansome 99463215bf UI tweaks to the global search help page 2012-06-10 20:14:16 +01:00
David Sansome 6e41a20e61 Add a helpful message to the Search view when no query has been entered 2012-06-10 19:00:51 +01:00
David Sansome b669dd64fa Search simple providers properly, use the bigger album cover icon, disable the divider items, align the dividers' icons properly 2012-06-10 17:36:40 +01:00
David Sansome 41fab25569 Auto-expand tree items and lazy load album cover art 2012-06-10 17:15:32 +01:00
David Sansome 9c36cfa199 Replace the global search widget with a "Search" view on the sidebar. Organise results in a tree automatically. 2012-06-10 16:36:15 +01:00
David Sansome 5984aecbb8 Make the spotify blob send 5 seconds of audio ahead of the clock time to fill up Clementine's buffer when starting playback. Fixes issue 2671 2012-06-09 17:52:39 +01:00
Robbert Krebbers 3b186c698d Allow playlist sorting and shuffling to be undone. Fixes issue 654.
Also:
  - When sorting a dynamic playlist, only songs after the currently playing track are sorted.
  - When moving songs in a dynamic playlist, recolor them if moved across the current track.
  - When playing a future song in a dynamic playlist, move it to the current location.  Fixes issue 1140
2012-06-09 14:33:51 +01:00
David Sansome 69980c80da Use g_signal_parse_name instead of g_signal_lookup in CheckedGConnect to support connections that look like "signal-name::detail". Also use qFatal() instead of Q_ASSERT(0). 2012-06-09 14:23:21 +01:00
John Maguire cbc650f44b Use CHECKED_GCONNECT instead of g_signal_connect everywhere. 2012-06-08 15:34:00 +02:00
John Maguire 80ab12aeff More concise checking of callback param counts. 2012-06-08 15:13:23 +02:00
John Maguire ae4898655d Add support to gsignal checker for more parameters. 2012-06-08 14:30:31 +02:00
John Maguire 2da6c40fb5 Add runtime checker for gsignal callback arguments. 2012-06-08 14:27:38 +02:00
John Maguire 9dd4f31795 Use libspotify 12.1.45.
Fixes issue #2972
2012-06-07 12:35:24 +02:00
Patrick Stewart fd35ce8b5d When listing devicekit devices, include drives that only contain a single partition (with no partition table).
Fixes issue 1508
2012-06-05 18:42:11 +01:00
Norman Back 704c87b267 Use hidden album art images when scanning the library
Fixes issue 2973
2012-06-05 18:42:11 +01:00
David Sansome 72ba6b34a6 Prevent a possible divide-by-zero error when generating the moodbar 2012-06-05 18:42:00 +01:00
David Sansome 00e69c341e Fix a crash when switching between playlists while moodbars are loading 2012-06-04 19:13:41 +01:00
John Maguire c62e996607 Fix come compile warnings from Clang 3.1 2012-06-04 17:44:01 +02:00
John Maguire 2aafdf06e0 Fix QNetworkReply leak. 2012-06-04 15:00:10 +02:00
John Maguire 1f836d8e29 Merge branch 'songkick'
Conflicts:
	data/data.qrc
	src/songinfo/artistinfoview.cpp
2012-06-04 14:41:47 +02:00
John Maguire 8452c5428e Load images from Google Maps API for Songkick concerts. 2012-06-04 14:40:08 +02:00
John Maguire 0bacedf465 Parse SongKick results and generate some simple HTML. 2012-06-04 14:06:43 +02:00
Clementine Buildbot d24f798f35 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-06-04 10:02:41 +02:00
David Sansome 27a4bd426e Cache album art in the library model between resets (to prevent flickering when filtering), and don't load art for the same album multiple times.
Fixes issue 2528
2012-06-02 14:52:30 +01:00
David Sansome 150d5a124a Fix a crash and a never-ending task when expanding the Grooveshark item for the first time with an invalid or expired session. 2012-06-02 13:21:56 +01:00
David Sansome eeb617e892 Oops, fix another crash in the smart playlist preview view when moodbars are displayed 2012-05-31 14:17:36 +01:00
John Maguire 1453086a80 Add API key for Songkick and make artist calendar request. 2012-05-30 13:30:02 -07:00
David Sansome 836a2b0c89 Update the moodbar column on the correct model 2012-05-30 11:06:41 +01:00
David Sansome ba2f4ddedc Fix a crash in the smart playlist preview when the moodbar column is enabled 2012-05-30 11:06:25 +01:00
David Sansome 7501d664bf Make a little border around the moodbars in the playlist 2012-05-30 10:33:15 +01:00
John Maguire 6862a69383 Add CSS to Twitter stream. 2012-05-30 02:05:12 -07:00
John Maguire 6bc4951236 Add explanatory comments. 2012-05-29 18:56:34 -07:00
John Maguire 1b5352367a Delete Twitter reply. 2012-05-29 18:53:52 -07:00
John Maguire 0da9afa0e3 Add Twitter icon. 2012-05-29 18:51:46 -07:00
John Maguire 5af50f7db0 Parse more entities out of tweets. 2012-05-29 18:47:55 -07:00
John Maguire 919a88976b Nicer generation of tweet HTML. 2012-05-29 17:47:16 -07:00
John Maguire 7c522ee306 Add copyright headers. 2012-05-29 17:42:28 -07:00
John Maguire b22964968e Linkify urls in tweets. 2012-05-29 17:41:45 -07:00
John Maguire 2888701386 Add support for Twitter timeline in artist info. 2012-05-29 17:26:34 -07:00
John Maguire 32a2cbe6df Add copyright headers 2012-05-29 16:32:34 -07:00
John Maguire 21419765d3 Add beginnings of support for requesting events calendar for an artist
from songkick (waiting on API key).
2012-05-29 16:31:27 -07:00
John Maguire 38f1b71761 Use url instead of filename. 2012-05-28 15:33:37 -07:00
John Maguire 823b59e3a7 Use uridecodebin for Moodbar. 2012-05-28 15:18:36 -07:00
David Sansome 24ea8d3e05 Add moodbar settings to the track slider's context menu 2012-05-28 12:50:34 +01:00
Clementine Buildbot 972b6a233c Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-05-28 10:02:36 +02:00
David Sansome abdc6d8844 Add moodbar settings to the settings dialog 2012-05-27 23:56:40 +01:00
David Sansome 8c33cb91e0 Don't show any tooltips for the Mood column 2012-05-27 22:01:37 +01:00
David Sansome 37df0ec0b6 Draw a background in the playlist when there isn't a moodbar 2012-05-27 21:53:38 +01:00
David Sansome 74a83a2f7c Draw the arrow on the moodbar before fading out 2012-05-27 21:51:26 +01:00
David Sansome 4cfa474fb8 Stop listening for synchronous bus callbacks from the moodbar pipeline, fixes some weird event loop stalls 2012-05-27 21:33:17 +01:00
David Sansome b03563f317 Make it possible to compile out moodbar support 2012-05-27 21:33:05 +01:00
David Sansome e71f436b70 Maybe fix compilation on Qt < 4.7 2012-05-27 21:15:37 +01:00
David Sansome d36dd4d753 Oops, actually load moodbar data on a different thread 2012-05-27 20:05:01 +01:00
David Sansome d939b4cf29 Remove playlist moodbars from the cache if they have been removed from the model, and make the disk cache bigger 2012-05-27 19:10:39 +01:00
David Sansome a2feaa61e7 Create and render moodbars in background threads to avoid blocking the UI 2012-05-27 18:53:57 +01:00
David Sansome 638a4b9739 Bundle the gstreamer moodbar plugin, with a patch that protects calls to fftwf_plan from multiple threads. 2012-05-27 17:30:58 +01:00
David Sansome 19c3e1d5ec Add a Mood column to the playlist 2012-05-27 16:46:16 +01:00
David Sansome f1dee1171b Move the moodbar rendering bits into another class 2012-05-25 23:56:55 +01:00
David Sansome bdfe6b909f Draw a slider arrow on the moodbar. 2012-05-25 23:34:56 +01:00
David Sansome e3cfd64764 Render the moodbar data in the slider widget, and write .mood files alongside music files. 2012-05-25 22:02:10 +01:00
David Sansome f98d5e8fb6 Make a scoped pointer from the thing retreived from the moodbar cache 2012-05-25 18:04:52 +01:00
David Sansome 51229b88c5 Create or load moodbar data for songs 2012-05-25 17:18:07 +01:00
Clementine Buildbot 10a3594590 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-05-21 10:02:21 +02:00
Arnaud Bienner 7f56833125 Nicer 'if' block for setting monoplayback 2012-05-21 02:07:00 +02:00
Arnaud Bienner 4caa3fc17e Mutex-lock DB to avoid concurrent access while doing backup DB, as it will be actually locked the DB, and what make Clementine stop if we try to modify it (e.g. add a new playlist) 2012-05-20 21:54:17 +02:00
Arnaud Bienner 25666f1395 Missing files from previous commit 2012-05-20 21:52:46 +02:00
Arnaud Bienner 26639503d0 Update issue 2137
Mono playback implemented; available in preferences
2012-05-20 20:50:25 +02:00
Arnaud Bienner d2f5a7f811 Use QString::localeAwareCompare instead of compare when sorting GS songs 2012-05-17 01:56:11 +02:00
Arnaud Bienner 2a661ec017 Fix Linux CLang Build 2012-05-17 01:52:05 +02:00
Arnaud Bienner cd7d967271 Update issue 2398
Also sort GS songs by names
2012-05-16 01:37:06 +02:00
Arnaud Bienner aaef0de224 Sort GS playlist by name. Fixes issue 2398. 2012-05-16 01:30:18 +02:00
Arnaud Bienner 14cba7e704 Use application's palette when setting text color of the current playing song's row 2012-05-15 00:49:14 +02:00
Clementine Buildbot af6a555700 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-05-14 10:02:23 +02:00
David Sansome 13e13ccd9a Work around a bug in Qt where the wheelScrollLines setting is ignored. Fixes issue 2824. 2012-05-13 17:41:38 +01:00
Kacper "mattrick" Banasik f606ae9ba8 Add an option to prefer AlbumArtist tag over Artist when scrobbling to Last.fm. Fixes issue 2901 2012-05-13 16:05:17 +01:00
David Sansome c3fe642779 Use the new DI.fm/SKY.fm authentication API. Fixes issue 2909 2012-05-13 15:44:11 +01:00
David Sansome 0de061722b Fix a missing icon in the playlist context menu 2012-05-12 19:12:33 +01:00
Arnaud Bienner ed11075930 Do the same for favorites 2012-05-11 21:46:07 +02:00
Arnaud Bienner 3356fd9b58 Add the ability to remove mulitple GS songs at once. Fixes issue 2933 2012-05-11 21:28:28 +02:00
Martin Herkt 5b202b25fb Fix visualization overlay transparency
Same as the pretty OSD: Certain widget styles would paint their own
background and obscure the visualization with it. Fix by setting
background color to transparent.

Fixes issue #2927
2012-05-09 10:19:25 +02:00
Arash Abedinzadeh 36903ee17f Fix missing boundary check for PlayTrack DBus method.
Fixes issue #2914
2012-05-07 12:26:13 +02:00
Martin Herkt d34c6e6475 Fix pretty OSD transparency
With certain widget styles (such as Bespin), the pretty OSD’s background
would not be fully transparent. Fix this by setting the widget’s
background color to “transparent”.

Fixes issue #2907
2012-05-01 16:56:46 -07:00
Clementine Buildbot ea80ddd00e Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-04-30 10:02:40 +02:00
David Flatz 1e9a7e2119 Fix segfault when drag&dropping playlist entries from different instance
Fixes issue 2896
2012-04-25 16:38:59 +01:00
Arnaud Bienner 01daea7090 Commit missing modifications/change ConcurrentRun description a bit 2012-04-25 00:29:19 +02:00
Clementine Buildbot 0904de9de9 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-04-23 10:02:29 +02:00
Clementine Buildbot 48df99b0d2 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-04-16 10:02:45 +02:00
David Sansome 6677d0fe30 Remove Android remote control support for now 2012-04-13 15:01:22 +01:00
John Maguire 66c8d6d360 Tidy up a bit. 2012-04-13 15:53:17 +02:00
John Maguire 133c2e1640 Postpone the database check & backup to a little while after startup. 2012-04-13 15:49:56 +02:00
David Sansome eed3a57af8 Show thumbnails of album art in the tray icon tooltip instead of full sized images. Fixes issue 2844 2012-04-13 14:28:09 +01:00
Martin Spacek 77789aba41 Use 16x16 icons in the file view instead of 22x22. Fixes issue 2852 2012-04-13 14:19:06 +01:00
John Maguire 3f87987177 Allow upper case header for PLS files.
Fixes issue #2856
2012-04-10 14:33:40 +02:00
Clementine Buildbot 9d43155c9e Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-04-09 10:02:26 +02:00
Arnaud Bienner e0d61eb66c Check that popular_month_, popular_today_ and stations_ still exist (i.e. aren't NULL) when we receive replies.
Indeed, we do not need to be logged in to get results for popular songs and get stations tags. But if the user has been automatically logged out (e.g. session_id not valid anymore) these items have been deleted.
2012-04-04 19:21:18 +02:00
John Maguire 4bfaad1099 Fix clang compile error. 2012-04-04 12:27:42 +02:00
Clementine Buildbot 95b2ad310a Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-04-02 10:02:17 +02:00
Arnaud Bienner 58c217c1fa Always save previous background image, and start fading only is visible 2012-03-28 00:45:14 +02:00
David Sansome 1c80cfbadb Use libspotify 11.1.56 2012-03-27 22:01:37 +01:00
David Sansome 5d4844acdd Add copyright headers to ilister.{cpp,h} 2012-03-27 21:31:20 +01:00
David Sansome 119c9c27ac Detect libimobiledevice 1.1.2 and use its new "udid" field instead of "uuid". 2012-03-27 21:24:38 +01:00
Arnaud Bienner f98616b60b Correct typo 2012-03-27 00:46:06 +02:00
Arnaud Bienner bee99b7554 Ability to get a URL to share GS playlists 2012-03-27 00:43:47 +02:00
Arnaud Bienner ce75c2827a Add the ability to get a GS URL to share a song from Internet view 2012-03-26 23:57:26 +02:00
Arnaud Bienner 3d350b35e9 Add an icon to Grooveshark song URL message box 2012-03-26 23:32:42 +02:00
Arnaud Bienner e33de66d0f Do not allow user to check "keep running in the background" if "show tray icon" is unchecked.
Select "keep running in the background" by default if user checks "show tray icon".
Fixes issue 2832.
2012-03-26 19:06:37 +02:00
Clementine Buildbot 01440eef50 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-03-26 10:02:17 +02:00
David Sansome 7d9f2b7b7d Use LineEdit::set_focus() instead of QWidget::setFocus() on LineEdit widgets that might be OS X search widgets
Fixes issue 2823
2012-03-25 21:14:39 +01:00
John Maguire e9ace3a2cb Support loading a spotify URL from the command line. 2012-03-22 16:55:05 -07:00
Arnaud Bienner bb5eaabadb Make analyzers' framerate constant values private members of AnalyzerContainer.
Looks cleaner like this
2012-03-22 20:03:17 +01:00
Arnaud Bienner 0d50f9ec7a Use '%1 fps' to reduce the number of strings to translate, and to keep consistency over the application, as similar strings are used in equalizer (i.e. I don't want to have different translations for similar original English strings) 2012-03-22 20:02:12 +01:00
Arnaud Bienner 8d1e3ea63a Use 'Very high' instead of 'Ultra', to be more consistent with other menus 2012-03-22 19:50:08 +01:00
Benjamin Valentin 6804f1af20 Add an Ultra quality setting for visualisations. Fixes issue 2817 2012-03-20 22:08:59 +00:00
Arnaud Bienner 29cfe20160 Use QPalette::HighlightedText instead QPalette::Text for track slider popup so slider's text color really contrast with slider's background color.
Fixes issue 1757.
2012-03-20 23:00:37 +01:00
David Sansome c1c6aa099b Pass results' QSharedPointers to reply slots instead of bare pointers 2012-03-19 21:17:15 +00:00
Arnaud Bienner 627ae372d4 Better check resizeEvent' size. Otherwise, the nowplayingwidget isn't always resized (even if it should), particulary at startup, when starting playing 2012-03-19 20:42:19 +01:00