Laurent Monin
8deddf772d
Use PluginPriority.HIGH and rename weight to priority
2014-04-24 21:45:11 +02:00
Laurent Monin
b7468b82f0
Use PluginFunctions and PluginPriority to reduce code redundancy.
...
weight was renamed priority
Execution loops were replaced by PluginFunctions.run() call
2014-04-24 21:45:11 +02:00
Laurent Monin
2fc6da074b
Add PluginPriority and PluginFunctions classes
...
PluginPriority defines few common values for plugin execution priority.
PluginFunctions wraps ExtensionPoint and use defaultdict() to handle priorities.
It also provide a register() and a run() methods.
2014-04-24 21:45:11 +02:00
Sophist
4724e73015
Set default weights to 100...
...
and plugin weight to 200.
2014-04-24 09:55:54 +01:00
Sophist
1a4d2b5ce7
Set default weights to 50 ...
...
... so we can have plugins with lower than default priority.
2014-04-24 09:55:53 +01:00
Laurent Monin
60fc6e4499
Add weight parameter to metadata_processors
...
Processors having more weight will be run first, default weight is 0.
2014-04-24 09:55:52 +01:00
Sophist
52e4766ec7
Add NEWS
2014-04-24 09:55:51 +01:00
Sophist
f1d3e2b46e
Add Standardise Performers plugin
2014-04-24 09:55:02 +01:00
Sophist
fd72f10d59
Add track metadata plugin priority processing
...
All track metadata processors are equal but some are more equal than
others.
This commit allows a track metadata plugin to register with high
priority, and to run before plugins which are not high priority. This is
needed for the Standardize Performers plugin.
2014-04-24 09:55:01 +01:00
Laurent Monin
fb7e730932
Merge pull request #296 from Sophist-UK/sophist_switch_albumartist_website_to_xmlnode
...
Switch albumartist_website to XmlNode
2014-04-24 10:30:20 +02:00
Laurent Monin
a54645f0ec
Merge pull request #302 from Sophist-UK/sophist_enhance_#285
...
Use multi-value %_performance_attributes% ...
2014-04-24 10:09:44 +02:00
Sophist
b90f87ce12
Fix layouts again (zas comment)
2014-04-23 20:34:16 +01:00
Laurent Monin
5123151e9d
Merge pull request #303 from Sophist-UK/sophist_persist_log_status_dialog_size_position
...
Persist log view position and size.
2014-04-23 12:04:34 +02:00
Sophist
efdb780652
Persist log view position and size.
2014-04-22 22:14:28 +01:00
Sophist
6818e3451c
Handle multiple websites
2014-04-22 18:20:34 +01:00
Laurent Monin
32eb021e24
Merge pull request #301 from Sophist-UK/sophist_fix_tag_brackets
...
Simplify display_tag_name
2014-04-22 13:05:41 +02:00
Sophist
16a47dae23
Fix layout (zas comments)
...
Note: Whilst the previous indentation of "and" was incorrect as per
PEP-8, I think it was actually more readable.
2014-04-22 11:55:11 +01:00
Laurent Monin
ef9a3309d3
Merge pull request #3 from zas/test_display_tag_name
...
Add a test for util.tags.display_tag_name()
2014-04-22 10:36:56 +02:00
Laurent Monin
14c09a8d1e
Add a test for util.tags.display_tag_name()
2014-04-22 10:31:19 +02:00
Sophist
4dd8ade4b5
Use multi-value %_performance_attributes% ...
...
... instead of %_performance_live%, etc.
Modifies #285 .
2014-04-21 21:55:44 +01:00
Sophist
9cbe03f6c0
Simplify display_tag_name
2014-04-21 16:54:07 +01:00
Sophist
6aea5be41b
Increment version no.
2014-04-21 12:10:41 +01:00
Sophist
fe88b779e1
Switch albumartist_website to XmlNode
...
Resolves PICARD-593.
Fixes issue with #275 when run from Picard executable under Windows.
2014-04-21 12:10:39 +01:00
Laurent Monin
daa6b39f44
Merge pull request #285 from Sophist-UK/sophist_add_work_relationship_variables
...
Add %_performance_live%, %_performance_cover% etc. for work relationships.
2014-04-21 09:40:20 +02:00
Sophist
21463889f7
Remove ~workrelationship stuff.
2014-04-21 08:00:17 +01:00
Laurent Monin
56af0c5977
Merge pull request #297 from Sophist-UK/sophist_fix_metadata_display_sort_order
...
Fix metadatabox sort order
2014-04-20 20:01:25 +02:00
Sophist
6302f26e7c
Fix metadatabox sort order
...
Sort by displayed value not internal value.
2014-04-20 16:25:17 +01:00
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