Read more than 2 voice names
This commit is contained in:
1 parent
8e80cf93e2
commit
da91f177eb
1 file changed
+4
-9
@@ -147,14 +147,6 @@ namespace VocaluxeLib.Songs
|
|||||||
case "ARTIST-ON-SORTING":
|
case "ARTIST-ON-SORTING":
|
||||||
_Song.ArtistSorting = value;
|
_Song.ArtistSorting = value;
|
||||||
break;
|
break;
|
||||||
case "DUETSINGERP1":
|
|
||||||
case "P1":
|
|
||||||
_Song.Notes.VoiceNames[0] = value;
|
|
||||||
break;
|
|
||||||
case "DUETSINGERP2":
|
|
||||||
case "P2":
|
|
||||||
_Song.Notes.VoiceNames[1] = value;
|
|
||||||
break;
|
|
||||||
case "MP3":
|
case "MP3":
|
||||||
if (File.Exists(Path.Combine(_Song.Folder, value)))
|
if (File.Exists(Path.Combine(_Song.Folder, value)))
|
||||||
{
|
{
|
||||||
@@ -294,7 +286,10 @@ namespace VocaluxeLib.Songs
|
|||||||
{
|
{
|
||||||
int player;
|
int player;
|
||||||
if (int.TryParse(identifier.Substring(1).Trim(), out player))
|
if (int.TryParse(identifier.Substring(1).Trim(), out player))
|
||||||
foreach (int curPlayer in player.GetSetBits()) {}
|
{
|
||||||
|
foreach (int curPlayer in player.GetSetBits())
|
||||||
|
_Song.Notes.VoiceNames[curPlayer] = value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user