Modified marketplace playback track URI for preview streaming

This commit is contained in:
Yoshi Askharoun
2022-10-11 20:27:32 -05:00
parent acf156839f
commit 0b27a9490d
+2 -1
View File
@@ -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;
}