Commit Graph

4481 Commits

Author SHA1 Message Date
ArnaudBienner ba3998e79b Merge pull request #4465 from Mikah89/fix_album_shuffle_issue
Fix album shuffle issue
2014-08-13 10:16:28 +02:00
Alan Briolat 7a46629d97 Fix a stupid missed semicolon
I appear to be suffering from too much Python...
2014-08-12 21:36:00 +01:00
John Maguire e876df1b23 Merge pull request #4456 from Shedward/vk-broadcasting
Vk.com broadcasting.
2014-08-12 22:04:45 +02:00
Vlad Maltsev 08c0f7d28f Fix misspelled names. 2014-08-13 02:15:33 +07:00
John Maguire 054749b690 Merge pull request #4479 from alanbriolat/playlist-path-separators
Always convert path separators when reading playlists (fixes #1838)
2014-08-12 14:30:59 +02:00
Alan Briolat c02ea88bfe Always convert path separators when reading playlists (fixes #1838) 2014-08-12 13:01:59 +01:00
Alan Briolat a0c890592f Fix detection of parent-relative paths in playlist saving
File or directory names containing ``..`` caused saved playlists to
contain absolute paths instead of relative paths even when the relative
path was "safe".  This changes the detection to be more strict.

Potentially related to #4463.
2014-08-12 11:40:20 +01:00
Clementine Buildbot 8b5a6eb1f8 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-08-11 10:01:34 +02:00
Arnaud Bienner 57ad86064d Limit the MusicBrainz requests by track.
3 should be enough. It's unlikely that the other ids will be really revelant.
2014-08-11 00:37:02 +02:00
Arnaud Bienner 9b8d09061f We should not sort result from Musicbrainz: they seem to be already sorted by relevance. 2014-08-10 14:23:07 +02:00
Arnaud Bienner 80d272f3d0 None was OK to achieve what I want. Should be better now 2014-08-10 14:22:42 +02:00
Arnaud Bienner bc7bc9910d Actually, I was wrong modifying UniqueResults. We should just not sort the results at the end, to keep the initial order we wanted 2014-08-10 13:20:11 +02:00
Arnaud Bienner 93b4b2caac Get more results from MusicBrainz, and sort them by relevance.
We were stopping at the first one in AcoustidClient::RequestFinished.
To make things worse, it seems that results we received weren't sorted, so we sometimes ignored the most relevant one.
2014-08-09 01:48:35 +02:00
Arnaud Bienner 47108a9a68 Add a message in CMake to notify that ccache has been found and will be used (+ some minor, unrelated things). 2014-08-06 20:05:41 +02:00
Clementine Buildbot 4d9e500fe1 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-08-04 10:01:39 +02:00
Vlad Maltsev e65596cba6 make format 2014-08-03 19:40:06 +07:00
Vlad Maltsev bff79664bc Broadcasting realisation. 2014-08-03 19:10:09 +07:00
Helder Martins e4054fad5e Clarified comment to be more accurate of what it does 2014-08-03 10:48:01 +01:00
Clementine Buildbot e62b603826 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-07-28 10:01:39 +02:00
Helder Martins 56fc242520 complemented condition inside reshuffleindices function to take into account the selected track 2014-07-27 23:07:50 +01:00
Arnaud Bienner 0976cc7e5c Give Clementine the answer to the ultimate question of life, the universe and everything
Probably my most valuable contribution so far
2014-07-24 23:48:45 +02:00
Helder Martins cbfd3218f2 Cleaning unnecessary code 2014-07-23 23:47:12 +01:00
Helder Martins 0c2d4e9f1c Fixed a minor issue where the playlist wasnt updating the queue order, when a track was dequeued using the ctrl-d shortcut 2014-07-23 00:15:06 +01:00
ArnaudBienner bc754e0a26 Merge pull request #4440 from Chocobozzz/master
No namespaces for DBus interfaces. Fixes #4401
2014-07-21 13:36:09 +02:00
Clementine Buildbot d600685c0b Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-07-21 10:01:43 +02:00
Chocobozzz 82a8c64ac8 Add ampache compatibility 2014-07-16 18:49:58 +02:00
Chocobozzz ec580cb815 No namespaces for DBus interfaces. Fixes #4401 2014-07-16 15:57:25 +02:00
Clementine Buildbot 793dfe3676 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-07-07 10:01:45 +02:00
Clementine Buildbot 40431b7616 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-06-30 10:01:48 +02:00
Arnaud Bienner 80009ea260 Add a tooltip to this new option. IMO the text description might be not obvious enough to everyone 2014-06-24 21:42:34 +02:00
John Maguire 9095c8744d Merge pull request #4416 from alecksphillips/click-show-cover
Added left-click to show fullsize cover on NowPlayingWidget.
2014-06-24 15:19:49 +02:00
alecksphillips 843029b334 Changes as requested
Removed unnecessary () and changed to hypnotoad_.get()
2014-06-24 11:17:46 +01:00
Gu1 62ecfe19f7 Add an option to disable inline song metadata editing through click 2014-06-23 18:40:00 +02:00
alecksphillips a9c944e42a Added left-click to show fullsize cover on NowPlayingWidget.
This intuitively mirrors the behaviour of clicking an image in the Artist Info page
2014-06-22 18:18:23 +01:00
John Maguire 03eb241c00 Add header for std::pow 2014-06-19 15:34:10 +02:00
David Sansome d5617c0daf Set the media role for pulse audio 2014-06-19 22:51:58 +10:00
Alibek Omarov a8c2537056 RainbowDash analyzer now more pretty 2014-06-18 23:37:43 +06:00
Alibek Omarov 60ae9e9408 Now Bar Analyzer respects color scheme 2014-06-18 21:55:29 +06:00
Clementine Buildbot e0920054a9 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-06-16 10:01:47 +02:00
Clementine Buildbot 554e1bcc4d Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-06-09 10:01:48 +02:00
David Sansome 6bb81328e8 Merge branch 'master' into gstreamer-1.2
Conflicts:
	ext/clementine-spotifyblob/mediapipeline.cpp
	gst/moodbar/gstfftwspectrum.c
	src/core/songloader.cpp
	src/core/songloader.h
	src/engines/gstengine.cpp
	src/engines/gstenginepipeline.cpp
	src/moodbar/moodbarpipeline.cpp
	src/musicbrainz/chromaprinter.cpp
	src/transcoder/transcoder.cpp
	src/ui/mainwindow.cpp
	src/visualisations/projectmvisualisation.cpp
2014-06-09 16:20:24 +10:00
David Sansome 0cd3d9b34f Don't do seafile stuff unless signed in. 2014-06-07 15:29:28 +10:00
David Sansome 01ae151f8a Delay writing WMA ratings and play counts until playback has finished. Fixes #3593 2014-06-07 15:29:23 +10:00
David Sansome f6a72828a9 Write statistics and ratings in Library, not LibraryBackend. 2014-06-07 15:19:43 +10:00
David Sansome c8625deffb Update persistent model indexes properly when sorting the playlist. Fixes #4358 2014-06-07 13:31:25 +10:00
David Sansome bfc941bb7f Use a better colour for labels in the edit tag dialog on dark themes. Fixes #4377 2014-06-07 12:48:32 +10:00
David Sansome 53be1e1f65 Revert "Use guaranteed random number generator." Fixes #4400
This reverts commit 9f6899ac82.
2014-06-07 12:12:08 +10:00
John Maguire 96ad4554d9 Merge pull request #4392 from Chocobozzz/master
Add Seafile Support
2014-06-05 16:50:45 +02:00
Chocobozzz 571ffdff1d delete another delegating constructor 2014-06-05 16:34:15 +02:00
Chocobozzz 09acc2336f Delete the delegating constructors (entry and treeitem) 2014-06-05 14:24:06 +02:00
David Sansome c03c0def19 Add menu items for updating and doing a full rescan of Google Drive 2014-06-05 20:20:58 +10:00
Chocobozzz f14ec51a60 add constant for max tries and correct memory leaks 2014-06-04 18:44:23 +02:00
Chocobozzz e484306631 Correction after hatstand's review 2014-06-04 17:58:28 +02:00
Chocobozzz 1fc95cb7ed Add Seafile Support 2014-06-03 14:33:07 +02:00
Narfinger fd7daf2839 deleting track/disc/year in the spinbox should correct to the nearest
value and not to the last digit
2014-06-02 22:38:42 +02:00
John Maguire 838da7f790 Merge pull request #4375 from paperbagcorner/fix-musicbrainz
Fix parsing of MusicBrainz data for discid
2014-06-02 16:45:06 +02:00
Mattias Andersson ac162c3477 Move qRegisterMetaType back to SetUpTestCase(). Add comment
regarding ownership of the optional argument to MusicBrainzClient().
2014-06-02 16:34:03 +02:00
Clementine Buildbot ae1d26d7b7 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-06-02 10:01:57 +02:00
David Sansome 1e3cfb0a2c Don't try to update the scope if there's no buffer yet. Fixes #4388 2014-06-02 12:46:45 +10:00
David Sansome e72cd6648a Set a minimum height on the equaliser sliders. Fixes #4380 2014-06-01 20:45:14 +10:00
David Sansome 162b2efbb0 If we don't know the length of a song from the metadata, get it from the pipeline which has the real length. Fixes #2818 when the length isn't in the podcast metadata. 2014-05-29 21:33:53 +10:00
David Sansome d99f4032b3 Do case insensitive comparisons on XML namespaces in podcasts. Fixes parsing of the length field in some (most?) podcasts. Fixes #2818. 2014-05-29 21:11:49 +10:00
David Sansome 453a012f21 Make it impossible to collapse either side of the MainWindow splitter. Fixes #4384 2014-05-29 20:43:43 +10:00
David Sansome c8661541a4 Merge pull request #4383 from TheUbuntuGuy/libcache
Fix memory leak in pixmap disk cache
2014-05-29 07:57:41 +10:00
Mark Furneaux b463f32459 Fix memory leak in pixmap disk cache 2014-05-28 17:30:07 -04:00
David Sansome acaa374139 Merge pull request #4382 from TheUbuntuGuy/libcache
Add persistent disk cache for library pixmaps.  Fixes #4379
2014-05-28 14:55:51 +10:00
Mark Furneaux b2bd7828c4 More style changes 2014-05-27 20:18:24 -04:00
Mark Furneaux 94b391e0c9 Optimizations and style changes 2014-05-27 18:21:30 -04:00
Mark Furneaux 2332a74bbe Add persistent disk cache for library pixmaps
I'll reference #4379

When viewing the library with album covers visible, the covers load very slowly the first time
as they have to wait on the tagreaders. If I scroll down the library, it takes minutes for the
tagreader to catch up. The nice thing is that the pixmaps are cached. However, once
Clementine is restarted, the whole process has to happen again.

This patch adds a persistent disk cache in the form of a QNetworkDiskCache to store the
pixmaps on disk and load them into the QPixmapCache as required.

I've noted literally night and day performance improvements, not only when scrolling through the library.
There is much better interface responsiveness when searching, and I no longer see the no_cover_icon
temporarily anymore.
2014-05-27 17:40:25 -04:00
ArnaudBienner f9be68a3a1 Merge pull request #4376 from TheUbuntuGuy/master
Fix dbz possibility in moodbar
2014-05-27 12:33:07 +02:00
Clementine Buildbot 26014890e9 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-05-26 10:01:56 +02:00
Arnaud Bienner 134b617ec4 Emit dataChanged when changing skip track state.
Otherwise, when changing this for the currently playing track, the "strike out" change wasn't visible.
2014-05-25 18:44:54 +02:00
Mark Furneaux af42ccea38 Fix dbz possibility in moodbar
Took me forever to find this. Randomly happens when changing tracks.
2014-05-25 00:16:12 -04:00
Mattias Andersson 0be0498e94 Reset the model during init of CddaDevice
This ensures that the track list in the device tab is correctly updated when a
disc is replaced with one that doesn't exist in the MusicBrainz database.
2014-05-24 13:54:07 +02:00
Mattias Andersson 68d445fed2 Parse discid xml from MusicBrainz correctly. Fixes #4025. 2014-05-24 13:54:07 +02:00
Mattias Andersson e14c59948f Add test for MusicBrainzClient. 2014-05-24 13:54:07 +02:00
David Sansome f65c48ef9c Fix the rendering of the little numbers in the boxes on queued items in the playlist 2014-05-24 14:05:21 +10:00
David Sansome 96dd87a4f3 Treat trashed files as deleted. Fixes #4374 2014-05-24 13:48:45 +10:00
David Sansome 5f05353939 Change Name to Action in the Configure Shortcuts settings page. Fixes #4310 2014-05-24 13:29:46 +10:00
David Sansome c217450d0c Fix some bad sizeof -> arraysize changes from revision 41e9c15248. 2014-05-23 21:31:50 +10:00
Mark Furneaux c404552682 Fix random artifacting on nyanalyzer on startup
memset works on bytes, not the source datatype width
2014-05-23 07:20:13 -04:00
John Maguire 0dae8ecf27 Merge pull request #4367 from TheUbuntuGuy/master
Add new analyzer "Rainbow Dash"
2014-05-22 16:00:47 +01:00
Mark Furneaux f2a1defa2a Make sizeof more generic 2014-05-22 10:58:08 -04:00
Mark Furneaux 663b7430d8 Add new analyzer "Rainbow Dash"
As requested in SuperUltraCriticalShowstopper request #2685
I have built an analyzer based on Rainbow Dash
...oh god, what have I done...

This will either make some people happy, or is absolute garbage.
2014-05-22 10:33:21 -04:00
Mattias Andersson 4569bd9f2f Check for error when getting the number of cd tracks. Build an empty
track list table if this is the case.
2014-05-22 07:51:08 +02:00
Mattias Andersson 0c76ca3c45 Don't start ripping unless the user has selected some tracks. 2014-05-21 18:07:48 +02:00
John Maguire 1f97406171 Revert "Send album artist to Last.fm"
This reverts commit d7ec8b9103.
AlbumArtist seems unsupported by newer liblastfm.
2014-05-21 17:47:01 +02:00
John Maguire 7702271fe6 Merge pull request #4344 from paperbagcorner/fix-tagging
Improve the tagging and the track information handling in the CD ripper
2014-05-21 15:46:00 +01:00
Mattias Andersson 8bb19f1887 Save tags using async calls. 2014-05-21 16:36:46 +02:00
David Sansome 48731d0420 Merge pull request #4364 from TheUbuntuGuy/master
Add icons to extras: hypnotoad, kittens, enterprise.  Fixes #1601
2014-05-21 22:12:53 +10:00
Mark Furneaux 805d8f85b0 Add icons to extras: hypnotoad, kittens, enterprise
Fixes totally critical bug #1601
2014-05-21 07:26:16 -04:00
Diogo Pereira d7ec8b9103 Send album artist to Last.fm 2014-05-20 21:20:55 +01:00
John Maguire 9f6899ac82 Use guaranteed random number generator.
Fixes #4352
2014-05-20 17:03:04 +02:00
John Maguire efcb5c4adc Merge pull request #4359 from TheUbuntuGuy/slider
Increase update rate of track slider
2014-05-20 12:50:58 +01:00
Mark Furneaux bd87230301 Change constant format 2014-05-20 07:44:30 -04:00
John Maguire 24a4cff807 Merge pull request #4288 from sundrythoughts/rating-optimization
Increase performance of mass rating changes.
2014-05-20 12:42:39 +01:00
Mark Furneaux 7fb30f2596 Add constants to track progress timers 2014-05-20 07:29:59 -04:00
Mark Furneaux b76af5f792 Increase update rate of track slider
Increases the refresh rate of the track progress bar to 25fps.
This looks much better with moodbars than the previous 1fps.
All the common code that use to run at 1fps still retains that
rate so the overhead due to this is negligible.
2014-05-19 11:51:40 -04:00
Clementine Buildbot b2abe5ff51 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2014-05-19 10:01:50 +02:00
John Maguire 8919b730da Update Jamendo db dump URL.
Fixes #4351
2014-05-18 18:10:56 +02:00