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 2008-08-08, 04:08   #21 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 36
Thanks: 6
Thanked 1 Time in 1 Post


Default

Quote:
Originally Posted by Redth View Post
question is, will it then be backwards compatible with 1.0 RC2? I'm not sure what the standard practice is here for plugins, I'm new to making plugins for mediaportal
why does it matter? we will eventually go to RC3 or final or whatever and wont those releases be based off of whatever the latest SVN is?

to me, supporting the latest code base is better than supporting code that is essentially is and will always be out dated.

not a criticism, i appreciate your work. just my 2 cents!
blitzkrg is offline   Reply With Quote
Old 2008-08-08, 13:17   #22 (permalink)
Portal Member
 
Join Date: Jul 2007
Age: 23
Posts: 32
Thanks: 0
Thanked 5 Times in 5 Posts


Default

very true. I guess I just find it strange that svn changes to a feature frozen application in rc2 would make plugins incompatible. I was hoping it was just something I was doing wrong.
Redth is offline   Reply With Quote
Old 2008-08-08, 13:57   #23 (permalink)
Portal Member
 
Join Date: Sep 2007
Posts: 42
Thanks: 2
Thanked 1 Time in 1 Post


Default

I can get the plugin to load however as soon as I select a channel mediaportal crashes completely (back to the desktop). Also, it takes about 10 minutes to open the plugin. Does it download the channel graphics everytime? shouldnt it cache everything after the initial first run?

I'll dig through the logs and see if I can find an error to post.

Otherwise looks great! We all appreciate your efforts!

running mp 1.0 rc2 with the monochrome skin.
fillerguy is offline   Reply With Quote
Old 2008-08-08, 15:19   #24 (permalink)
Portal User
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Not trying to hijack but any shot this will also support sirius?
braz is offline   Reply With Quote
Old 2008-08-08, 17:49   #25 (permalink)
Portal Member
 
Join Date: Jul 2007
Age: 23
Posts: 32
Thanks: 0
Thanked 5 Times in 5 Posts


Default

Quote:
Not trying to hijack but any shot this will also support sirius?
Right now no it won't.. I just got a sirius account to test with, and looking at it right now, it doesn't seem as simple as xm radio, but still doable. There's a couple of small hitches, but I'll start looking at building a Sirius plugin. For now, only XM Radio, sorry!

Quote:
I can get the plugin to load however as soon as I select a channel mediaportal crashes completely (back to the desktop). Also, it takes about 10 minutes to open the plugin. Does it download the channel graphics everytime? shouldnt it cache everything after the initial first run?

I'll dig through the logs and see if I can find an error to post.

Otherwise looks great! We all appreciate your efforts!

running mp 1.0 rc2 with the monochrome skin.
It shouldn't take 10 minutes to load the graphics even the first time, unless for some reason you've got a slow connection to xm radio's servers. It takes about 30 seconds to a couple minutes to cache the graphics the first time for me. The graphics are being cached by the XM Radio library in your user's application data folder. for me it's C:\Documents and Settings\redth\Application Data\XMSharp\
Please take a look in your similar folder and see if they are there.. It will only re-download the graphics if a channel name changes..



New Update
Ok, I think I finally figured out the problem. I forgot to mention you must have VideoLAN installed on your machine, and you MUST have installed the ActiveX control during the installation!

If you are getting the incompatible version error, go download the latest VideoLAN VLC application and make sure ActiveX Control is checked when you go through the installer!

This should fix the problems up!

Last edited by Redth; 2008-08-08 at 20:18. Reason: Automerged Doublepost
Redth is offline   Reply With Quote
This User Say Thank You:
Old 2008-08-09, 05:03   #26 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 36
Thanks: 6
Thanked 1 Time in 1 Post


Default

Quote:
Originally Posted by Redth View Post
New Update
Ok, I think I finally figured out the problem. I forgot to mention you must have VideoLAN installed on your machine, and you MUST have installed the ActiveX control during the installation!

If you are getting the incompatible version error, go download the latest VideoLAN VLC application and make sure ActiveX Control is checked when you go through the installer!

This should fix the problems up!
Awesome! you were right about the VLC. i didnt have it installed.. works now.
I can tell it's still *beta* but great job so far.. works good out of the box..
took about 15 seconds to load and now i'm listening again!

edit:
lol woops.. spoke to soon. i changed channels and it crashed to desktop.

Last edited by blitzkrg; 2008-08-09 at 07:14.
blitzkrg is offline   Reply With Quote
Old 2008-08-09, 18:20   #27 (permalink)
Portal Member
 
Join Date: Jul 2007
Age: 23
Posts: 32
Thanks: 0
Thanked 5 Times in 5 Posts


Default

Yeah, it definitely is beta I hadn't got far enough in testing to have it running over prolonged periods of time. I see the big issue causing crashes seems to be doing channel updates when another thread is trying to access the channel listings. Most of the error logs from MP I've seen were relating to this.


EDIT: Please try v1.0.4 that is posted on the site now! I've had the plugin running for a couple hours with the version without problems so far. http://code.google.com/p/xmsharp/

Last edited by Redth; 2008-08-09 at 22:23.
Redth is offline   Reply With Quote
Old 2008-08-10, 06:11   #28 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 36
Thanks: 6
Thanked 1 Time in 1 Post


Default

well 1.04 did work better.. i was able to switch around inside of the plugin for a while no problems.
i stopped and exited out to the main MP menu then i tried to go back into the xmradio and it crashed to desktop.
but i can confirm channel changes didnt seem to cause a crash in this build.
blitzkrg is offline   Reply With Quote
Old 2008-08-10, 23:24   #29 (permalink)
Portal Member
 
Join Date: Jul 2007
Age: 23
Posts: 32
Thanks: 0
Thanked 5 Times in 5 Posts


Default

could you post your error log?
Redth is offline   Reply With Quote
Old 2008-08-10, 23:38   #30 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 36
Thanks: 6
Thanked 1 Time in 1 Post


Default

this was in my log folder

ExceptionType: System.Net.WebException
Message: The remote server returned an error: (403) Forbidden.
Source: System

Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at XMSharp.Utility.Http.stringRequest(HttpSubmitInfo info) in C:\svn\xmsharp\XMSharp\Utility\Http.cs:line 253
at XMSharp.XMPlayer.UpdateChannels(Boolean preloadImages) in C:\svn\xmsharp\XMSharp\XMPlayer.cs:line 301
at XMSharp.XMPlayer.Login() in C:\svn\xmsharp\XMSharp\XMPlayer.cs:line 207
at XMSharp.XMPlayer.UpdateChannels(Boolean preloadImages) in C:\svn\xmsharp\XMSharp\XMPlayer.cs:line 299
at XMSharp.XMPlayer.allChannelsPollingTimer_Callback( Object state) in C:\svn\xmsharp\XMSharp\XMPlayer.cs:line 155
at System.Threading._TimerCallback.TimerCallback_Cont ext(Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading._TimerCallback.PerformTimerCallba ck(Object state)

my crash happend after i was already listening and exited out to the MP main menu and then tried to go back into the xmradio plugin
blitzkrg is offline   Reply With Quote
Reply

Bookmarks

Tags
plugin, 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
XM Radio Plugin Prototype happyfirst Plugins 13 2008-07-16 03:17
XM Radio Plugin Issue csonier Plugins 3 2008-06-09 05:25
Interest in North America XM Radio/Sirius internet plugin? bradsjm Plugins 61 2007-09-21 14:46
XM radio plugin ursenj Improvement Suggestions 3 2007-01-08 18:02
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:00.


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