View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017830 | Addons (external) | General | public | 2021-05-06 14:55 | 2021-12-18 01:37 |
Reporter | rusty | Assigned To | |||
Priority | urgent | Severity | feature | Reproducibility | always |
Status | closed | Resolution | reopened | ||
Product Version | 5.0 | ||||
Target Version | 5.0.2 | Fixed in Version | 5.0.2 | ||
Summary | 0017830: Edit tag script: Clean multiple attributes | ||||
Description | Often, fields with multiple attributes (Artists, Album Artist, Genres) are populated with attributes containing incorrect separators (e.g. ',' or '/' instead of ';'). It would be useful to have a script that allowed the user to quickly convert the separators to the proper format. e.g. Clean multiple attribute fields This script converts separators to the proper format. e.g. Artist1, Artist2 to Artist1; Artist2 OR Rock/Pop to Rock;Pop Options: Switch the following characters to separators: _,_ Access via: Edit tags > Clean multi-attribute separators | ||||
Tags | No tags attached. | ||||
|
Added initial version to SampleScripts for 5.0.2. I moved the "Case Checker" item to order: 100, because that one feels like it should be toward the bottom of the group. Assigning to Ludek for review. My only concern with my code is that the interface freezes for a short time when editing a large number of tracks. Not sure if that's acceptable or if it's something to work on. |
|
Reviewed and made some optimizations + added cancelable progress (SVN revision 38237) Maybe we could move it from SampleScripts to Scripts -- to be the default (pre-installed) script like the Case Checker and others ? |
|
Addon has been moved to Scripts/ for 5.0.2 and added to the addon site here: https://www.mediamonkey.com/addons/browse/item/clean-multi-value-fields/ |
|
Verified on 2506. |
|
I'd suggest a couple of improvements/changes to the addon: 1) Text changes: a) Clean Multi-Value Fields --> Split multi-value fields b) Switch the following to separators --> Split fields containing (this is closer to the terminology in Tools > Options > Tags) 2) We may want to initially launch this as an addon (rather than integrated into MM) since there are quite a few new strings (and since they're liable to change). 3) Combine this with the Featured Artist to Artist addon: Clean multi-value fields ----------------------------------------------------- Split strings so that they display as multiple values. Artists, Album Artists, Albums, Composers, ... (list of all multiple-value fields): [x] Split fields containing: _,_ [x] Split fields containing: _+_ [x] Split fields containing: _&_ [ ] Split fields containing: _and_ Artists: [x] Split fields containing (comma-separated list): _feat, ft, featuring_ 4) For the future it might make sense to allow the user to choose which fields to apply splitters to. e.g. Split multi-value fields --------------------------------------------------------------------------- Split strings so that they display as multiple values. [x] Split _Artists, Composers_ containing: _,_ [x] Split _Artists_ containing: _+_ [x] Split _Artists, Album Artists_ containing: _&_ [x] Split _Artists_ containing: _feat, ft, featuring_ for _Artists_ [Edit] [ ] Split <choose fields> containing: _enter a single character, or comma-separated strings_ [+] [-] |
|
Strings updated. I couldn't fit all of the multi-value fields in one line, so I used your short list and programmatically added the full list as a tooltip. |
|
Addon has been moved to RemovedScripts |
|
verified 2528 |