Commit Graph

3872 Commits

Author SHA1 Message Date
John Maguire 32b81f057d Fix broken connect 2013-01-15 14:59:48 +01:00
Andreas 51ba9f47dc added repeat and shuffe functionality 2013-01-15 14:43:02 +01:00
Andreas 0a97623df3 Changed sending playlist songs 2013-01-15 14:03:00 +01:00
John Maguire 06568248fc Tidy up some remote control protobuf usage and style quirks. 2013-01-15 13:05:43 +01:00
Alan Briolat f88e73737c Re-implement subsonic library scanner
Use the ID3-tag-oriented album listings in Subsonic >= 4.7 to
fetch all library data.
2013-01-14 23:36:23 +00:00
Andreas 8cb0b3d349 fixed commit 2013-01-14 22:00:56 +01:00
Andreas aa8d512444 Merge remote-tracking branch 'remote/remotecontrol'
Conflicts:
	ext/libclementine-remote/remotecontrolmessages.proto
	src/networkremote/networkremote.cpp
2013-01-14 21:39:01 +01:00
John Maguire 3dd1f10260 Remove unnecessary inheritance on QThread. 2013-01-14 17:23:06 +01:00
John Maguire 408909ffa2 Tidy up NetworkRemote - scoped_ptr, initialisation lists, etc. 2013-01-14 17:18:24 +01:00
John Maguire 555467e764 Tidy up remote control protobuf. 2013-01-14 16:17:36 +01:00
Andreas e915d2e993 Transfer coverart without base64 2013-01-14 16:09:22 +01:00
Clementine Buildbot b270cbf082 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2013-01-14 10:03:48 +01:00
Andreas 6bb02d2731 Transfer coverart without base64 2013-01-12 17:22:40 +01:00
Alan Briolat 49d27b0bfe Load subsonic library recursively 2013-01-11 23:14:15 +00:00
John Maguire a4df18efee Use a better check for private subnets. 2013-01-11 13:55:09 +01:00
John Maguire 22322593aa Merge branch 'master' of https://code.google.com/r/asfa194-clementineremote into remote 2013-01-11 11:08:22 +01:00
Alan Briolat 349231793f Hacky basics of starting to load Subsonic library 2013-01-10 22:08:52 +00:00
Andreas 04ccdbbf08 added version to protocol buffer message
changed client handling
only non public ips can connect (can change that in options)
2013-01-10 21:21:55 +01:00
Alan Briolat d05202265e Simplify Subsonic URL handling 2013-01-09 22:20:55 +00:00
Alan Briolat 38ce86529e Revert "Recursive UserPlaylist adding, subsonic uses UserPlaylist for folders"
This reverts commit a62b7752ad.

Using this mechanism for recursively loading trees doesn't work any
more, wasn't that great to start with, and the tree view will soon
be replaced with a library view.
2013-01-09 21:47:51 +00:00
Alan Briolat 90d2511051 Merge remote-tracking branch 'upstream/master' into subsonic
Conflicts:
	src/CMakeLists.txt
	src/internet/internetmodel.cpp
	src/ui/settingsdialog.cpp
2013-01-09 21:26:32 +00:00
Andreas c732e70511 multiclient support and shuffle feature 2013-01-09 20:07:28 +01:00
Andreas 7187e2440f removed base64 encoding 2013-01-09 17:38:24 +01:00
John Maguire b7b7e97455 Merge branch 'master' of https://code.google.com/r/asfa194-clementineremote into remote 2013-01-08 13:05:54 +01:00
Clementine Buildbot b9951eb663 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2013-01-07 10:04:43 +01:00
David Sansome 145b811eef Fix a memory leak when fingerprinting songs. Fixes issue 3403. 2013-01-06 07:51:48 +11:00
David Sansome 97c1d3c345 Remove an old connect() that has since been replaced by a closure connection 2013-01-06 07:51:28 +11:00
David Sansome 41f89904b6 Compare against the translated message text to determine whether a typefind failed. Fixes radio playlists in non-english languages. Fixes issue 3394 2013-01-04 21:16:26 +11:00
Andreas fe0c1b5206 Changed xml to protocol buffers 2013-01-03 21:40:47 +01:00
TTSDA efd42349e7 Add year and bitrate fields to mpris2 metadata 2013-01-02 07:54:50 +11:00
Andreas a752f704f6 forgot to rename function 2012-12-31 23:52:12 +01:00
Andreas f10292eb95 Added remote control for clementine 2012-12-31 23:37:39 +01:00
David Sansome 4fff9c3ca5 Use a new Amazon access key 2012-12-31 21:46:06 +11:00
Clementine Buildbot b3e9fb810a Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-12-31 10:02:51 +01:00
David Sansome d9ea96033a Print the version number on startup 2012-12-26 12:37:57 +11:00
David Sansome e3c8caa613 Preserve user stats like play/skip counts when reloading song metadata when opening the edit tag dialog. Fixes issue 3359. 2012-12-26 00:50:32 +11:00
David Sansome 9e9b7f7fa6 Don't ever replace taglib metadata on file:// Songs. init_from_file_ gets lost after a restart so just assume all local files are good. 2012-12-26 00:26:48 +11:00
David Sansome 24219b93cc Add some more debug output when applying database schema updates 2012-12-25 17:37:27 +11:00
David Sansome 351a49e2b4 Elide the fancy sidebar text on the right instead of in the middle. Fixes issue 3335. 2012-12-25 13:10:10 +11:00
Clementine Buildbot 29c61f1dc2 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-12-24 10:33:46 +01:00
Mateusz Kowalczyk 5b88c5f4a4 Select the next tab when a playlist tab is closed. Fixes issue 3347. 2012-12-24 19:35:31 +11:00
Clementine Buildbot b5afaf69f7 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-12-17 10:07:39 +01:00
John Maguire 020f08438f Support member function pointers in Closure.
Bonus: type-safe slots
2012-12-13 16:27:55 +01:00
John Maguire c57c47ae08 Make skydrive urls playable. 2012-12-13 14:44:59 +01:00
John Maguire 919e9215c4 Support indexing files from Skydrive. 2012-12-13 14:27:21 +01:00
John Maguire c4db401597 More or less working Skydrive authentication. 2012-12-12 18:34:15 +01:00
John Maguire 8eea98ba66 Factor out Google Drive specific code from OAuthenticator. 2012-12-12 17:41:52 +01:00
David Sansome 14c07cbaed In the smart playlist wizard, only repopulate the op combo box when changing to a field of a different type. 2012-12-10 19:44:41 +11:00
David Sansome 82575f233f Add the "not equals" operator to all fields in the smart playlist wizard. Fixes issue 3329 2012-12-10 19:44:41 +11:00
John Maguire 7d4f5764dc Support WMA in Ubuntu One. 2012-12-07 12:09:17 +01:00
John Maguire 62e3e4cb91 Support WMA in cloud services. 2012-12-07 12:07:43 +01:00
John Maguire 941aaca87c Refactor cloud tagging into base class. 2012-12-06 14:23:27 +01:00
John Maguire 951cac2ad6 Use changes API instead of search API in Google Drive. 2012-12-05 14:17:03 +00:00
John Maguire b41a2b5308 Revert "Try out C++11 strongly typed enums."
This reverts commit 4e74c7af2b.
2012-12-05 09:36:22 +00:00
John Maguire 4e74c7af2b Try out C++11 strongly typed enums. 2012-12-04 16:22:09 +00:00
Clementine Buildbot c7185efc5e Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-12-03 10:03:43 +01:00
John Maguire 18c7f3d5ed Support m4a and flac in dropbox. 2012-11-30 16:56:23 +01:00
John Maguire 7058d238fb Be more aggressive about tagging by having as many tag clients as cores. 2012-11-30 16:43:44 +01:00
John Maguire 24b4319504 Fix crash in Google Drive. 2012-11-30 16:43:43 +01:00
John Maguire d4a82a2d50 Read the encoded URL correctly for Dropbox files. 2012-11-30 16:12:31 +01:00
John Maguire 3972f939f7 Support deletion and reset from Dropbox's delta API. 2012-11-30 15:40:09 +01:00
John Maguire 4ba965115c Use Dropbox's delta API to be more efficient. 2012-11-30 15:33:03 +01:00
John Maguire e68a6f9eb8 Factor out oauth redirect & HTTP server logic. 2012-11-30 14:54:23 +01:00
John Maguire 847e4ce121 Fix name of Dropbox settings page. 2012-11-30 11:24:07 +01:00
John Maguire 821405cdd2 Actually start authorisation against Dropbox when login clicked. 2012-11-29 20:53:00 +01:00
John Maguire 8e91e42dcc Add dropbox files locally after tagging and make them playable. 2012-11-29 20:48:34 +01:00
John Maguire 3c9b3d99e6 Read tags from dropbox files. 2012-11-29 20:48:34 +01:00
John Maguire 47cc767daf Scan Dropbox for valid mime types. 2012-11-29 20:48:34 +01:00
John Maguire c66295c8d9 Sort out dropbox authentication & storing credentials; 2012-11-29 20:48:34 +01:00
John Maguire ea8655af83 Add Dropbox service and settings page. 2012-11-29 20:48:34 +01:00
John Maguire b955da5f28 Parse out the Dropbox user's name. 2012-11-29 20:48:34 +01:00
John Maguire 4d1b6fc25d Fetch Dropbox account information after authorisation. 2012-11-29 20:48:34 +01:00
John Maguire d3bd536be0 Working dropbox authentication with oauth redirect. 2012-11-29 20:48:34 +01:00
John Maguire 6bf0b4736a Start of dropbox support. Only whitelisted accounts work for now. 2012-11-29 20:48:25 +01:00
John Maguire c5ce522576 Scan all Ubuntu One volumes for music.
Fixes issue #3325
2012-11-29 16:07:05 +01:00
John Maguire e220b395ea More gracefully deal with files that failed to tag in Ubuntu One. 2012-11-29 14:18:30 +01:00
John Maguire 6c5e831a7d Remove tag encoding detection as we don't really use it anymore. 2012-11-29 13:41:20 +01:00
John Maguire 3eb66ea8c2 Remove another couple of C++11 range-based for loop. 2012-11-29 11:49:26 +01:00
John Maguire 644a12cea7 Remove/work around missing features in Qt < 4.7 2012-11-28 19:02:14 +01:00
John Maguire 6f05a7c45b nullptr not supported either in GCC 4.4 2012-11-28 18:18:50 +01:00
John Maguire d16615334a Add Ubuntu One playlist source icon. 2012-11-28 17:52:46 +01:00
John Maguire bd899b382d Range-based for loops not supported in GCC 4.4. 2012-11-28 17:34:54 +01:00
John Maguire e14334075c Support OGG, FLAC & AAC file types for Ubuntu One. 2012-11-28 17:32:21 +01:00
John Maguire 629f1abb6c Disable Ubuntu One settings page when cmake option disabled. 2012-11-28 16:56:35 +01:00
John Maguire ffc8d53cdb Add cmake option for Ubuntu One. 2012-11-28 16:51:19 +01:00
John Maguire 9c7a3ab105 Rename google drive tagging methods to more appropriate generic names. 2012-11-28 16:34:10 +01:00
John Maguire db7679abe6 Refactor GoogleDriveService into a CloudFileService. 2012-11-28 16:22:54 +01:00
John Maguire 334cd1052b Factor out some common functionality between Google Drive & Ubuntu One. 2012-11-28 16:13:10 +01:00
John Maguire afcc8f86f3 Add support for album covers to Ubuntu One. 2012-11-28 15:26:09 +01:00
John Maguire 4bbbf4dd9d Remove some debug 2012-11-28 15:10:49 +01:00
John Maguire 4aeeb45eaa Show Ubuntu One settings page if user is not signed in. 2012-11-28 15:09:59 +01:00
John Maguire 6486e621f1 Recursively fetch everything in the Ubuntu One volume. 2012-11-28 15:05:06 +01:00
John Maguire 823250c7c7 Add Ubuntu One icon in internet view. 2012-11-28 14:44:57 +01:00
John Maguire db586ca00e Read tags from Ubuntu One files and add to local database. 2012-11-28 14:43:03 +01:00
John Maguire 45b2c1dcf4 Copy Ubuntu One file name into song title for now. 2012-11-27 19:58:53 +01:00
John Maguire 1d20ac4eae Add settings page for Ubuntu One. 2012-11-27 19:56:47 +01:00
John Maguire 24ac9adbe5 Beginnings of playback from Ubuntu One file store. 2012-11-27 18:35:06 +01:00
John Maguire 81e68145cd Basic authentication for Ubuntu One. 2012-11-27 15:38:05 +01:00
Alexey Bo c7be61f11d Compare encoded urls. Fixes issue 2842. Some random tracks are not properly read from the cue sheet after clementine restart 2012-11-26 19:59:05 +01:00
John Maguire 875b297278 Check for lambda support before using it. 2012-11-26 15:36:05 +01:00
Clementine Buildbot 303ef3ce2f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-11-26 10:20:27 +01:00
Perttu Ahola 40081a97e7 Start following the cursor again when Ctrl+J is pressed. Fixes issue 697. 2012-11-24 21:21:49 +11:00
David Sansome a6eea2b941 Fix an off-by-one error when choosing which row to select after removing items in the playlist 2012-11-24 17:10:20 +11:00
David Sansome 65aa0ebae0 Hide the moodbar column by default. 2012-11-24 15:59:36 +11:00
David Sansome d5412d3800 Use QUrl::fromUserInput to decode URLs in playlists if they look like they're encoded. Fixes issue 3309 2012-11-23 21:51:22 +11:00
John Maguire 8171192df5 Port Closure to variadic templates. 2012-11-22 17:19:04 +01:00
John Maguire 8bbcd6b760 Use a better check for support for std::unordered_map. 2012-11-22 12:24:38 +01:00
David Sansome 0beab5c9a8 Temporarily use tr1/unordered_map on OS X 2012-11-22 19:38:17 +11:00
Arnaud Bienner af8e8c753e Use a better data structure to track uniques songs when removing duplicate. 2012-11-22 02:06:29 +01:00
Arnaud Bienner cf22a91c6a Merge git://github.com/szemek/clementine 2012-11-22 00:37:51 +01:00
Przemysław Dąbek a241774fb5 more consistent whitespaces 2012-11-21 18:46:42 +01:00
John Maguire 42e7e4ff6f Use boost::bind in DeviceManager. 2012-11-21 17:21:20 +01:00
John Maguire fddce90624 Use boost::bind & boost::function instead of std equivalents for better compatibility. 2012-11-21 17:17:37 +01:00
John Maguire 1fd0515168 Make variadic version of ConcurrentRun::Run() 2012-11-21 16:39:10 +01:00
Przemysław Dąbek 92637cb7d1 improved removing duplicated songs 2012-11-21 16:06:19 +01:00
John Maguire 3b935e89da cstdint is missing on Snow Leopard. 2012-11-21 14:41:37 +01:00
John Maguire 102ebecaf5 *sigh* 2012-11-19 20:19:48 +01:00
John Maguire c945286e90 Disable deprecation warnings. 2012-11-19 20:08:13 +01:00
John Maguire a12ffa829e Try C++0x instead of C++11 for older compilers. 2012-11-19 19:38:29 +01:00
John Maguire d1845bc70e ifdef WmdmThread::StaticInit() in main() 2012-11-19 18:56:35 +01:00
John Maguire 80d35ef128 Merge remote branch 'origin/mingw-w64' 2012-11-19 18:17:19 +01:00
John Maguire 7b678b3f67 Remove unused variable. 2012-11-19 14:34:26 +01:00
John Maguire c4c7265e7a Add a setting for disabling moodbar generation.
Fixes issue #3161
2012-11-19 14:32:39 +01:00
Clementine Buildbot 3df7f61b07 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-11-19 10:02:09 +01:00
Arnaud Bienner e9c98733b3 Also update song count when tags are loaded: I don't know why but there not updated in Init 2012-11-18 22:14:06 +01:00
Arnaud Bienner ba743ee64f Update MusicBrainz DiscId requests to work with Web Service v2: v1 wasn't working anymore 2012-11-18 22:11:47 +01:00
Arnaud Bienner fb07308607 Slightly modify the way CddaLister::Init worksr: as cdio_get_devices sometimes return only symlinks, we should not ignore them. 2012-11-18 22:05:18 +01:00
David Sansome 3cc0ba7969 Add ROCKRADIO.com. Fixes issue 3295 2012-11-18 11:18:51 +11:00
David Sansome df21da786e Increase the priority of streaming threads on OS X to reduce audio stuttering a bit.
Fixes issue 3275
2012-11-18 11:06:46 +11:00
David Sansome 141bdc6888 Try parsing a message in main(), both in the main thread and in a QtConcurrent thread.
(cherry picked from commit 4446b277814ae4afe7d4aba85eb4fd5475843880)

Fixes issue 3265
2012-11-18 09:44:03 +11:00
John Maguire 8501ac0d96 Do WMDM static init in main() to avoid static mutex. 2012-11-15 22:08:04 +00:00
John Maguire 543a6bf2fa Remove use of linked SAC shim and depend on DLL version (which doesn't exist yet) 2012-11-13 17:04:54 +01:00
John Maguire e5d02fddb6 Enable C++11 for Clementine & libclementine 2012-11-13 17:03:53 +01:00
John Maguire 0ce05939aa Copy taskbar GUID from win7 SDK. 2012-11-13 17:02:42 +01:00
John Maguire 79318cc4e1 Build fixes for mingw-w64 2012-11-13 14:43:13 +01:00
Clementine Buildbot 7d65d425e0 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-11-12 10:21:59 +01:00
Mateusz Kowalczyk 2bf8172590 Use the actual artist name's initial if 'Ignore "The" in artist name' option is used when organizing files.
Fixes issue 3201.
2012-11-10 17:55:33 +01:00
Mateusz Kowalczyk 6a8f41f0bb Log a warning when failing to save tags to a local file. 2012-11-10 18:27:49 +11:00
mosret b1d513c487 Fix a crash when deleting files from disk when the library is empty.
Fixes issue 1682
2012-11-10 18:24:59 +11:00
David Sansome 577d131c6a Use qt_blurImage instead of the handwritten function 2012-11-10 18:04:55 +11:00
Arnaud Bienner d69f9598b4 Also deactivate blur slide if needed when loading appearance preferences page 2012-11-09 20:33:51 +01:00
Arnaud Bienner 65f1dca716 Minor style changes 2012-11-09 20:30:32 +01:00
Arnaud Bienner 40248a8f48 Disable blur slide when it makes sense to have it deactivated 2012-11-09 20:22:39 +01:00
Mateusz Kowalczyk c4796564ea Add an option to blur background image.
Fixes issue 3266.
2012-11-09 20:17:26 +01:00
John Maguire 5825768f36 Stop logging geolocation. 2012-11-07 13:35:36 +01:00
John Maguire 0822482b4d Respect XDG_CACHE_HOME for network & moodbar cache.
Fixes issue #3264
2012-11-06 15:38:40 +01:00
Arnaud Bienner 4fd45e0028 uiLanguages returns strings with "-" as separators for language/region; however QTranslator needs "_" separators 2012-11-05 19:36:13 +01:00
Clementine Buildbot 3ff5608ca7 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-11-05 10:02:25 +01:00
David Sansome eed126f7cd Fix the background color of the query term scroll area on OS X 2012-11-04 18:54:35 -08:00
David Sansome 5bdfa1573f Make the Remove search term button on the smart playlist dialog a little less ugly on OS X 2012-11-04 18:54:35 -08:00
David Sansome d092c5a3ce Remove the ugly empty space on the left side of the smart playlist dialog on OS X 2012-11-04 18:54:35 -08:00
David Sansome 561ac96e89 Fix a crash when deleting a search term from the smart playlist wizard on OS X. 2012-11-04 18:54:34 -08:00
John Maguire 371b63e159 Use access_token URL param instead of header hack for Google Drive. 2012-11-02 16:47:40 +01:00
Veniamin Gvozdikov e6e72dc68d Change the include order to fix a build error on FreeBSD.
Fixes issue 3247
2012-10-31 10:45:18 -07:00
Veniamin Gvozdikov 957f3823e6 Fix linking clementine on FreeBSD.
Fixes issue #3246
2012-10-31 15:59:54 +01:00
Veniamin Gvozdikov 95dc49ac77 Fix IsLaptop() check on FreeBSD.
Fixes issue #3244
2012-10-31 13:30:23 +01:00
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