// rotates the selected track art to the previous available track public void PreviousArt() { if (AlternateArts.Count <= 1) { return; } int index = AlternateArts.IndexOf(ArtFullPath) - 1; if (index < 0) { index = AlternateArts.Count - 1; } ArtFullPath = AlternateArts[index]; commitNeeded = true; }
// rotates the selected track art to the next available track public void NextArt() { if (AlternateArts.Count <= 1) { return; } int index = AlternateArts.IndexOf(ArtFullPath) + 1; if (index >= AlternateArts.Count) { index = 0; } ArtFullPath = AlternateArts[index]; commitNeeded = true; }