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
NRK Browser
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="paalkr" data-source="post: 291894" data-attributes="member: 78371"><p>Thanks!</p><p></p><p>Strange if I should be the only one with this problem. I guess that the plugin works perfectly in your environment, and if it does, then there is not likely to be any errors in the plugin. I did a quick skim of the source code, and thinks I understand how it works. For some reason the GetClipUrl returns the gif file link.</p><p></p><p> protected void PlayClip(Clip item)</p><p> {</p><p> string url = _nrk.GetClipUrl(item);</p><p> Log.Info(PLUGIN_NAME + " PlayClip " + url);</p><p> </p><p> PlayUrl(url, item.Title);</p><p></p><p>And because that string does not end with either .wma, .wmv or _h this control loop kicks in:</p><p></p><p> PlayListType type;</p><p> if (url.EndsWith(".wmv")) type = PlayListType.PLAYLIST_VIDEO_TEMP;</p><p> else if (url.EndsWith(".wma")) type = PlayListType.PLAYLIST_RADIO_STREAMS;</p><p> //FIXME: Hangs on some audio streams...</p><p> else if (url.EndsWith("_h")) type = PlayListType.PLAYLIST_VIDEO_TEMP; //det er en av live streamene</p><p> else</p><p> {</p><p> Log.Info(PLUGIN_NAME + " Unknown clip type " + url);</p><p> ShowError("Unknown clip type, please contact author");</p><p> return;</p><p> }</p><p></p><p>hens returning my on-screen error and log file statements.</p><p></p><p>The thing I cant figure out though is why the GetClipUrl fetches the link to the fullt.gif. </p><p></p><p>Regards,</p><p>PK</p></blockquote><p></p>
[QUOTE="paalkr, post: 291894, member: 78371"] Thanks! Strange if I should be the only one with this problem. I guess that the plugin works perfectly in your environment, and if it does, then there is not likely to be any errors in the plugin. I did a quick skim of the source code, and thinks I understand how it works. For some reason the GetClipUrl returns the gif file link. protected void PlayClip(Clip item) { string url = _nrk.GetClipUrl(item); Log.Info(PLUGIN_NAME + " PlayClip " + url); PlayUrl(url, item.Title); And because that string does not end with either .wma, .wmv or _h this control loop kicks in: PlayListType type; if (url.EndsWith(".wmv")) type = PlayListType.PLAYLIST_VIDEO_TEMP; else if (url.EndsWith(".wma")) type = PlayListType.PLAYLIST_RADIO_STREAMS; //FIXME: Hangs on some audio streams... else if (url.EndsWith("_h")) type = PlayListType.PLAYLIST_VIDEO_TEMP; //det er en av live streamene else { Log.Info(PLUGIN_NAME + " Unknown clip type " + url); ShowError("Unknown clip type, please contact author"); return; } hens returning my on-screen error and log file statements. The thing I cant figure out though is why the GetClipUrl fetches the link to the fullt.gif. Regards, PK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
NRK Browser
Contact us
RSS
Top
Bottom