public void FindInCollection()
 {
     if (this._mediaType != MediaType.Track)
     {
         return;
     }
     MusicLibraryPage.FindInCollection(this.AlbumArtistLibraryId, this.AlbumLibraryId, this.MediaId);
 }
Exemple #2
0
 public override void FindInCollection()
 {
     if (!this.CanFindInCollection)
     {
         return;
     }
     MusicLibraryPage.FindInCollection(-1, -1, this.CollectionId);
 }
        public void FindInCollection()
        {
            Microsoft.Zune.Service.EContentType contentType = this.ContentType;
            if (contentType == Microsoft.Zune.Service.EContentType.PodcastEpisode)
            {
                PodcastLibraryPage.FindInCollection(-1, this.PodcastEpisodeId);
            }
            else if ((this.DownloadFlags & Microsoft.Zune.Service.EDownloadFlags.Channel) != Microsoft.Zune.Service.EDownloadFlags.None)
            {
                if (this.PlaylistId > 0)
                {
                    MusicLibraryPage.FindPlaylistInCollection(this.PlaylistId, this.CollectionId, true);
                }
                else
                {
                    ChannelLibraryPage.FindInCollection(this.SubscriptionMediaId, this.SubscriptionItemMediaId);
                }
            }
            else
            {
                if (this.CollectionId < 0)
                {
                    return;
                }
                switch (contentType)
                {
                case Microsoft.Zune.Service.EContentType.MusicTrack:
                    MusicLibraryPage.FindInCollection(-1, -1, this.CollectionId);
                    break;

                case Microsoft.Zune.Service.EContentType.Video:
                    VideoLibraryPage.FindInCollection(this.CollectionId);
                    break;

                case Microsoft.Zune.Service.EContentType.App:
                    ApplicationLibraryPage.FindInCollection(this.CollectionId);
                    break;
                }
            }
        }
Exemple #4
0
 public override void FindInCollection() => MusicLibraryPage.FindInCollection(-1, -1, this.CollectionId);