Commit Graph

90 Commits

Author SHA1 Message Date
Wieland Hoffmann
bfa59c989b replaygain: Fix the calculation on single tracks 2013-11-25 13:55:33 +01:00
Wieland Hoffmann
3f3ccde421 replaygain: Don't calculate album gains over NATs
The album gain values are now calculated per track and still saved.
2013-11-25 13:50:56 +01:00
Wieland Hoffmann
1e513b743e replaygain: Use a defaultdict in split_files_by_type 2013-11-25 13:29:13 +01:00
Laurent Monin
8194168f5d Unify comment style 2013-08-18 20:05:08 +02:00
Laurent Monin
c272099bd9 Improve conformance to PEP8, tidy up. 2013-08-15 15:01:41 +02:00
Wieland Hoffmann
de8c27134f Adjust the replaygain plugin to the changes in threading 2013-08-14 18:22:51 +02:00
Sophist
26b310d04b Minor white-space tweaks 2013-06-17 07:48:45 +01:00
Sophist
c809968d1c Fix function and white space 2013-06-06 10:06:39 +01:00
Sophist
738fbd94d5 Remove sorting for displayed multi-value tags and provide a sort tags plugin
Picard stores tags unsorted but displays them sorted and this is
inconsistent.

This commit removes display sorting of multi-value tags from Picard
improves consistency by displaying what will be / is actually saved.

This commit also provides a plug-in to allow user to sort tags both
displayed and stored in the file.
2013-06-03 08:17:53 +01:00
Wieland Hoffmann
243eed13b8 addrelease: initialize discnumber_shift outside the loop 2013-04-10 10:39:51 +02:00
Wieland Hoffmann
d381048216 addrelease: Try harder to seed the RE properly
Disc numbers <= 0 were previously changed to values lower than 0 which
caused the RE to crash. Fix this by using the lowest disc number of the
cluster (which is somewhat sorted) to figure out the difference between
that disc number and 0 and use that number to change all disc number to
be 0-based while preserving their order.
2013-04-03 11:50:07 +02:00
Lukáš Lalinský
be552f84ef Handle Unicode apostrophe as well
http://forums.musicbrainz.org/viewtopic.php?pid=20715
2012-12-30 17:14:07 +01:00
Wieland Hoffmann
b500f27a50 Move the coverart plugin from contrib/ to picard/ 2012-09-11 11:34:51 +02:00
Wieland Hoffmann
5d6f9ea443 coverart: do not try the caa if all providers are disabled 2012-09-11 11:34:19 +02:00
Wieland Hoffmann
5719aa4bac coverart: Do not try to re-fetch index.json after a failure 2012-09-11 11:34:19 +02:00
Wieland Hoffmann
895c9b62f7 Add settings for the coverart plugin
This extends the coverart plugin to provide an options page so users can
configure which cover art provider they want to use and, in case of the
CAA, which image sizes and image types to download.
2012-09-11 11:34:18 +02:00
Chad Wilson
7a47dc9c35 Fix the addrelease plugin to be compatible with changes made to the metadatabox and clusters (clusters no longer have the 'artist' tag; only 'albumartist'). Updated the compatible API version accordingly. If we don't release next version as 1.0, please chage the plugin' API version accordingly! 2012-05-26 16:56:15 +08:00
Chad Wilson
6b0516a3df Not necessary to have this here now; have imported foolip's repo which has this version as first commit (too lazy to combine file history and do git magic). Besides this doesn't work with current MB website, so only historically interesting. 2012-05-26 16:24:51 +08:00
Chad Wilson
841ad23460 Merge branch 'master' of ../addrelease into addrelease 2012-05-26 16:17:22 +08:00
Chad Wilson
eb354c0cd2 Moved plugin to correct subdir with respect to main Picard repo 2012-05-26 15:41:04 +08:00
Lukáš Lalinský
3fac843a0f Merge remote-tracking branch 'mineo/caa' 2012-05-10 12:52:16 +02:00
Bryan Toth
e7499763bb Changed the featartist plugins to perform case insensitive searches for " feat." 2012-05-03 01:54:47 -04:00
Wieland Hoffmann
cab1ed7bd8 Disable the rate limit for coverartarchive.org 2012-04-03 22:06:05 +02:00
Wieland Hoffmann
4260687f3a Extend the coverart plugin to support coverartarchive.org 2012-03-23 20:19:57 +01:00
Wieland Hoffmann
46daac69da Add WavPack to the replaygain plugin 2012-01-08 14:11:43 +01:00
Wieland Hoffmann
d740349ee4 remove spaces in empty lines 2012-01-08 13:47:47 +01:00
Wieland Hoffmann
49a555364c remove unused imports 2012-01-08 13:46:50 +01:00
Michael Wiencek
0a6b28133e Remove some redundant code from the lastfmplus plugin 2011-08-10 15:01:29 -05:00
Chad Wilson
fcac49bb8c - Fix issue with translations not applying correctly for first track loaded (or first album if not using track tags). Also noted at http://forums.musicbrainz.org/viewtopic.php?pid=12901#p12901
- Allow translations (and all config settings) to be changed and applied after "refresh" without having to restart Picard
- Remove redundant parameters
- Fix bug in calculating highest translated tag weighting
- Reloading defaults now has consistent comma separation
2011-08-07 21:38:49 +08:00
Chad Wilson
1a6e5b07f4 has_key -> "in" 2011-07-31 15:57:28 +08:00
Chad Wilson
1a8ee0223a - Fix caching in Lastfm plugin to avoid queueing duplicate requests for the same URL. Instead, keeps an internal url -> track_process_function dict to defer processing of these tracks.
- Change request delay to 5 per second as the TOS seems to allow
- Remove some old commented code
2011-07-31 11:17:11 +08:00
Chad Wilson
6afc34bdf5 Fix priority setting for requests so albums open in a logical order 2011-07-31 10:58:21 +08:00
Chad Wilson
fdd87a828d Add the Lastfmplus plugin and update it for full 0.15 compatibility
- Caching is now compatible with 0.15 webservice requests manager - avoids re-requesting the same URL (especially for artist tags)
- Dodgy code that was accessing/updating album._new_tracks removed
- Request delay reduced to 200ms, in accordance with http://www.last.fm/api/tos
- Default "year" filter list updated
- Remove redundant "split artists" code
2011-07-31 00:16:32 +08:00
Johannes Weißl
fd9cc93554 Add no_release plugin. 2011-07-25 23:59:51 +02:00
Michael Wiencek
eeb059fadc Merging with gsoc-ngs branch. 2011-07-12 13:52:48 -05:00
Johannes Weißl
495a2bc0d6 Update release_type.py plugin
This should not happen any more:
"EP" -> "EP EP"
"Holiday EP #1" -> "Holiday EP #1 EP"

Also checked to be working with Picard 0.15.
2011-06-29 01:57:04 +02:00
Johannes Weißl
c778309a47 Add release_type.py plugin, from http://sumafi.com/files/release_type.py
Author: Elliot Chance
2011-06-29 01:56:18 +02:00
Michael Wiencek
3b52ea5571 Does the opposite of featartist.py 2011-06-28 16:46:02 -05:00
Lukáš Lalinský
95ef461b5e Temporary fix for the cover art plugin 2011-05-30 11:15:04 +02:00
Lukáš Lalinský
1e35bd1500 Add a plugin for old-style disc numbers in album titles 2011-05-29 19:36:23 +02:00
Lukáš Lalinský
ac6c2fd547 Mark some plugins as compatible with 0.15 2011-05-29 19:24:39 +02:00
Lukáš Lalinský
5bae5973bb Merge lp:~miracle2k/picard/export 2011-04-09 12:42:06 +02:00
Philipp Wolfer
e3e3e4fe83 Properly encode URLs without using urllib.
Fix for previous revision 1063.
2011-03-30 14:34:08 +02:00
Michael Elsdörfer
e39a0c3987 Support downloading album art that contains special characters. 2011-03-28 23:41:28 +02:00
Philipp Wolfer
37bce1192b Merge open file/folder plugin. 2011-03-28 23:38:44 +02:00
Philipp Wolfer
0b32a4b608 Increased version of coverart plugin 2011-03-28 23:22:42 +02:00
Philipp Wolfer
9c55327b87 Cleanly handle albums without ARs in coverart plugin. 2011-03-28 23:19:11 +02:00
Michael Elsdörfer
ada8a1f905 Added a "Copy cluster tracklist to clipboard" plugin, so it can be used to add a release to MB via the trackparser, if the URL would be too long for the server. 2011-03-27 13:37:45 +02:00
Michael Elsdörfer
aee954a18e Added a plugin to open a file or track's folder in the GUI explorer, or start the file directly. 2011-01-23 21:53:25 +01:00
Philipp Wolfer
3e151270fb Properly log exception in coverart plugin and in general avoid exceptions when logging. 2010-10-11 22:15:08 +02:00