Commit Graph

3429 Commits

Author SHA1 Message Date
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
David Sansome bb69d7d53a Revert libmygpo-qt revision 8f35be2da45d74c42672d3d787ef65fb8b14d0dd ("Return normal pointers from ApiRequest methods, so they can be used in Clementine's closures, and deleteLater() in a slot connected to their finished() signal doesn't crash"), and do closure connections using the shared pointers 2012-03-19 19:38:40 +00:00
Arnaud Bienner 0ba3443519 Move all the appearance settings page's components values initialization in Load().
Otherwise, when clicking on Cancel, and opening the page again, values will be the last ones selected, not the last choosen (and validated) by the user.
2012-03-19 20:06:29 +01:00
Clementine Buildbot 9a17356389 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-03-19 10:06:43 +01:00
Arnaud Bienner a9e36711da Merge branch 'master' of https://code.google.com/p/clementine-player 2012-03-18 23:24:18 +01:00
Arnaud Bienner b9d449f3b0 Fadeout when player stop.
+ Also clear all background images when changing background image type to something different from AlbumCover or Custom
+ Remove useless code
2012-03-18 19:22:08 +01:00
john.maguire cd193b0d7f Fix typo in cast. 2012-03-17 15:11:21 +00:00
Arnaud Bienner 9dff2dd0b1 Give background_type a default value, as some compilers sometimes wrongly assume that it might be used uninitialized 2012-03-17 13:34:29 +01:00
Arnaud Bienner e9378e0a9a Merge branch 'master' of https://code.google.com/p/clementine-player 2012-03-17 13:04:07 +01:00
Arnaud Bienner ab0a050855 Add a fading animation when background image change 2012-03-16 22:39:39 +01:00
John Maguire 2078eff8f3 Fix misleading error message. 2012-03-16 15:47:25 +01:00
John Maguire 9ed8ab63aa Run a database backup on startup after the integrity check.
Update issue #2743
Database backup now run on startup, still needs a way to restore.
2012-03-16 14:52:03 +01:00
David Sansome 56b9546744 Assume URLs in podcast RSS feeds are already URL encoded 2012-03-15 16:36:25 +00:00
Marti Raudsepp 9cf279f5a3 Run database integrity check on startup
Update issue #2743
Integrity check now run on startup
2012-03-15 16:01:57 +01:00
John Maguire ab0ae4414b Alphabetically sort SomaFM streams.
Fixes issue #2807
2012-03-15 15:42:22 +01:00
Arnaud Bienner 4e54634504 Reset current_covert_art when player is stopped 2012-03-13 23:15:53 +01:00
Arnaud Bienner 2a4ab30a69 Connect player->playlistview signals directly in playlistview, now that we have an Application object which holds player. 2012-03-13 22:59:18 +01:00
Arnaud Bienner 57e41af461 Use large covers for Grooveshark songs.
As now, there is possiblity to set cover as playlist background, it's nicer, with larger images.
2012-03-13 22:53:55 +01:00
David Sansome e3b88a72db Add a quick check for OpenGL support in QGLFormat before initialising ProjectM visualisations. Might fix a crash when OpenGL is unavailable. Fixes issue 2741 2012-03-12 21:26:19 +00:00
David Sansome 69779374c2 Fix a funny fading bug in the podcast info widget that would occur because a ResizeEvent was being sent with oldSize() == size(). 2012-03-12 21:12:01 +00:00
David Sansome 096b90716d Fix a compile error with Clang 2012-03-12 21:11:33 +00:00
David Sansome 204f7acbfa Merge branch 'podcasts'. Fixes issue 44 2012-03-12 19:40:31 +00:00
David Sansome 5327b72f0b Implement the "Delete after x days" feature for listened podcasts. 2012-03-12 19:35:47 +00:00
John Maguire d819c88ff8 Fix crash on exit on Mac.
Fixes issue #2661
2012-03-12 18:11:10 +01:00
John Maguire 63ee8b2e55 Update a couple of old debug statements. 2012-03-12 17:25:05 +01:00
John Maguire c91024ad33 Add support for NSObject to QDebug. 2012-03-12 17:25:04 +01:00
John Maguire 8e89838621 Support loading multiple files or a folder from dropping on the Mac dock icon.
Fixes issue #2787
2012-03-12 17:24:53 +01:00
David Sansome a5107b7dfc Add the normal playlist actions to the podcast context menu 2012-03-12 16:21:05 +00:00
David Sansome 40858d26c5 Add an "Add Podcast" menu item to the main Music menu, and always display new podcasts in the list when adding them 2012-03-12 14:11:24 +00:00
David Sansome c5f5b8b597 Register Podcast list metatypes for Qt < 4.7 2012-03-12 14:10:56 +00:00
David Sansome 09dfd31630 Add a qHash(QUrl) overload for Qt < 4.7 2012-03-12 14:10:16 +00:00
Clementine Buildbot 287b3fcb1f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-03-12 10:02:27 +01:00
David Sansome 07158bd71b Make the quick_prefixes list not static 2012-03-11 21:07:36 +00:00
David Sansome 2750877a72 Support iTunes and Zune podcast URL schemes through SongLoader 2012-03-11 18:14:53 +00:00
David Sansome f16fc8867e Allow podcasts to be added through the normal SongLoader mechanism (dragging to the playlist, on the commandline, "Add Stream", etc.) 2012-03-11 17:57:15 +00:00
David Sansome c27b8a5e95 Fix some broken behaviour in SongLoader when loading a playlist that was bigger than one GstBuffer. The pipeline would be stopped early because it was still asynchronously moving to the PLAYING state. 2012-03-11 17:20:12 +00:00
David Sansome 0cfeeb467a Add menu actions for deleting downloaded data and marking episodes as new/listened. Enable/disable actions depending on what's selected, allow actions to affect multiple items. 2012-03-11 15:36:35 +00:00
David Sansome 75a897e92d Don't require each InternetService to keep track of its own current index - do it in the model instead 2012-03-11 14:44:43 +00:00
David Sansome 93938d3bcd Allow whole podcasts to be dragged to the playlist as well as individual episodes 2012-03-11 14:11:15 +00:00
David Sansome 8cc971fa93 Mark podcast episodes as listened when they're listened to 2012-03-11 12:27:48 +00:00
David Sansome 19a971c7cd Add support for adding podcast episodes to the playlist 2012-03-10 23:39:09 +00:00
David Sansome c204dd31fb Don't crash when double clicking in the Add Podcast dialog 2012-03-10 23:38:54 +00:00
David Sansome 9873ed083a Set the gpodder.net login state widget's login state properly when opening the podcasts settings page. 2012-03-10 22:43:05 +00:00
David Sansome d538b71809 Add buttons and menu items to open the Podcast settings page. Also route these requests through Application rather than InternetModel 2012-03-10 22:39:24 +00:00
David Sansome d004875b0f Start downloading podcast episodes automatically if the setting is enabled 2012-03-10 22:26:53 +00:00
David Sansome 792a2e239d Better (some) UI feedback of downloading podcasts. Also fix a bug parsing the timestamps you see in some RSS feeds 2012-03-10 21:06:16 +00:00
Arnaud Bienner b676676b9a Precompute the (CPU expensive) opacity filter in a new set_background_image function.
Also, convert the image and modify only alpha channel
2012-03-10 18:55:22 +01:00
David Sansome b0dd1bd284 Add a podcast downloader 2012-03-10 15:32:36 +00:00
David Sansome 71fe57b3ae Record the time of the last successful podcast update 2012-03-10 12:32:35 +00:00
David Sansome 034da1717c deviceUpdates takes timestamps in seconds, not milliseconds. Also do updates from gpodder.net every 30 minutes 2012-03-10 12:25:58 +00:00
David Sansome 794ffa883e Strip whitespace from the ends of URLs before fetching them 2012-03-09 20:02:26 +00:00
David Sansome 87a9e41cd5 Add a context menu item to remove a podcast 2012-03-09 20:02:12 +00:00
David Sansome 3cafaf52ae If there's a URL on the clipboard, fill in the textbox on the add by URL page automatically. Set focus on the query textbox when going to a page, and select the first podcast automatically when results arrive. 2012-03-09 19:12:45 +00:00
David Sansome e6640f1d10 Fix a parse error on RSS feeds that had non-self atom links 2012-03-09 18:58:05 +00:00
David Sansome f501098998 Fix a segfault when unsubscribing from a podcast 2012-03-09 18:57:54 +00:00
David Sansome 1fc8b85ff6 Fix compilation on Windows 2012-03-09 18:40:51 +00:00
David Sansome d62d874a89 Mostly working gpodder.net syncing 2012-03-09 18:40:51 +00:00
David Sansome ec392ea155 Fix the Create Account link in the podcasts settings dialog, set a proper icon, and handle errors logging in to gpodder.net 2012-03-09 18:40:51 +00:00
John Maguire 62ea8bd4eb Detect battery presence on Mac. 2012-03-09 17:29:55 +01:00
David Sansome 1abf059d16 Add a Podcasts settings page and the start of some gpodder.net syncing 2012-03-09 15:26:38 +00:00
David Sansome b9e08bbfe6 Update podcasts on a schedule and on demand. Update them immediately after subscribing, and make episodes appear in the tree. 2012-03-09 15:26:15 +00:00
Arnaud Bienner 3338174a1f Do not set cover for Grooveshark songs if we don't have one.
This wrongly gives the impression that these songs have a cover
2012-03-08 23:44:35 +01:00
Arnaud Bienner 45c172f3fb If the new playing song has no covers, display nothing as playlist background, instead of default cover.png, which isn't very nice as a background IMHO 2012-03-08 23:42:34 +01:00
Arnaud Bienner 0b9d7f2a1a Move all the logic about background precomputation in a new method, to make paintEvent cleaner 2012-03-08 22:39:27 +01:00
Arnaud Bienner b00bdcf04e Scale background image before applying (CPU expensive) opacity filter on it, if the scaled image will be smaller than the original one 2012-03-08 22:25:29 +01:00
Arnaud Bienner c2a4ca2cf8 Fix some missing reply->deleteLater() in grooveshark service 2012-03-08 21:26:27 +01:00
David Sansome 80b95a357d Add a BBC Podcasts page 2012-03-07 15:31:12 +00:00
David Sansome d48177d630 Parse OPML documents 2012-03-07 15:11:56 +00:00
David Sansome 17dfc99462 Add an iTunes podcast search page 2012-03-07 12:27:44 +00:00
David Sansome 628820917d Add an Unsubscribe button to the Add Podcast dialog 2012-03-07 11:22:55 +00:00
David Sansome 7f0928e8c6 Sort podcasts in the model rather than in the database backend, and add new podcasts to the model immediately 2012-03-07 11:04:47 +00:00
David Sansome bbb661b82c Add a gpodder.net search 2012-03-06 21:25:16 +00:00
David Sansome 884080684a Add a helper class to load icons asynchronously and set them on QStandardItems 2012-03-06 21:24:41 +00:00
David Sansome f2885c0319 Return more useful aggregate information from the PodcastBackend, show something in the Internet service 2012-03-06 18:40:17 +00:00
David Sansome e8a879372d Show a Loading... indicator for the gpodder, lazy load images properly 2012-03-06 18:40:17 +00:00
David Sansome 3a88d8fcda Fade between podcast info screens a bit more nicely 2012-03-06 18:40:17 +00:00
David Sansome 56cc4a9140 Make podcast discovery pages without any extra widgets nicer. Load gpodder.net podcasts within tags. 2012-03-06 18:39:39 +00:00
David Sansome e54a2ff5c5 Get the most popular top-level tags from gpodder.net 2012-03-06 18:39:34 +00:00
David Sansome c91acdb3f1 Add an Add Podcast dialog 2012-03-06 18:39:34 +00:00
David Sansome 90bbed1ec9 Add podcast parsing and database classes 2012-03-06 18:39:23 +00:00
John Maguire d09f96d6eb Use qBound instead of ಠ__ಠ 2012-03-06 14:46:35 +01:00
John Maguire 8e6dd551ef Fix background image rendering on Mac by pre-computing the opacity change.
Fixes issue #2745
2012-03-06 13:40:19 +01:00
John Maguire 5ddf9bcf41 Postpone FSEvent stream updates to avoid churn when adding large numbers of directories. 2012-03-06 12:53:20 +01:00
Clementine Buildbot c0f905a478 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-03-05 10:02:48 +01:00
Clementine Buildbot 20ca548eb0 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-03-05 01:27:03 +01:00
Arnaud Bienner 790808c47d Add source icon for Jamendo songs.
Rely on URL's host. This doesn't sound perfect to me, but I can't think of a better way to do this.
Maybe making a comparison with one the Jamendo's streaming URLs host would have been better, but I think "api.jamendo.com" is very unlikely to change someday.
2012-03-05 01:13:11 +01:00
Arnaud Bienner 0969432820 emit GS albums songs results as long as we get them, instead of waiting to have all the results available. 2012-03-05 00:54:24 +01:00
David Sansome 2bc616be0b Start a search by pressing Enter in the album field as well as the artist field in the album cover search dialog. Fixes issue 2759 2012-03-04 13:57:47 +00:00
David Sansome 5b40338257 Oops - update the year as well when completing tags automatically. Fixes issue 2779 2012-03-04 13:51:08 +00:00
Noah Meyerhans 154b9e3c0b Add 'direction' attribute to org.freedesktop.MediaPlayer /TrackList methods. Fixes issue 2766 2012-03-04 13:44:06 +00:00
David Sansome b53578c490 Don't reset a song's rating back to 0 if it was edited in the EditTagDialog 2012-03-04 13:36:22 +00:00
David Sansome a315bb41f6 Fix a crash when changing a song's rating in the edit tag dialog. Fixes issue 2773 2012-03-04 13:36:22 +00:00
Clementine Buildbot b98f21dd09 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-03-04 14:22:11 +01:00
Arnaud Bienner 3b19d730b6 Add the ability to have the current playing song cover as playlist's background.
I think it can be nice. But some users' feedback about this might be nice...
Also, few things may be improved (like adding fading when cover changes)
2012-03-03 01:20:37 +01:00
Arnaud Bienner a7332d1c83 Add album size info to GS albums, now that we load GS albums in a synchronous way 2012-02-28 23:27:37 +01:00
Arnaud Bienner 0c1eca5ac1 Extract few other metadata info from GS results when initialising song.
However, currently these fields are filled only when calling getAlbumSongs(), unfortunately.
2012-02-28 23:22:09 +01:00
Clementine Buildbot 5c38b42805 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-02-27 10:02:32 +01:00
Arnaud Bienner 886f489353 Try to fix Mac builds 2012-02-27 02:58:15 +01:00
David Sansome 526a9d9960 Fix compilation of the WMDM device lister on windows 2012-02-26 16:00:00 +00:00
David Sansome 04dcfeb9d2 Fix a compile error in a minimal build 2012-02-26 16:00:00 +00:00
Arnaud Bienner 747e0f510f When (global) searching GS albums, retrieve albums' songs at the same time (instead of album load time).
Albums search is slower, but we can display songs in search results, which is IMHO really nicer.
2012-02-26 16:51:11 +01:00
David Sansome 63f13b19f2 Fix a possible crash when an album cover search times out at the same time that it's cancelled or finishes normally. Fixes issue 2752 2012-02-26 15:35:15 +00:00
David Sansome 23724b667f Start album cover request IDs at 1, so 0 can be invalid 2012-02-26 15:12:39 +00:00
David Sansome ab5ccf69da Refactoring: remove BackgroundThread 2012-02-26 15:05:46 +00:00
David Sansome bacef04405 Refactoring: remove a couple of the AlbumCoverLoader instances and instead use a shared CurrentArtLoader. 2012-02-26 14:40:51 +00:00
David Sansome 48f15c9fc7 Refactoring: instead of passing individual pointers to useful core classes (like TaskManager or LibraryBackend) to each class that uses them, pass one singleton-like Application instance everywhere. 2012-02-26 14:40:51 +00:00
Clementine Buildbot c4bf1769c1 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-02-24 23:07:00 +01:00
David Sansome 10af3fef37 Maybe fix a string concatenation crash on startup on OS X. 2012-02-21 12:10:25 +00:00
David Vogt efd7ca3b23 Fix a QStringBuilder/QString conversion in the Remote settings page. 2012-02-21 09:54:44 +00:00
Arnaud Bienner 6cfddc7888 Miss one... 2012-02-20 21:59:11 +01:00
Arnaud Bienner 1f93c26d97 Correct another QStringBuilder/QString conversion 2012-02-20 20:38:50 +01:00
Clementine Buildbot 7b0adc449f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-02-20 10:02:32 +01:00
Arnaud Bienner 906d6f5995 Force background redraw when changing background preferences. 2012-02-19 22:40:58 +01:00
Arnaud Bienner 639fcf6a3b Change background opacity 2012-02-19 22:26:11 +01:00
Arnaud Bienner 7912caa115 Do not use QPainter::setOpacity because, as explained in http://techbase.kde.org/Development/Tutorials/Graphics/Performance#QPainter::setOpacity.28.29 this deactivate hardware acceleration and make Clementine use 100% CPU when using a custom image as background. 2012-02-19 21:43:55 +01:00
Arnaud Bienner b32444dce7 Try to fix Debian and Fedora builds 2012-02-19 17:43:23 +01:00
Angus Gratton f33d9b82d4 Prompt user if they are adding one part of a larger compilation to Various Artists. Fixes issue 2725 2012-02-19 13:55:30 +00:00
Arnaud Bienner 089586ad07 Activate fast QString concatenation.
As this is not source compatible because we sometimes assumed (now wrongly) that '+' operation returns QString object (it now returns QStringBuilder object actually), some minor other corrections were needed.
2012-02-19 14:44:33 +01:00
Arnaud Bienner 2f710a9395 Add the ability to modify the playlistview's background image.
Updates issue 365
It is now possible to also modify background image, instead of just hide the default one
2012-02-18 19:57:36 +01:00
David Sansome 96eccdfabf When receiving a buffering message, do the pipeline state change in a different thread to avoid a deadlock with the main thread when the user is seeking.
Fixes issue 2709
2012-02-13 20:49:25 +00:00
Clementine Buildbot 5b888473aa Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-02-13 10:02:49 +01:00
Paweł Szymański 051c543373 Add darklyrics support and do {field} replacement on extract rules as well as URLs.
Fixes issue 1889
2012-02-12 16:08:41 +00:00
David Sansome 62d5c8224b Remove the hack to disable clementine's global menubar, since the appmenu-qt bug has been fixed upstream. 2012-02-11 16:28:43 +00:00
Martin Björklund 00545a4059 Get better discogs results by using the master image before general releases, and also make fewer requests to the server to fetch images. 2012-02-07 13:05:26 +00:00
John Maguire 53dcdcbe9b Hide "Help" menu on Mac as it's empty.
Fixes issue #2663
2012-02-06 18:00:41 +01:00
John Maguire e7461eb9a2 Set menu roles in ui file. 2012-02-06 17:32:13 +01:00
Clementine Buildbot 8617ea3fa2 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-02-06 10:05:10 +01:00
David Sansome 845fe2122e Use the highlighted text colour as the text colour of the currently playing song in the playlist view 2012-02-02 20:33:40 +00:00
Alan Briolat 04805de5c6 Add %filename% as possible custom OSD variable. Fixes issue 2648 2012-02-02 19:31:15 +00:00
John Maguire 822d766a04 Add constants for chromaprinter decode rate & channels. 2012-02-02 14:15:55 +01:00
John Maguire 4157169ab5 Fix leak of Chromaprint context. 2012-02-02 14:13:34 +01:00
John Maguire 47e437383e Remove unnecessary includes. 2012-02-02 14:08:14 +01:00
Alan Briolat dbca026a66 Added support for shipping GIO modules (e.g. glib-networking) on win32 2012-02-01 20:58:54 +00:00
David Sansome 799c341dc5 Add .mka as well 2012-02-01 20:58:44 +00:00
John Maguire 3e65d3d5f0 Add ScopedNSAutoreleasePool from Chromium. 2012-01-31 13:54:03 +01:00
Clementine Buildbot 1434cf0115 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-01-30 10:04:17 +01:00
David Sansome 2cb61908a9 Add .ape and .wv files to the file view filter, and use this same list in the Open Music dialog. Fixes issue 2533 2012-01-29 20:10:00 +00:00
David Sansome 101195d1a2 Show shortcut key tooltips on the next/previous buttons in the edit tag dialog. Fixes issue 2550 2012-01-29 19:32:36 +00:00
David Sansome 7166f0d922 When pressing Ctrl+C on a playlist item, copy the text of all visible columns, rather than just the text of the "current" one. Fixes issue 2558 2012-01-29 19:24:13 +00:00
David Sansome 281d69581c Add Edit file information and Show in file browser actions to the files view. Fixes issue 2559 2012-01-29 18:44:00 +00:00
David Sansome facb366017 Remove subdirectory watches after a directory is removed from the library. Otherwise subdirectories that changed after the directory was removed would be re-scanned and re-added. 2012-01-29 17:39:28 +00:00
David Sansome b4e1cef2c2 Restore last.fm artist and tag radio names properly. Fixes issue 2607 2012-01-29 16:32:58 +00:00
Alan Briolat 336750f15c Treat "albumartist" as artist, not album 2012-01-29 15:47:15 +00:00
David Sansome 9387b4c40b Don't crash when clicking on the little empty in the windows 7 thumbbar. Fixes issue 2615 2012-01-29 15:46:10 +00:00
David Sansome ad3483e86a Treat spotify: URIs properly when loading playlists. Fixes issue 1715 2012-01-29 15:32:49 +00:00
Alan Briolat 0508fa450c Fixed "Album artist" string in "group by" dialog to reuse existing translations
Fixes issue 2675
2012-01-29 14:50:15 +00:00
Martin Björklund 8d63ddd3eb Add a Discogs cover provider
Fixes issue 1794
2012-01-29 14:27:07 +00:00
David Sansome 69b16fdabc Add some better comments to the buffering stuff in gstenginepipeline 2012-01-27 14:30:28 +00:00
David Sansome 03b0e51b7d Ignore buffering messages from the magic queue2 element that's created by the uridecodebin. Also lower the threshold for buffering to start. 2012-01-27 11:08:18 +00:00
John Maguire b86be65ea1 Add ScopedIOObject. 2012-01-23 18:12:51 -08:00
David Sansome 0335d57a0f Improve pipeline buffering: on an underrun event playback will now pause until the buffer is completely full. Fixes audio stuttering on when listening to radio streams on slow networks. 2012-01-23 15:01:39 +00:00
Clementine Buildbot 2e602a276a Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-01-23 12:39:22 +01:00
David Sansome 58c0f464cd Queue messages in WorkerPool instead of in each individual handler, so the entire queue isn't lost if a worker crashes. 2012-01-22 18:53:17 +00:00
Arnaud Bienner 396f375e8d Correct a bug in Grooveshark that make the subscribed playlists to be added in playlists_.
As a result, subscribed playlists are shown in 'Add to Grooveshark' action (when right clicking a GS song), whereas user cannot actually change this kind of playlist
2012-01-22 17:28:58 +01:00
Руслан Ижбулатов 79ebbf3894 COM fixes
Fix COM calls handling (check the result, print it)
Destroy icons after use
Use wide-char zero
2012-01-22 15:08:50 +00:00
Руслан Ижбулатов 0fd9195e5a Use correct wide char zero 2012-01-22 14:58:29 +00:00
Руслан Ижбулатов 5c45e22e28 Make SAC and WMDM optional 2012-01-22 14:35:22 +00:00
John Maguire ab33d9aa8c Fix a bunch of small memory leaks in the mac device handling code. 2012-01-20 16:25:05 -08:00
John Maguire 028ac3126c Use scoped_nsobject & ScopedCFTypeRef in a load of places. 2012-01-20 16:06:56 -08:00
John Maguire 17c8189dcf Add and use scoped_cftyperef from Chromium. 2012-01-20 15:46:33 -08:00
John Maguire 87b94de0d7 Save background stream state as soon as it is changed. 2012-01-20 15:24:43 -08:00
John Maguire fddde512c9 Update old logging statements. 2012-01-20 15:22:14 -08:00
John Maguire e83616ad09 Fix build on Clang. 2012-01-19 15:33:16 -08:00
Alan Briolat 66cc5d432e Add pretty printer for Qt enums. 2012-01-19 14:20:26 -08:00
Orcan Ogetbil 9dd4b1bb94 Use SHA2 system library when available
Fixes issue 2623
2012-01-17 23:12:44 +01:00
Jonathan Horvath fdf10af94a Display smart playlist query terms in a scrollable list instead of squishing them together when there are lots. Fixes issue 1065 2012-01-15 15:44:18 +00:00
Arnaud Bienner da35fab076 Save default QApplication palette when starting Clementine
Update issue 2603
Hopefully, this will fix this issue for other systems this time...
2012-01-14 16:27:49 +01:00
Arnaud Bienner 97d8365c56 Also refresh stylesheet when chanfing application's QPalette 2012-01-14 16:27:36 +01:00
Arnaud Bienner 22d1608bdc Explicitly use a default QPalette
Update issue 2603
Hopefully, this fixes this issue
2012-01-12 23:01:05 +01:00
John Maguire dfdb71b164 Make it so!
Fixes issue #2527
2012-01-10 17:00:17 +01:00
David Sansome 6ab38e0093 Add ValiCert's root CA to QSslSocket's list to fix an "invalid username/password" error when connecting to Grooveshark on a Windows machine that didn't have all the root CAs installed.
Fixes issue 2532
2012-01-09 22:57:24 +00:00
Arnaud Bienner f6d2306c05 Add various missing things for appearance customization 2012-01-09 21:15:42 +01:00
Arnaud Bienner 034d679baa Remove .pot file, once again 2012-01-09 20:25:40 +01:00
Arnaud Bienner b08567b697 Merge commit '710536ad506d' into appearance 2012-01-09 20:24:26 +01:00
Arnaud Bienner d03345d0f6 Remove .pot file 2012-01-09 20:19:01 +01:00
Arnaud Bienner c2d794c014 Merge branch 'master' into appearance 2012-01-09 20:15:10 +01:00
Arnaud Bienner ea063e1c39 Add missing modifications 2012-01-09 20:08:09 +01:00
John Maguire 0c5f422eb8 * Add check that chromaprinter is only used from a non-UI thread.
* Update copyright date
2012-01-09 15:32:15 +01:00
John Maguire aa20c2b226 Deploy clementine-tagreader on mac. 2012-01-09 11:24:34 +00:00
Arnaud Bienner 710536ad50 Start working on UI customization. Allow user to change global background/foreground colors. Some work still required to update all components' colors
Update issue 219
Started!
2012-01-09 00:01:01 +01:00
David Sansome 626ce20ec0 Merge branch 'external-tagreader' 2012-01-08 18:38:48 +00:00
David Sansome d4b4606068 Create the FilesystemWatcherInterface directly in the LibraryWatcher, fixing a crash when trying to add a new device. 2012-01-08 18:37:46 +00:00
David Sansome ff92815ef0 Display any SSL or HTTP errors that occur when creating a grooveshark session 2012-01-08 17:46:50 +00:00
David Sansome 3e0f252b34 Exit worker processes when their sockets are closed, and make sure the main app closes sockets when exiting - fixes a crash dialog on Windows. 2012-01-08 16:35:01 +00:00
David Sansome 5b71ed0837 Use a better spotify icon in the Source row, clean up pixmap drawing code 2012-01-08 15:16:36 +00:00
David Sansome bbf99fdd0b Change Spotify to use the new MessageHandler, remove SpotifyMessageHandler 2012-01-08 15:10:11 +00:00
David Sansome 2e49e89e7b Fix a crash on startup after disabling watching the library for changes. Fixes issue 2585 2012-01-08 12:55:06 +00:00
David Sansome bdf0ff4930 Make the "Loading" song info indicator and playlist queue/stop after indicators look nicer by aligning their QPainters properly 2012-01-07 23:52:31 +00:00
David Sansome 67c6dead5a Rename SpotifyMessage to Message 2012-01-07 23:31:43 +00:00
David Sansome 68a379ef26 Use pb::spotify instead of spotify_pb for the protobuf namespace 2012-01-07 23:26:27 +00:00
David Sansome ccb3a0aa3a Show a detailed error when the tagreader executable couldn't be started. 2012-01-07 22:58:30 +00:00
David Sansome 31f423a0ff Fix a compilation error 2012-01-07 22:58:19 +00:00
David Sansome 4618651cf4 Merge branch 'master' into external-tagreader 2012-01-07 22:52:18 +00:00
David Sansome e9c0b4bd69 Musicbrainz tagging improvements:
* Fix a bug where the song title would be used for the album field
  * Get the album's year as well
  * Include all releases for a song in the results list
  * Remove duplicate albums
  * Sort results
2012-01-07 21:51:02 +00:00
David Sansome d17629586f Use the system version of libchromaprint if available 2012-01-07 15:27:50 +00:00
David Sansome 9be641ee87 The external tagreader mostly works now:
* Make TagReaderClient a singleton until it's easier to pass dependencies around
 * Add a WaitForSignal() that uses a local event loop to wait for a signal to be emitted
 * Add a WaitForFinished() to _MessageReplyBase that blocks using a semaphore
 * Add blocking versions of all TagReaderClient methods
 * Use the TagReaderClient everywhere that Song::InitFromFile and friends were used before
2012-01-07 00:26:07 +00:00
John Maguire d6bada074a Port Musicbrainz track lookups to API v2. 2012-01-06 17:01:46 +00:00
John Maguire cdb381a85f Rename MusicDNS -> Acoustid. 2012-01-06 16:51:27 +00:00
John Maguire 9bb37fda62 Disable callbacks after generating fingerprint. 2012-01-06 16:45:34 +00:00
John Maguire 598948d16e Remove echoprint. 2012-01-06 16:42:22 +00:00
John Maguire f241124b1d Remove old OFA fingerprinter. 2012-01-06 16:40:08 +00:00
John Maguire db83c411c2 * Use Chromaprinter instead of OFA fingerprinter.
* Send fingerprint to Acoustid instead of MusicDNS.
* Retrieve MBID instead of PUID and send to Musicbrainz.
2012-01-06 16:31:29 +00:00
John Maguire 423295b01e Add Chromaprinter class to generate fingerprint from gstreamer PCM output. 2012-01-06 15:58:46 +00:00
John Maguire b9eec4ce38 Build & link against Chromaprint. 2012-01-06 15:57:51 +00:00
David Sansome 74c4720054 Don't crash when the playlist view in the smart playlist preview doesn't get a Player*. 2012-01-06 11:22:17 +00:00
David Sansome 9041117867 Move everything around in the source tree - static libraries and external binaries now go in "ext/". Add a generic worker pool. 2012-01-05 23:25:13 +00:00
David Sansome 85f2f087cb Start work on moving everything that uses taglib out into an external process. 2012-01-05 23:24:48 +00:00
John Maguire 483c36748e const& and tweaks to Mac directory canonicalisation. 2012-01-05 16:11:39 +00:00
John Maguire 761737eb4d Add more robust subdirectory detection in LibraryWatcher. 2012-01-05 15:56:46 +00:00
John Maguire 97f3885f58 Add copyright headers. 2012-01-05 15:08:15 +00:00
John Maguire 047bec831b Revert irrelevant musicdns changes. 2012-01-05 15:06:32 +00:00
John Maguire 55e9fd8dc3 Disable watching for FS updates when requested. 2012-01-05 15:01:43 +00:00
John Maguire 9fdfb52225 Use FSEvent-based filesystem watcher on Mac. 2012-01-05 14:51:23 +00:00
David Sansome 527135abb1 Stop the organise files dialog from resizing only after a manual resize has been done by the user - otherwise the dialog doesn't grow/shrink automatically when you select a new destination. 2012-01-04 22:29:26 +00:00
David Sansome 76e6281af5 Revert "Stop the 'Organise files' window constantly resizing. Fixes issue 968."
This reverts commit 9cfe834ef4.
2012-01-04 22:21:39 +00:00
David Sansome 4cbc221f00 Don't set a "file" url scheme on files in devices that already have URL prefixes (like afc:// for iPod Touches)
Fixes issue 2564
2012-01-04 22:11:42 +00:00
David Sansome bfd725f2ed Don't crash when adding new columns to a stretch header view.
Fixes issue 2562
2012-01-04 18:45:08 +00:00
John Maguire 11619c9484 Bump the playlist view state version. 2012-01-04 15:43:28 +00:00
John Maguire 0139f36e2d Add scoped_nsobject from Chrome. 2012-01-04 15:33:12 +00:00
John Maguire 3f0c779308 Add QObject constructor. 2012-01-04 15:26:22 +00:00
John Maguire 96aa95bebd Add filesystem watcher using Mac FSEvents API. 2012-01-04 15:24:53 +00:00
John Maguire 058e421827 Move mac init code after logging init. 2012-01-04 14:08:31 +00:00