Hi,
Does anyone know how to retrieve the author and title for a push:// style broadcast publishing point in Windows Media Server (2003)
Here's a short code snippet:
Dim PubPointPlaylist = PubPoint.SharedPlaylist
if PubPointPlaylist is nothing Then
' great - push streams dont have a playlist!
' all i want is author and title -- why is it sooo hard?
playingNowArtist = "n/a"
playingnowtitle = "n/a"
Else
Dim PlaylistActiveMedia = PubPointPlaylist.CurrentMediaInformation
if PlaylistActiveMedia is nothing Then
Else
If IsNothing(PlaylistActiveMedia.GetProperty("title","")) Then
PlayingNowTitle= "N/Av"
Else
playingNowTitle = PlaylistActiveMedia.GetProperty("title","")
End If
As noted, the SharedPlaylist object is nothing on a push publishing point.
So how to get the author/title in this case?
Thanks!