Commit Graph

7535 Commits

Author SHA1 Message Date
Laurent Monin
0531410484 Merge pull request #253 from Sophist-UK/sophist_additional_script_functions
Sophist additional script functions
2014-04-19 09:16:36 +02:00
Laurent Monin
d37c27ca30 Merge pull request #294 from zas/contrib_plugins_setup
Add all .py files from contrib/plugins to executable
2014-04-19 09:11:46 +02:00
Laurent Monin
905778be0a Add all .py files from contrib/plugins to executable 2014-04-19 09:07:05 +02:00
Laurent Monin
15bf5dbdb4 Merge pull request #292 from Sophist-UK/sophist_fix_inconsistency_in_#238
Fix terminology inconsistency ...
2014-04-19 07:49:15 +02:00
Laurent Monin
facd986b1f Merge pull request #281 from mwiencek/kill-id3metadata
Move ID3Metadata functionality to new_metadata property
2014-04-19 07:48:41 +02:00
Sophist
e7d54740fb Fix terminology inconsistency ...
... created in #238
2014-04-18 16:29:23 +01:00
Sophist
687a376671 Remove unnecessary for loops (bitmap) 2014-04-18 15:44:12 +01:00
Sophist
dd03540f15 Add eq_all, ne_any as requested by Freso 2014-04-18 15:44:11 +01:00
Sophist
6a7446a159 Adjust NEWS.txt 2014-04-18 15:43:44 +01:00
Sophist
9291fcbb46 Add tests 2014-04-18 15:43:13 +01:00
Sophist
cc6f9b679c Use regex, fix typos. 2014-04-18 15:43:12 +01:00
Sophist
6bb175bd9a Fix typo in function documentation. 2014-04-18 15:43:11 +01:00
Sophist
fa004dc9c9 Adopt simplification proposed by mineo 2014-04-18 15:43:09 +01:00
Sophist
4ec996bcd6 Revert reuse of eq/ne and rename again 2014-04-18 15:43:08 +01:00
Sophist
601f6e45eb Extend eq / ne reather than new eq2 / ne2 2014-04-18 15:43:06 +01:00
Sophist
278f848ba9 Add NEWS.txt item. 2014-04-18 15:43:04 +01:00
Sophist
2a0c939ad3 Integrate a couple more plugins ...
eq2 and ne2 by Brian Schweitzer.
2014-04-18 15:41:44 +01:00
Sophist
eebf7f46ff Move swapprefix to Picard proper...
... and add similar delprefix
2014-04-18 15:41:42 +01:00
Laurent Monin
f387fa742d Regenerate picard.pot 2014-04-17 08:38:59 +02:00
Laurent Monin
7ad98a7c4c Partially update translations.
> 95% only
2014-04-17 08:20:32 +02:00
Laurent Monin
141c4d9976 Regenerate attributes.py 2014-04-17 08:19:07 +02:00
Laurent Monin
5b0e1395cb Merge branch 'Sophist-UK-sophist_add_album_artist_website_plugin' 2014-04-16 16:34:12 +02:00
Laurent Monin
28d6bf90ec Merge branch 'sophist_add_album_artist_website_plugin' of git://github.com/Sophist-UK/picard into Sophist-UK-sophist_add_album_artist_website_plugin
Conflicts:
	NEWS.txt
2014-04-16 16:30:31 +02:00
Laurent Monin
4cc5cd064c Merge pull request #260 from Sophist-UK/sophist_add_view_variables_plugin
Add View Variables plugin
2014-04-16 16:19:11 +02:00
Laurent Monin
54776d27d7 Prevent AttributeError when there is no "release_type_scores" option
It may happen during config option upgrade:
picard.config.ConfigUpgradeError: Error during config upgrade from version 1.3.0dev3 to 1.3.0dev4 using upgrade_to_v1_3_0_dev_4():
Traceback (most recent call last):
  File "./picard/config.py", line 141, in run_upgrade_hooks
    hook['func'](*hook['args'])
  File "./picard/config_upgrade.py", line 137, in upgrade_to_v1_3_0_dev_4
    _s[opt] = load_release_type_scores(_s.raw_value(opt))
  File "./picard/config_upgrade.py", line 126, in load_release_type_scores
    values = setting.split()
AttributeError: 'NoneType' object has no attribute 'split'

Reported in http://tickets.musicbrainz.org/browse/PICARD-592
2014-04-16 10:16:00 +02:00
Laurent Monin
213540119f Update NEWS.txt 2014-04-15 23:55:28 +02:00
Laurent Monin
e48ef80b0f Merge pull request #288 from zas/debug_mode
Allow user to toggle debug mode from log dialog at runtime
2014-04-15 23:51:31 +02:00
Laurent Monin
7d0ccd0365 Improve --version and About version display
Introduce PICARD_FANCY_VERSION_STR and simplify code.
2014-04-15 14:02:48 +02:00
Laurent Monin
ed43b1dac6 Merge pull request #290 from zas/build_scripts
Add build scripts fro win and osx, add patch_version command to setup.py
2014-04-15 13:38:59 +02:00
Laurent Monin
b3e8ec9db0 Add build scripts fro win and osx, add patch_version command to setup.py 2014-04-15 13:26:40 +02:00
Lukáš Lalinský
dc6ddcffd8 Merge pull request #289 from zas/build_version
Add new PICARD_BUILD_VERSION_STR
2014-04-15 11:58:20 +02:00
Laurent Monin
24ef7035e5 Add new PICARD_BUILD_VERSION_STR
It can be set by external script at build time.
PICARD_VERSION should not be modified.

See http://tickets.musicbrainz.org/browse/PICARD-592
2014-04-15 09:20:43 +02:00
Laurent Monin
95d3648478 Allow user to toggle debug mode from log dialog at runtime 2014-04-14 14:51:47 +02:00
Laurent Monin
1a98409bfd Merge pull request #263 from Sophist-UK/sophist_improve_unicode_to_ascii
Improve unicode to ascii ...
2014-04-14 13:20:26 +02:00
Sophist
45186e9850 Fix metadata to import from new location 2014-04-14 12:03:08 +01:00
Sophist
e406a554bc Address various comments by Philipp Wolfer ...
... based on actual knowledge of how characters are used in practice.

low quotation mark -> normal quotation mark rather than comma
oi should be gha -> gh rather than oi
ideographic punctuation, multiplication / division and middle dot are not punctuation
2014-04-14 11:57:35 +01:00
Sophist
110441f91e Address comments by 96187 ...
... whose local knowledge of how characters are actually used identified
more appropriate characters to map to.

soft hyphen -> nothing (since it is invisible)
multiplication -> x rather than * (visually closer)
remove duplicate oe
2014-04-14 11:57:34 +01:00
Sophist
0a34629945 Remove unnecessary lines (zas). 2014-04-14 11:57:32 +01:00
Sophist
323d12892c Improve unicode to ascii ...
for punctuation, normalization (merging similar looking characters into
the most common one), accents, and full conversion to ascii.

Functions and tests moved into separate files.

Although more comprehensive, the code should run faster because it
eliminates several loops (inc. a loop with two unicodedata references).

This is intended to form the basis of future PRs to:
a. Clean up (simplify) the file naming code
b. Provide script function(s) for cleaning individual tags / file name
parts
c. Add support for translation / transliteration plugins (which I think
make more sense than being included in Picard itself).
d. Support for converting Tags to ISO-8859-1 rather than ascii (since
that is what is supported by ID3 at least)
e. Possible additional options for allowing / preventing normalization,
possible reorganisation of options to centralise all encoding settings
onto one page rather than metadata, tags and file naming pages at
present (to be discussed).
2014-04-14 11:57:31 +01:00
Laurent Monin
445bf56bad Merge pull request #284 from phw/fix-cluster-artist-names
Fix clustering sometimes displaying "Various Artists"
2014-04-13 10:54:07 +02:00
Laurent Monin
084c13e1e8 Merge pull request #286 from zas/log_platform
Log platform infos in debug mode
2014-04-13 10:22:20 +02:00
Laurent Monin
9f56d48956 Add attributes po files 2014-04-13 10:21:15 +02:00
Laurent Monin
2623df5bb4 Merge pull request #254 from zas/cover_art_types
Use attributes.pot from musicbrainz server to generate up-to-date cover art types and medium formats lists
2014-04-13 10:16:32 +02:00
Laurent Monin
686b8b53eb Log platform infos in debug mode
It will help when logs are posted by users with bug reports.
2014-04-12 20:39:23 +02:00
Laurent Monin
a3dd66ffca Update pot file 2014-04-12 14:33:22 +02:00
Laurent Monin
1e70f73b8e Make strings easier to translate.
"%s cover art" (ie. "front cover art") is working in english, but not as well in other
languages, especially when type isn't even translated (for now).

Replaced with "cover art of type '%s'", which is slightly better when it comes to i18n.
2014-04-12 14:04:53 +02:00
Laurent Monin
c60c07b252 Merge pull request #265 from zas/load_plugins_contrib
PICARD-575: load plugins from contrib/ too when run from source directory
2014-04-11 22:37:06 +02:00
Laurent Monin
1e596493f3 Merge pull request #283 from phw/fix-loading-mp3-without-tags
Fix loading MP3s without tags.
2014-04-11 22:32:52 +02:00
Philipp Wolfer
ae5fe08e9f Fix clustering sometimes displaying "Various Artists"
This fix is twofold:
1. Fixes the bug where the clustering does not select an artist name when there are some artist names appearing only once and those are at the end of the tracklist.
2. Use album artist tag, if present in the files.

Having this patch clusters will only have "Various Artists" set when there is either no artist set or all tracks are by different artists.
2014-04-11 21:39:55 +02:00
Philipp Wolfer
925c518008 Fix loading MP3s without tags.
This fixes setting the ID3 version when there are no tags at all in a MP3 file.
2014-04-11 21:39:00 +02:00