From 0b27a9490d0670b44bea2cf0052e3ab9ab2d705b Mon Sep 17 00:00:00 2001 From: Yoshi Askharoun Date: Tue, 11 Oct 2022 20:27:32 -0500 Subject: [PATCH] Modified marketplace playback track URI for preview streaming --- ZuneShell/ZuneUI/MarketplacePlaybackTrack.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ZuneShell/ZuneUI/MarketplacePlaybackTrack.cs b/ZuneShell/ZuneUI/MarketplacePlaybackTrack.cs index 7191360..c7c9a5c 100644 --- a/ZuneShell/ZuneUI/MarketplacePlaybackTrack.cs +++ b/ZuneShell/ZuneUI/MarketplacePlaybackTrack.cs @@ -60,7 +60,8 @@ namespace ZuneUI if (ZuneApplication.Service2.InCompleteCollection(this._zuneMediaId, Microsoft.Zune.Service.EContentType.MusicTrack)) ZuneApplication.Service2.GetContentUri(this._zuneMediaId, Microsoft.Zune.Service.EContentType.MusicTrack, Microsoft.Zune.Service.EContentUriFlags.FallbackToPreview, out uriOut, out Guid _); if (string.IsNullOrEmpty(uriOut)) - uriOut = "vnd.ms.zunecp://CP/?ContentPartnerKeyName=zune&StreamType=Music&TrackID=" + this._zuneMediaId.ToString(); + uriOut = "http://catalog.zunes.me/stream/music/" + this._zuneMediaId.ToString(); + //uriOut = "vnd.ms.zunecp://CP/?ContentPartnerKeyName=zune&StreamType=Music&TrackID=" + this._zuneMediaId.ToString(); uri = uriOut; return HRESULT._S_OK; }