home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
I need a hint to progress development of my Music Streaming Plug-in
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Claus" data-source="post: 1059076" data-attributes="member: 22670"><p>I’m trying to develop a plug-in which can stream music from TDC Play (a Danish ISP).</p><p>So far I’m able to login, search and get a URL to the stream</p><p>– something like: rtmpe://entmedia.fcod.llnwd.net/a4117/e1 …</p><p></p><p>Now my questions: Is there any functionality in MediaPortal which can stream/play-back based on the rtmpe link I can get?</p><p>I’ve tried things like:</p><p><span style="font-family: 'Courier New'"></span></p><p><span style="font-family: 'Courier New'">g_Player.PlayAudioStream(streamLink);</span></p><p></p><p>or</p><p></p><p><span style="font-family: 'Courier New'">PlayListPlayer _playlistPlayer = PlayListPlayer.SingletonPlayer;</span></p><p><span style="font-family: 'Courier New'">_playlistPlayer.GetPlaylist(PlayListType.PLAYLIST_MUSIC).Clear();</span></p><p><span style="font-family: 'Courier New'">PlayListItem pi = new PlayListItem();</span></p><p><span style="font-family: 'Courier New'">pi.Type = PlayListItem.PlayListItemType.AudioStream;</span></p><p><span style="font-family: 'Courier New'">pi.FileName = streamLink; </span></p><p><span style="font-family: 'Courier New'"> </span></p><p><span style="font-family: 'Courier New'">_playlistPlayer.GetPlaylist(PlayListType.PLAYLIST_MUSIC).Add(pi);</span></p><p><span style="font-family: 'Courier New'">_playlistPlayer.CurrentPlaylistType = PlayListType.PLAYLIST_MUSIC;</span></p><p><span style="font-family: 'Courier New'">_playlistPlayer.Reset();</span></p><p><span style="font-family: 'Courier New'">_playlistPlayer.Play(0);</span></p><p> </p><p>None of this is working.</p><p></p><p>Or do I have to implement my own streaming player?</p><p></p><p>Any advice is very welcome. Thanks!</p></blockquote><p></p>
[QUOTE="Claus, post: 1059076, member: 22670"] I’m trying to develop a plug-in which can stream music from TDC Play (a Danish ISP). So far I’m able to login, search and get a URL to the stream – something like: rtmpe://entmedia.fcod.llnwd.net/a4117/e1 … Now my questions: Is there any functionality in MediaPortal which can stream/play-back based on the rtmpe link I can get? I’ve tried things like: [FONT=Courier New] g_Player.PlayAudioStream(streamLink);[/FONT] or [FONT=Courier New]PlayListPlayer _playlistPlayer = PlayListPlayer.SingletonPlayer; _playlistPlayer.GetPlaylist(PlayListType.PLAYLIST_MUSIC).Clear(); PlayListItem pi = new PlayListItem(); pi.Type = PlayListItem.PlayListItemType.AudioStream; pi.FileName = streamLink; _playlistPlayer.GetPlaylist(PlayListType.PLAYLIST_MUSIC).Add(pi); _playlistPlayer.CurrentPlaylistType = PlayListType.PLAYLIST_MUSIC; _playlistPlayer.Reset(); _playlistPlayer.Play(0);[/FONT] None of this is working. Or do I have to implement my own streaming player? Any advice is very welcome. Thanks! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
I need a hint to progress development of my Music Streaming Plug-in
Contact us
RSS
Top
Bottom