Exemplo n.º 1
0
 public virtual void Play(string file)
 {
     Logger.ReportVerbose("About to play : " + file);
     if (QueueItem && this.PlayableItems != null && this.PlayableItems.Count() > 0)
     {
         PlaybackController.QueueMedia(this.PlayableItems);
     }
     else if (QueueItem)
     {
         PlaybackController.QueueMedia(file);
     }
     else
     {
         PlaybackController.PlayMedia(file);
     }
 }