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-10, 10:58   #41 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts

Country:


Default

I'm not sure. I just doesn't hope NRK has changed something in the website. There's no flash support in the last version I uploaded, but Wallander is .vmw. Are you located in Norway? Wallander is blocked from outside Norway. But if the "unknown clip" happens for everything you try, there is problably some other problem.
Vattenmelon is offline   Reply With Quote
Old 2008-08-10, 11:11   #42 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts

Country:


Default

You could try this version:
NrkBrowser.zip

To get the clips in Natur and Super to play, you would need to have the mplayerplugin installed. I have hardcoded it to use it.. Should probably be a configuration setting. But would be nice the see if the "unknown clip" error is fixed.
Vattenmelon is offline   Reply With Quote
Old 2008-08-10, 11:15   #43 (permalink)
Portal Member
 
Join Date: Jun 2008
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Hi!

Yes, I'm located in Norway, and I have used the plugin with success before. Below is a snippet form Mediaportal.log, to me it looks like it's the gif (see text in bold) file that is reported at a unknown clip type, but I may bee wrong. Thanks for helping. For some reason NRK Browser tries to play a gif. file.

2008-08-10 10:54:41.632896 [Info.][MPMain]: FetchUrl(String): NRK Nett-TV - hastighetsmåling
2008-08-10 10:54:42.903896 [Info.][MPMain]: FetchUrl(String): NRK Nett-TV - hastighetsmåling
2008-08-10 10:54:44.372896 [Debug][MPMain]: GetClipUrl(Clip): (Clip) Antarktis - en eventyrlig reise: Episode 3
2008-08-10 10:54:44.373896 [Info.][MPMain]: FetchUrl(String): NRK Nett-TV - hastighetsmåling
2008-08-10 10:54:44.880896 [Info.][MPMain]: FetchUrl(String): http://www1.nrk.no/nett-tv/asx.aspx?...amp;browser=IE
2008-08-10 10:54:44.904896 [Info.][MPMain]: <asx version="3.0">
<param name="Encoding" value="utf-8" />
<abstract>NRK Nett-TV</abstract>
<title>NRK Nett-TV</title>
<author>NRK - Norsk Rikskringkasting</author>
<copyright> </copyright>
<entry>
<starttime value="162" />
<duration value="1738" />
<ref href="mms://straumOD.nrk.no/h/Antarktis___en_eventyrlig_reise/2008-04-02/Antarktis___en_eventyrlig_reise__3__02_04_08_1000_ 344469_20080402_195300.wmv" />
<ref href="http://fil.nrk.no/nett-tv/data/bilder/fullt.gif" />
<title>Antarktis - en eventyrlig reise: Episode 3</title>
<author>NRK - Norsk Rikskringkasting</author>
<abstract>Arne Nævra og Stein P. Aasheim fortsetter sin rundreise i Sørishavet.</abstract>
<copyright> </copyright>
</entry>
</asx>

2008-08-10 10:54:44.905896 [Info.][MPMain]: NrkBrowser PlayClip <ref href="http://fil.nrk.no/nett-tv/data/bilder/fullt.gif" />
2008-08-10 10:54:44.907896 [Info.][MPMain]: NrkBrowser Unknown clip type <ref href="http://fil.nrk.no/nett-tv/data/bilder/fullt.gif" />
2008-08-10 10:54:44.915896 [Debug][MPMain]: WindowManager: route NrkBrowser.NrkPlugin:40918376->MediaPortal.Dialogs.GUIDialogNotify:2016
2008-08-10 10:54:44.917896 [Debug][MPMain]: Window: MediaPortal.Dialogs.GUIDialogNotify init
2008-08-10 10:54:48.192896 [Debug][MPMain]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->NrkBrowser.NrkPlugin:40918376
2008-08-10 10:54:48.193896 [Info.][MPMain]: No translation found for id 41018376

Regards,
PK

Quote:
Originally Posted by Vattenmelon View Post
You could try this version:
Attachment 24162

To get the clips in Natur and Super to play, you would need to have the mplayerplugin installed. I have hardcoded it to use it.. Should probably be a configuration setting. But would be nice the see if the "unknown clip" error is fixed.
Hi!

Where do I get the mplayerplugin?

Regards,
PK

Last edited by paalkr; 2008-08-10 at 11:25. Reason: Automerged Doublepost
paalkr is offline   Reply With Quote
Old 2008-08-10, 12:24   #44 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts

Country:


Default

MEDIAPORTAL - free MediaCenter HTPC Software - My MPlayer , but it is only needed if you access the clips under "Natur" and "Super" I believe. I have no answer for the error in your log yet..will try to figure it out.
Vattenmelon is offline   Reply With Quote
Old 2008-08-10, 12:53   #45 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts

Country:


Default

Try this one: NrkBrowser.zip (source.zip)

Last edited by Vattenmelon; 2008-08-10 at 13:39. Reason: added source
Vattenmelon is offline   Reply With Quote
Old 2008-08-10, 13:20   #46 (permalink)
Portal Member
 
Join Date: Jun 2008
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by Vattenmelon View Post
MEDIAPORTAL - free MediaCenter HTPC Software - My MPlayer , but it is only needed if you access the clips under "Natur" and "Super" I believe. I have no answer for the error in your log yet..will try to figure it out.
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
paalkr is offline   Reply With Quote
Old 2008-08-10, 13:30   #47 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts

Country:


Default

Yep... don't know what has happened. But seems like the link to the "fullt.gif" file is new, and the method that returns the vidoeo-url know returned the url to the fullt.gif file. It didn't work for me either, but haven't used it for some days. But i believe the last upload should fix it. I will upload the source to.
Vattenmelon is offline   Reply With Quote
This User Say Thank You:
Old 2008-08-10, 13:53   #48 (permalink)
Portal Member
 
Join Date: Jun 2008
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by Vattenmelon View Post
Yep... don't know what has happened. But seems like the link to the "fullt.gif" file is new, and the method that returns the vidoeo-url know returned the url to the fullt.gif file. It didn't work for me either, but haven't used it for some days. But i believe the last upload should fix it. I will upload the source to.
Hi!

Thanks! It now works great!! Finally my last issue (so far) with MediaPortal is resolved, and I am one happy MP user. Thanks again for fixing this bug.

Regards,
PK
paalkr is offline   Reply With Quote
Old 2008-08-11, 21:14   #49 (permalink)
orz
Portal Member
 
Join Date: Mar 2008
Posts: 8
Thanks: 0
Thanked 7 Times in 2 Posts

Country:


Default

Great work, Vattenmelon! I'm glad someone has taken the time to keep the plugin up to date I recently bought a Popcorn Hour A-100, and haven't really used Media Portal after that...

Have you committed the changes you have done to the subversion repository? Also, would you like me to publish a new version on the plugins page, or alternately remove the one I have there so that you can upload your versions directly?

Terje
orz is offline   Reply With Quote
Old 2008-08-11, 23:33   #50 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts

Country:


Default

I haven't commited to subversion repository, I guess one needs an account to do that?, but I have uploaded the src files I have changed (see last post with both binary and source). Mostly quick-fixes i have applied. Perhaps a link to this tread from the plugin-page could be an idea? You can ofcourse just take the last binary from my post and upload it there if you want.

Last edited by Vattenmelon; 2008-08-11 at 23:36.
Vattenmelon is offline   Reply With Quote
Reply

Bookmarks

Tags
browser, nrk

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
NRK Open Online Spotlight plugin MrBacardi Plugins 18 2008-03-24 14:14
NRK, Online Spotlight question Hammer9600 MediaPortal 1 Talk 5 2008-02-16 20:54
Property Browser raf General Support 0 2007-03-04 15:40
Web browser. occir76 Get Support 9 2007-02-20 10:39
Browser does not open when clicking (Browser) in Mediaportal cyberzork Codecs, External Players 1 2006-03-08 07:10


All times are GMT +1. The time now is 05:02.


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