Import of xml creates multiple voltas
Using this file for an example test (2).xml
Open the file in latest nightly OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 220.127.116.115183078, revision: 905e64b
When you open the file, you need to set the play count to 3.
Result is that there are multiple volta 2 created in the .mscx file. Here are the lines starting at line 931
<Spanner type="Volta"> <prev> <location> <measures>-2</measures> </location> </prev> </Spanner> <Spanner type="Volta"> <Volta> <beginText>3</beginText> <endings>3</endings> </Volta> <next> <location> </location> </next> </Spanner> <Spanner type="Volta"> <prev> <location> </location> </prev> </Spanner>
This sometimes affects playback. This particular file does not have a playback problem but the one at https://musescore.org/en/node/315241#comment-1050710 would stop playing prior to volta 1,2 on the third repetition.