Beispiel #1
0
        // 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;
        }
Beispiel #2
0
        // 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;
        }