Broken "AND" operator handling in track selection parsing?
Posted: Sat Jan 06, 2018 3:36 pm
I cannot figure out how to get the AND (&) operator to work in "app_DefaultSelectionString" in a Custom Profile. It seems to work when entered into the overriding "Default selection rule" field in the "Advanced" tab in the "MakeMKV Preferences" dialogue box. If I use an ampersand in a Custom Profile I get a an error message like:
"Profile parsing error: cprofile_02.mmcp.xml:18:58 - not well-formed (invalid token)"
which points squarely at the ampersand.
I have condensed it down to a simple example used in the answer to a question in the thread (see the very bottom):
http://www.makemkv.com/forum2/viewtopic ... 386#p17399
The string is:
"+sel:(forced&(!eng))"
And it works seemingly perfectly when entered into the "MakeMKV Preferences". It overrides the default setting and it correctly selects only forced subtitles that are not English, but when put in a Custom Profile it bombs, and the profile is not loaded.
Can somebody confirm if it's maybe just me messing things up, i.e. does the string work for others?
I am using Make MKV 1.10.8
/Michael
"Profile parsing error: cprofile_02.mmcp.xml:18:58 - not well-formed (invalid token)"
which points squarely at the ampersand.
I have condensed it down to a simple example used in the answer to a question in the thread (see the very bottom):
http://www.makemkv.com/forum2/viewtopic ... 386#p17399
The string is:
"+sel:(forced&(!eng))"
And it works seemingly perfectly when entered into the "MakeMKV Preferences". It overrides the default setting and it correctly selects only forced subtitles that are not English, but when put in a Custom Profile it bombs, and the profile is not loaded.
Can somebody confirm if it's maybe just me messing things up, i.e. does the string work for others?
I am using Make MKV 1.10.8
/Michael