View Issue Details

IDProjectCategoryView StatusLast Update
0005813MMW v4Framework: Scripts/Extensionspublic2013-02-14 04:28
Reporterpeke Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Target Version3.1.1 
Summary0005813: Multi-Value Fieldes are not Formated Correctly when Custom separator is used
DescriptionIf user Change default Multi-value fields Separator to custom Separator to something like "&" MediaMonkey do not format that Fields when accessed by scripts.

Way to reproduce:
1. Change Tools -> Options -> Library -> Appearance -> Split multiple-value fields from ";" to " &"
2. Restart of MM is needed (? a technical Bug) so that MM views show updated Separator
3. Start playback of track with Multi-Artist Value
4. Double click on Supplied example Script (Script is standalone and can be started of Desktop)
5. MSGBox will popup showing Multi-Artist Value (always separated with ";") and currently Set Multi value Separator (which in this case will be " &"

As I see there are two possible solutions:
1. Add Additional Formatted script option to format output string according to MultiValue Separator like FormatMultiValue(field as string) returns formatted string. Example: FormatMultiValue("Sting; The Police") = "Sting & The Police"
2. That Scripting reflects MediaMonkey formatted View (Not recommended as there is risk of regressions)
Additional InformationReported here:
http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=39252
TagsNo tags attached.
Attached Files
Fixed in build

Relationships

related to 0005747 closedpeke Last.fm plugin Last.fm plugin: fails to submit cache correctly for multi-artist albums 
related to 0007995 closedjiri MMW v4 Multiple attribute fields aren't updated after switching the separator (regression) 
related to 0010325 closedLudek MMW v4 $First fails when split character is set to | 

Activities

jiri

2009-06-23 09:45

administrator   ~0018481

This is already implemented, see ISDBTools::MultiString2UFText().

peke

2013-02-14 04:28

developer   ~0034899

Verified 1624