Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Author and title in asp/aspx for push Windows Media Stream

$
0
0

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!


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>