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
MediaPortal 1 Plugins
XM Radio Plugin Prototype
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="happyfirst" data-source="post: 204655" data-attributes="member: 54174"><p>I've got a basic XMRadio plugin working. It's not ready for uploading yet since my account is hard coded into it and I haven't made a configuration screen yet so that you enter your account info and desired speed. Doesn't support favorites or categories yet. Just displays all the channels (logo,name,description, currently playing) using a custom paging method.</p><p></p><p>Questions:</p><p></p><p>1) Once I get the stream url from xm for the selected channel, I'm getting it to play by calling g_Player.PlayAudioStream(url, false); But this gives me a full player bar up top with back, fwd and a little progress bar with a time running. Is there a more optimized better way to play a radio stream? I found RTSPPlayer in the code but couldn't get it to work. Is there a more streamlimed version of the topbar (player bar?) available for those media types that all you can do is change volume and stop?</p><p></p><p>2) I initially tried using the facade control but found it limiting in the way I was trying to show all the channel data. So now I tried following the code in the radioguide and now create the rows dynamically. I can't actually get my radioguide to work so I don't know what it looks like when running. I tried placing two images at the bottom for navigating pages but I can't seem to determine how they're clicked in OnAction. If I make them buttons, then I can get the focusedID. But then how do I get a texture onto a button? Also each of my rows is made up of a GUIImage and some GUILabels. How can I wrap all them with some type of panel or group so that when the user highlights or clicks one, I can show it with a slightly shaded background or just something?</p><p></p><p></p><p>It would be nice if there was more documentation besides just for image, label and button in the plugin devlopers guide. For example, more documentation on playing various media types, the list controls, the group controls (actiongroup?), etc.</p></blockquote><p></p>
[QUOTE="happyfirst, post: 204655, member: 54174"] I've got a basic XMRadio plugin working. It's not ready for uploading yet since my account is hard coded into it and I haven't made a configuration screen yet so that you enter your account info and desired speed. Doesn't support favorites or categories yet. Just displays all the channels (logo,name,description, currently playing) using a custom paging method. Questions: 1) Once I get the stream url from xm for the selected channel, I'm getting it to play by calling g_Player.PlayAudioStream(url, false); But this gives me a full player bar up top with back, fwd and a little progress bar with a time running. Is there a more optimized better way to play a radio stream? I found RTSPPlayer in the code but couldn't get it to work. Is there a more streamlimed version of the topbar (player bar?) available for those media types that all you can do is change volume and stop? 2) I initially tried using the facade control but found it limiting in the way I was trying to show all the channel data. So now I tried following the code in the radioguide and now create the rows dynamically. I can't actually get my radioguide to work so I don't know what it looks like when running. I tried placing two images at the bottom for navigating pages but I can't seem to determine how they're clicked in OnAction. If I make them buttons, then I can get the focusedID. But then how do I get a texture onto a button? Also each of my rows is made up of a GUIImage and some GUILabels. How can I wrap all them with some type of panel or group so that when the user highlights or clicks one, I can show it with a slightly shaded background or just something? It would be nice if there was more documentation besides just for image, label and button in the plugin devlopers guide. For example, more documentation on playing various media types, the list controls, the group controls (actiongroup?), etc. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
XM Radio Plugin Prototype
Contact us
RSS
Top
Bottom