Commit Graph

2894 Commits

Author SHA1 Message Date
Sophist
b042e5e514 Handle i18n differently ...
... so that work relationship text can be translated as a phrase and not
as individual words.
2014-04-20 07:50:05 +01:00
Sophist
09bb0a3c75 Switch variable names and add ~workrelationship
which mimics the work relationship statement on the MB web site e.g.
`{live} {medley:medley including a} {partial} {instrumental} {cover}
recording of`
2014-04-20 07:50:04 +01:00
Sophist
c61330dce3 Add NEWS 2014-04-20 07:49:39 +01:00
Sophist
edd22a8a96 Add %_live%, %_cover% etc. for work relationships. 2014-04-20 07:49:11 +01:00
Laurent Monin
e6b510a288 Indentation fix.
3dd891f285 (commitcomment-6063394)
2014-04-20 00:47:11 +02:00
Laurent Monin
7427ebf34c Update picard.pot 2014-04-19 10:13:11 +02:00
Laurent Monin
3dd891f285 PEP8 fixes.
Mostly code formatting, shortening lines, white-space fixes.
2014-04-19 10:02:49 +02:00
Laurent Monin
105068d2b3 Fix few missing blank lines (PEP8). 2014-04-19 09:26:29 +02:00
Laurent Monin
2ee38b52bb PEP8 fixes. 2014-04-19 09:18:50 +02:00
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