Beispiel #1
0
 internal void perform()
 {
     if (time == nextSearchComplete)
     {
         MusicLibrary.searchComplete();
     }
     if (time == nextPlayStarted)
     {
         MusicPlayer.playStarted();
     }
     if (time == nextPlayComplete)
     {
         MusicPlayer.playComplete();
     }
 }
Beispiel #2
0
        // Library //////////////////////////////////

        public void library(string path)
        {
            MusicLibrary.load(path);
        }
Beispiel #3
0
 public void showAll()
 {
     MusicLibrary.findAll();
 }
Beispiel #4
0
 public int selectedSongs()
 {
     return(MusicLibrary.displayCount());
 }
Beispiel #5
0
 public void sameYear()
 {
     MusicLibrary.findYear(MusicLibrary.looking.year);
 }
Beispiel #6
0
 public void sameGenre()
 {
     MusicLibrary.findGenre(MusicLibrary.looking.genre);
 }
Beispiel #7
0
 public void sameArtist()
 {
     MusicLibrary.findArtist(MusicLibrary.looking.artist);
 }
Beispiel #8
0
        // Search Buttons ///////////////////////////

        public void sameAlbum()
        {
            MusicLibrary.findAlbum(MusicLibrary.looking.album);
        }
Beispiel #9
0
 public void select(int i)
 {
     MusicLibrary.select(MusicLibrary.library[i - 1]);
 }
Beispiel #10
0
 public override Object[] query()
 {
     return(MusicLibrary.displayContents());
 }