Banshee.UbuntuOneMusicStore.UbuntuOneMusicStoreSource.StoreWrapper.PlayMP3Preview C# (CSharp) Method

PlayMP3Preview() private method

private PlayMP3Preview ( object Sender, UbuntuOne a ) : void
Sender object
a UbuntuOne
return void
            private void PlayMP3Preview (object Sender, UbuntuOne.PreviewMp3Args a)
            {
                Log.Debug ("U1MS: Playing preview: ", a.Url );
                TrackInfo PreviewTrack = new TrackInfo ();
                PreviewTrack.TrackTitle = a.Title;
                PreviewTrack.ArtistName = Catalog.GetString ("Track Preview");
                PreviewTrack.AlbumTitle = Catalog.GetString ("Ubuntu One Music Store");
                PreviewTrack.Uri = new SafeUri (a.Url);
                ServiceManager.PlayerEngine.OpenPlay (PreviewTrack);
                ServiceManager.PlaybackController.StopWhenFinished = true;
            }