MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2007-11-15, 16:15   #1 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default XM Radio Plugin Prototype

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.
happyfirst is offline   Reply With Quote
Old 2007-11-16, 01:04   #2 (permalink)
Portal Member
 
Join Date: Apr 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi Happyfeet,

Congrates on your progress, it's good to see someone pick up this again!

If it's any help, here's the older XM-Radio code ( http://www.rcn-ee.com/data/MediaPortal/ ) for i think if i remember correctly 0.2.1.0 (version 1.0.0.0.7z (7-zip compression)) and 0.2.1.4?? (version 1.0.0.1.7z, source long since dissapeared on my systems, (it's there somewhere), but i essentially modified it to use g_player)...

Alot of it is based on the 0.2.1.0, (and the built in music player at that time, (aka not the current BASS)) but you might find something usefull for album art, username/pass, etc...

Rob
__________________
AMD Athlon64 3000, 1Gig DDR, MSI K8TM-ILSR K8M800, Seagate 500GB, ATI Radeon x850 AGP, Dual Hauppauge PVR 500MCE's, Media Portal 0.2.3.0 (+ some random svn)
rob3435 is offline   Reply With Quote
Old 2007-11-16, 02:09   #3 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

awesome!!!! Thank you so much.

Is g_player = BASS? If not, where's the best place to find info on BASS?
happyfirst is offline   Reply With Quote
Old 2007-11-18, 02:26   #4 (permalink)
Portal Member
 
Join Date: Apr 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I hope this goes well and you upload your plugin. I have been waiting for an update for the XM module. I can't upgrade to the newer Mediaportal until I have an XM plugin. I really love it! Please keep us posted.
keitht74 is offline   Reply With Quote
Old 2007-11-20, 01:41   #5 (permalink)
Portal Member
 
Join Date: Apr 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi Happyfeet,

Don't quote me because i'm not a developer, and it's been awhile since i've digged around the source code.

But i believe g_player is the interface to the older 'windows media player' audio subsystem, which was replaced by the BASS library. Not sure what version was integrated, probably fairly recent, but there is more docs here: ( http://www.un4seen.com/ ) According to SVN it's 2.3.0.3 so the latest ( http://mediaportal.svn.sourceforge.n...s.dll?view=log )

Regards
__________________
AMD Athlon64 3000, 1Gig DDR, MSI K8TM-ILSR K8M800, Seagate 500GB, ATI Radeon x850 AGP, Dual Hauppauge PVR 500MCE's, Media Portal 0.2.3.0 (+ some random svn)
rob3435 is offline   Reply With Quote
Old 2007-11-22, 17:39   #6 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 36
Thanks: 6
Thanked 1 Time in 1 Post


Default

I'm looking forward to this plugin also.. thanks for the development!
blitzkrg is offline   Reply With Quote
Old 2007-12-09, 19:12   #7 (permalink)
Portal Member
 
Join Date: Apr 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Anything yet with this Plugin? I can't wait to try it out.
keitht74 is offline   Reply With Quote
Old 2007-12-25, 01:53   #8 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

ding! interested party of 1...
mgithens is offline   Reply With Quote
Old 2007-12-26, 00:08   #9 (permalink)
Portal Member
 
moiristo's Avatar
 
Join Date: Nov 2006
Location: Enschede
Posts: 292
Thanks: 6
Thanked 21 Times in 12 Posts

Country:

My System

Send a message via ICQ to moiristo Send a message via MSN to moiristo
Default

I don't know (and probably don't need) XM Radio, but I agree that the skin documentation should be updated. Of course, I can't do it since I'm a plugin dev Aren't there any skin devs with some spare time?
__________________
Greetz, moiristo

moiristo is offline   Reply With Quote
Old 2008-01-18, 03:55   #10 (permalink)
Portal Member
 
Join Date: Oct 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Any update on this plugin was looking over at meedios someone finished a xm online plugin over there not sure if that helps.
mrbook is offline   Reply With Quote
Reply

Bookmarks

Tags
plugin, prototype, radio

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interest in North America XM Radio/Sirius internet plugin? bradsjm Plugins 61 2007-09-21 14:46
XM Radio griffit34 General Support 1 2007-07-11 16:31
XM radio plugin ursenj Improvement Suggestions 3 2007-01-08 18:02
XM Radio Flaystus Improvement Suggestions 3 2006-09-21 01:05
Is There A Plugin For XM Radio? Malebolgia Plugins 0 2005-09-04 23:30


All times are GMT +1. The time now is 06:25.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden