Changeset 178

Show
Ignore:
Timestamp:
03/10/07 11:41:08 (2 years ago)
Author:
bsmith7
Message:

Fixed playlists, kinda

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dmp/trunk/client/wpfclient/main_window.xaml.cs

    r176 r178  
    261261                                newDT = datatableQueue.Dequeue(); 
    262262                        } 
    263  
    264                         VLControl.ClearPlayList(); 
     263                        Console.WriteLine("Changing data table"); 
    265264                         
    266265                        foreach(DataRow dr in newDT.Rows){ 
     
    268267                                string url = myBridge.getSongURL(songId); 
    269268                                VLControl.AddSongToPlaylist(songId, url, url); 
     269                                Console.WriteLine("Adding song number {0} to playlist as {1}", songId, url); 
    270270                        } 
    271271 
     
    320320                                 
    321321                                //VLControl.AddSongToPlaylist(songId, songURL, songURL); 
     322                                Console.WriteLine("Playing song number {0} as {1}", songId, songURL); 
    322323                                VLControl.PlaySong(songId); 
    323324                                playingId = songId; 
     325                                //VLControl.AddAndPlay(songURL, ""); 
     326 
    324327 
    325328                                PlayButton.Template = (ControlTemplate)this.FindResource("PauseIcon");