Kodi Community Forum
[RELEASE] Norwegian NRK Web-TV (Video) Plugin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Norwegian NRK Web-TV (Video) Plugin (/showthread.php?tid=52824)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47


- VictorV - 2010-05-03

Feilmeldingen skyldes nok dårlig programmering fra meg, men problemet ligger nok i at podcastene ikke har noen automatisk oppdatering.
Podcastene (url, bilde, tittel) ligger hardcodet i en xml-fil (userdata/plugin/NRK om jeg ikke husker helt feil) Planen var å skrive et litt mer softifikert system for den delen, siden det er såpass uoversiktelig, men inntil videre kan man redigere xml-filene for hånd. Lenkene kan finnes på: http://www.nrk.no/podkast/


- pettergulbra - 2010-05-06

Tries to go in to NRK>Nyheter>Aktuelt: Exceptions.Atributeerror exceptions.atributeerror in urlsplit at line 88 in file special://xbmc/system/python/python24.zlib/urlparse.... ´tuple´ object har no attribute `find`

This happens for everything.

What does this mean?


- VictorV - 2010-05-08

NRK have changed the structure on their web are, and broke some of the plugin features. Seems like they have removed the flashplayer and the news/sport/etc playlists. I take a closer look at it tonight and then probably remove it from the plugin. Everything found in those playlist can be found in the program section


- dsgh - 2010-05-30

I've installed the NRK XBMC-plugin (0.9.6) on my AppleTV, but it is unfortunately not working properly. Playing videos from 'NRKBeta' works just fine, but every time I try to play a video from the 'Program'-section I get the following error; "Error:XBMC/Boxee exited with status:5 Hit menu to return."

A debug log follows; (I had to remove parts of the debug log from this post as it got too long. Let me know if i took out parts that you need)

Quote:...
17:46:26 T:44231168 M: 15179776 NOTICE: PLUGIN::LOADED -> 'NRK_API.utils'
17:46:26 T:44231168 M: 15110144 NOTICE: PLUGIN::INIT -> 'NRK: version 0.9.6'
17:46:26 T:44231168 M: 15110144 NOTICE: PLUGIN::COMPABILITY -> Required XBMC Revision: r21735
17:46:26 T:44231168 M: 15110144 NOTICE: PLUGIN::COMPABILITY -> Found XBMC Revision: r26018 [Compatible]
17:46:27 T:44231168 M: 13529088 NOTICE: PLUGIN::LOADED -> 'NRK_API.connection_manager'
17:46:27 T:44231168 M: 13529088 NOTICE: PLUGIN::IMPORT -> "pickle" module
17:46:28 T:44231168 M: 13463552 NOTICE: PLUGIN::LOADED -> 'NRK_API.xbmcplugin_rootmenu'
17:46:33 T:44598272 M: 14565376 NOTICE: -->Python Interpreter Initialized<--
17:46:33 T:44598272 M: 14467072 NOTICE: PLUGIN::LOADED -> 'NRK_API.utils'
17:46:35 T:44598272 M: 13676544 NOTICE: PLUGIN::LOADED -> 'NRK_API.connection_manager'
17:46:35 T:44598272 M: 13709312 NOTICE: PLUGIN::IMPORT -> "pickle" module
17:46:35 T:44598272 M: 13639680 NOTICE: PLUGIN::LOADED -> 'NRK_API.xbmcplugin_program'
17:46:35 T:44598272 M: 13611008 NOTICE: PLUGIN::SESSION -> try key: -30898521
17:46:35 T:44598272 M: 13611008 NOTICE: PLUGIN::SESSION -> no saved data. new empty session created
17:46:35 T:44598272 M: 13611008 NOTICE: SESSION: -> data not found in jar
17:46:35 T:44598272 M: 13611008 NOTICE: PLUGIN::SPAM -> program listing requested..
17:46:35 T:44598272 M: 13602816 NOTICE: PLUGIN::SPAM -> Set plugin dir content "files"
17:46:35 T:44598272 M: 13602816 NOTICE: PLUGIN -> Stack contains 10 elements
17:46:35 T:44598272 M: 13582336 NOTICE: PLUGIN:Big GrinIRECTORY -> added: 10 success: 1 handle: 0
17:46:35 T:44598272 M: 12509184 NOTICE: PLUGIN::SESSION -> close()
17:46:35 T:44598272 M: 12505088 NOTICE: PLUGIN::SESSION -> cache: True, changed: False
17:46:39 T:44828160 M: 13668352 NOTICE: -->Python Interpreter Initialized<--
17:46:39 T:44828160 M: 13594624 NOTICE: PLUGIN::LOADED -> 'NRK_API.utils'
17:46:40 T:44828160 M: 13131776 NOTICE: PLUGIN::LOADED -> 'NRK_API.connection_manager'
17:46:40 T:44828160 M: 13131776 NOTICE: PLUGIN::IMPORT -> "pickle" module
17:46:40 T:44828160 M: 13053952 NOTICE: PLUGIN::LOADED -> 'NRK_API.xbmcplugin_program'
17:46:40 T:44828160 M: 13025280 NOTICE: PLUGIN::SESSION -> try key: -2076012799
17:46:40 T:44828160 M: 13025280 NOTICE: PLUGIN::SESSION -> no saved data. new empty session created
17:46:40 T:44828160 M: 13025280 NOTICE: SESSION: -> data not found in jar
17:46:40 T:44828160 M: 13025280 NOTICE: PLUGIN::SPAM -> program listing requested..
17:46:40 T:44828160 M: 12988416 NOTICE: PLUGIN::SPAM -> Set plugin dir content "files"
17:46:40 T:44828160 M: 12988416 NOTICE: PLUGIN -> Stack contains 26 elements
17:46:40 T:44828160 M: 12931072 NOTICE: PLUGIN:Big GrinIRECTORY -> added: 26 success: 1 handle: 0
17:46:40 T:44828160 M: 12787712 NOTICE: PLUGIN::SESSION -> close()
17:46:40 T:44828160 M: 12787712 NOTICE: PLUGIN::SESSION -> cache: True, changed: False
17:46:45 T:44644352 M: 11735040 NOTICE: -->Python Interpreter Initialized<--
17:46:45 T:44644352 M: 11653120 NOTICE: PLUGIN::LOADED -> 'NRK_API.utils'
17:46:46 T:44644352 M: 11124736 NOTICE: PLUGIN::LOADED -> 'NRK_API.connection_manager'
17:46:46 T:44644352 M: 11124736 NOTICE: PLUGIN::IMPORT -> "pickle" module
17:46:46 T:44644352 M: 11087872 NOTICE: PLUGIN::LOADED -> 'NRK_API.xbmcplugin_program'
17:46:46 T:44644352 M: 11051008 NOTICE: PLUGIN::SESSION -> try key: 791336729
17:46:46 T:44644352 M: 11051008 NOTICE: PLUGIN::SESSION -> no saved data. new empty session created
17:46:46 T:44644352 M: 11051008 NOTICE: SESSION: -> data not found in jar
17:46:46 T:44644352 M: 11051008 NOTICE: PLUGIN::SPAM -> program listing requested..
17:46:46 T:44644352 M: 11051008 NOTICE: SESSION: -> data not found in jar
17:46:46 T:44644352 M: 11051008 NOTICE: PLUGIN::CONNECTION -> Connection to www1.nrk.no requested...
17:46:47 T:44267008 M: 11431936 NOTICE: PLUGIN::CONNECTION -> '/nett-tv/DynamiskLaster.aspx?LiveContent%24letter%3AH' -> status code: 200
17:46:47 T:44644352 M: 11399168 NOTICE: PLUGIN::SPAM -> Set plugin dir content "tvshows"
17:46:47 T:44644352 M: 11399168 NOTICE: PLUGIN -> Stack contains 41 elements
17:46:47 T:44644352 M: 11399168 NOTICE: PLUGIN::IMAGEARCHIVER -> open with key: "imga_program_letter_H_"
17:46:47 T:44644352 M: 11399168 NOTICE: SESSION: -> data not found in jar
17:46:47 T:44644352 M: 11399168 NOTICE: PLUGIN::IMAGEARCHIVER -> Create new archive
17:46:47 T:44644352 M: 11399168 NOTICE: PLUGIN::CONNECTION -> Connection to http://www.nrk.no requested...
...
17:46:52 T:44644352 M: 11542528 NOTICE: PLUGIN::IMAGEARCHIVER -> save with key: "imga_program_letter_H_"
17:46:52 T:44644352 M: 11542528 NOTICE: PLUGIN:Big GrinIRECTORY -> added: 41 success: 1 handle: 0
17:46:52 T:44644352 M: 11542528 NOTICE: PLUGIN::SESSION -> close()
17:46:52 T:44644352 M: 11542528 NOTICE: PLUGIN::SESSION -> cache: True, changed: True
17:46:52 T:44644352 M: 11542528 NOTICE: PLUGIN::SESSION -> save data with key "791336729" to path "/Users/frontrow/Library/Application Support/XBMC/userdata/plugin_data/video/NRK/cache/791336729"
17:46:58 T:44582400 M: 11493376 NOTICE: -->Python Interpreter Initialized<--
17:46:58 T:44582400 M: 11399168 NOTICE: PLUGIN::LOADED -> 'NRK_API.utils'
17:46:59 T:44582400 M: 10932224 NOTICE: PLUGIN::LOADED -> 'NRK_API.connection_manager'
17:46:59 T:44582400 M: 10932224 NOTICE: PLUGIN::IMPORT -> "pickle" module
17:47:00 T:44582400 M: 10932224 NOTICE: PLUGIN::LOADED -> 'NRK_API.xbmcplugin_program'
17:47:00 T:44582400 M: 10932224 NOTICE: PLUGIN::SESSION -> try key: -1115168185
17:47:00 T:44582400 M: 10932224 NOTICE: PLUGIN::SESSION -> no saved data. new empty session created
17:47:00 T:44582400 M: 10932224 NOTICE: SESSION: -> data not found in jar
17:47:00 T:44582400 M: 10932224 NOTICE: SESSION: -> data not found in jar
17:47:00 T:44582400 M: 10932224 NOTICE: PLUGIN::CONNECTION -> Connection to www1.nrk.no requested...
17:47:00 T:44321792 M: 10473472 NOTICE: PLUGIN::CONNECTION -> '/nett-tv/menyfragment.aspx?type=project&id=1473&showroot=true' -> status code: 200
17:47:00 T:44582400 M: 10465280 NOTICE: PLUGIN::SPAM -> Set plugin dir content "episodes"
17:47:00 T:44582400 M: 10465280 NOTICE: PLUGIN -> Stack contains 8 elements
17:47:00 T:44582400 M: 10444800 NOTICE: PLUGIN:Big GrinIRECTORY -> added: 8 success: 1 handle: 0
17:47:00 T:44582400 M: 8302592 NOTICE: PLUGIN::SESSION -> close()
17:47:00 T:44582400 M: 8273920 NOTICE: PLUGIN::SESSION -> cache: True, changed: True
17:47:00 T:44582400 M: 8208384 NOTICE: PLUGIN::SESSION -> save data with key "-1115168185" to path "/Users/frontrow/Library/Application Support/XBMC/userdata/plugin_data/video/NRK/cache/-1115168185"
17:47:04 T:45114880 M: 10551296 NOTICE: -->Python Interpreter Initialized<--
17:47:04 T:45114880 M: 10477568 NOTICE: PLUGIN::LOADED -> 'NRK_API.utils'
17:47:05 T:45114880 M: 10047488 NOTICE: PLUGIN::LOADED -> 'NRK_API.connection_manager'
17:47:05 T:45114880 M: 10047488 NOTICE: PLUGIN::IMPORT -> "pickle" module
17:47:05 T:45114880 M: 10018816 NOTICE: PLUGIN::LOADED -> 'NRK_API.xbmcplugin_program'
17:47:05 T:45114880 M: 9986048 NOTICE: PLUGIN::SESSION -> try key: -1115168185
17:47:05 T:45114880 M: 9969664 NOTICE: PLUGIN::SESSION -> data with key "-1115168185" read from disk
17:47:05 T:45114880 M: 9969664 NOTICE: SESSION: -> data not found in jar
17:47:05 T:45114880 M: 9428992 NOTICE: SESSION: -> data not found in jar
17:47:05 T:45114880 M: 9428992 NOTICE: PLUGIN::CONNECTION -> Connection to www1.nrk.no requested...
17:47:06 T:44293120 M: 9170944 NOTICE: PLUGIN::CONNECTION -> '/nett-tv/silverlight/getmediaxml.ashx?id=619656&hastighet=1800&vissuper=true' -> status code: 200
17:47:06 T:45114880 M: 9146368 NOTICE: mms://straumod.nrk.no/disk11/hjernevask/geoblokk/2010-03-15/OCHS46000309WW-1Mbit.wmv
17:47:06 T:45114880 M: 9146368 NOTICE: SESSION: -> data not found in jar
17:47:06 T:45114880 M: 9146368 NOTICE: PLUGIN::CONNECTION -> Connection to straumod.nrk.no requested...
17:47:06 T:45202432 M: 9359360 NOTICE: PLUGIN::CONNECTION -> '/disk11/hjernevask/geoblokk/2010-03-15/OCHS46000309WW-1Mbit.wmv?' -> status code: 200
17:47:06 T:45114880 M: 9408512 NOTICE: [Reference]
Ref1=http://straumod.nrk.no/disk11/hjernevask/geoblokk/2010-03-15/OCHS46000309WW-1Mbit.wmv?&MSWMExt=.asf
Ref2=http://10.103.0.57:80/disk11/hjernevask/geoblokk/2010-03-15/OCHS46000309WW-1Mbit.wmv?&MSWMExt=.asf
17:47:06 T:45114880 M: 9408512 NOTICE: PLUGIN::SPAM -> play url mms://straumod.nrk.no/disk11/hjernevask/geoblokk/2010-03-15/OCHS46000309WW-1Mbit.wmv?&MSWMExt=.asf
17:47:06 T:45114880 M: 9408512 NOTICE: PLUGIN::SPAM -> mark video as watched
17:47:06 T:45114880 M: 9408512 NOTICE: PLUGIN::SESSION -> close()
17:47:06 T:45114880 M: 9408512 NOTICE: PLUGIN::SESSION -> cache: True, changed: True
17:47:06 T:45114880 M: 9408512 NOTICE: PLUGIN::SESSION -> save data with key "-1115168185" to path "/Users/frontrow/Library/Application Support/XBMC/userdata/plugin_data/video/NRK/cache/-1115168185"
17:47:06 T:2684407808 M: 8265728 NOTICE: DVDPlayer: Opening: mms://straumod.nrk.no/disk11/hjernevask/geoblokk/2010-03-15/OCHS46000309WW-1Mbit.wmv?&MSWMExt=.asf
17:47:06 T:2684407808 M: 8257536 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
17:47:06 T:45202432 M: 8253440 NOTICE: Creating InputStream



- scope - 2010-06-05

Any progress on fixing this plugin?


Latest SVN's Add-on feature - CLUE9 - 2010-06-13

Im using one of the latest SVN's (r30732) and having trouble making NRK Web-TV working with the latest Add-on feature.
Seems like the old plugin and script feature are removed in the latest svn's.
Plugin and Script folders are removed, and a new Addons folder is replacing the old system.
This plugin shoud be updated to work with the later svn versions, and prepare for XBMC 10.5

More info i found of the topic:
http://xbmc.org/theuni/2010/03/01/impending-merge-addons/
http://forum.xbmc.org/showthread.php?tid=70731


- VictorV - 2010-06-14

I'll take a look at it when i have some spare time, if someone else dosen't do it first, but I can't promisse when.


- spiff - 2010-06-16

we went ahead and did just that. it's now available in the add-on browser.

victorv; you probably want to diff it against your own repo to see what's needed. note that changes which breaks with older xbmc's have been performed.


- berland - 2010-06-16

I merged Spiff's changes into the google code repo for the NRK plugin. Realizing afterwards that it might not have been very smart, as it breaks compatibility with older XBMCs. At least the diff displays the changes done,

http://code.google.com/p/xbmc-addons/source/detail?r=1715

(anyone might revert r1715 if there was no point in it)

Where did the new NRK-code come from (I downloaded it using the Add-on-manager)? Where should further development on the NRK-plugin/NRK-addon now happen? (as the addon-manager at least did not download from code.google.com)


- spiff - 2010-06-17

we have a git backend where we host the releases http://xbmc.git.sourceforge.net/git/gitweb-index.cgi
this is not for development. development should happen just like before. when a new version is ready, you send a pull request on trac.


- VictorV - 2010-06-25

Sweet!

All the playlist entries in xbmcplugin_root_menu.py could be commented out or removed to avoid confusion. it dosen't seem like NRK going to support that solution in future.


- kolaf - 2010-07-09

Hi,

I have just recently installed XBMC on my Windows XP computer and hooked it up to my brand-new 50 inch plasma display. After setting up XBMC I went into the programs entry and found the repository of plug-ins. I was really happy to see the NRK plug-in, and installed it promptly. However, my disappointment was soon a fact when it turned out it produced a script error.

Given what I have read in this thread I'm led to believe that it might be a simple thing to fix unless NRK has changed something in their system. Please let me know if you need any additional feedback as to how the problem appears, or correct me if I have done something wrong.

Thanks for your great effort in maintaining this.

kolaf

Edit: I see, perhaps the reason is that I am using the last stable release? I will try to upgrade to a nightly build in the hopes that it is not too unstable.


- kolaf - 2010-07-09

Okay, so I downloaded the nightly build from a few days back (the latest build was broken).

The first thing I really noticed was that the number of plug-ins was greatly reduced compared to the official version.

I still get errors on the NRK plug-in in the form of exceptions when it tries to pass the list of "episodes".


- ekvals - 2010-07-10

spiff Wrote:we went ahead and did just that. it's now available in the add-on browser.

victorv; you probably want to diff it against your own repo to see what's needed. note that changes which breaks with older xbmc's have been performed.

Where doi find the "add on browser"..?


- VictorV - 2010-07-17

kolaf: you using the playlist entries (news, sports++) or the programs entry? You should use the "programmer" entry. The playlist should be removed