XM Radio plugin | Page 3

Discussion in 'MediaPortal 1 Plugins' started by fillerguy, August 3, 2008.

  1. blitzkrg Portal Pro

    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!
  2. Redth Portal Member

    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.
  3. fillerguy Thread Starter Portal Pro

    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.
  4. braz New Member

    Not trying to hijack but any shot this will also support sirius? :)
  5. Redth Portal Member

    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!

    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!
    • Like Like x 1
  6. blitzkrg Portal Pro

    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! :D

    edit:
    lol woops.. spoke to soon. i changed channels and it crashed to desktop.
  7. Redth Portal Member

    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/
  8. blitzkrg Portal Pro

    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.
  9. Redth Portal Member

    could you post your error log?
  10. blitzkrg Portal Pro

    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_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading._TimerCallback.PerformTimerCallback(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

Share This Page

Users Viewing Thread (Users: 0, Guests: 0)

Running the latest version?

V1.3.0 FINAL - released March 2013
Releasenews | Download
Changelog
 | Requirements
HTPC
Team-MediaPortal
 
About
Contact |  Press
Partners