[RELEASE] Norwegian NRK Web-TV (Video) Plugin - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Norwegian NRK Web-TV (Video) Plugin (/showthread.php?tid=52824)
- kolaf - 2010-07-17 09:03
I've basically tried every entry. Whenever it gets close to actually listing the shows under a heading, be it alphabetical, most popular, etc, I get a Python exception in python/lib/urlparse.py saying that a tuple has no attribute find. In urlsplit, line 89. This is with one of the latest nightly builds.
- VictorV - 2010-07-21 15:48
I finally got a computer to test it myself and there's something that has changed in their internal api i guess. I'll look into it tonight
- kolaf - 2010-07-22 09:18
VictorV Wrote:I finally got a computer to test it myself and there's something that has changed in their internal api i guess. I'll look into it tonight
That's what I thought, given that the error was in some internal files, not in your files.
I briefly considered looking into it to fix it, but I ended up hoping for you to fix it instead, or some of the XBMC crew
- VictorV - 2010-07-22 16:28
luckily it was a small error. The connection manager didn't handle the HTTP 301 that occured. I implemented support for 301 (permanent redirection), but a real quick fix would be to just change the hostadress in api_nrk.py from "http://www1.nrk.no/nett-tv" to "http://www.nrk.no/nett-tv" to avoid the 301 i guess.
I also did some improvements, removed some old and outdated functionallity, and tried to make it compatible for both the old and the new plugin system for backwards compability. I will do some final touches, fight some real world persons (one of them atleast six years old!) that drives me insaine with their noise outside. Probably my better half also will demand some attention. But then I will commit the changes to repo
- spiff - 2010-07-22 16:39
don't forget to send a pull req mail to the addons ml
- kolaf - 2010-07-22 22:53
I did the quick fix you suggested, and now "program" works. However, it fails on programs with Norwegian letters. It throws a Unicode exception...
Apart from that, great work. I hope you continue updating it to achieve full functionality and keep up with the changes in XBMC and NRK.
- VictorV - 2010-07-23 17:08
kolaf Wrote:I did the quick fix you suggested, and now "program" works. However, it fails on programs with Norwegian letters. It throws a Unicode exception...
I'm not sure what's wrong with urlencoded filenames with norwegian characters.
Following HTTP request sent from xbmc gives a 404 response code
while following request gives a 200 response
It doesn't throw a error now, but it still don't work. I might try to figure it out later.
Much of the functionallity seen in the prev. versions of the plugin aren't served by NRK anymore, and are now removed from the plugin (i guess i could remove half of the source code now). The teletext service is also temp. down. NRK says it will be back in a new version, so until then I have disabled that feature.
The rss feed sources can be manually edited with entries from http://www.nrk.no/podkast/
I have some problems comitting to svn atm, so here's a archived version http://prosjektet.net/xbmc/plugins/nrk.zip
spiff: will do that after I have downloaded and installed a new build of those hyper-modern XBMC, so I can play around with the addons system and read up on addons first.
- spiff - 2010-07-23 19:14
due to some misunderstandings, this will be a bit messy, sorry. we have our routines established now so it won't happen again.
we have some updates commited in our git. in particular; hungarian translations. you can find the addon.xml update here; http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=blob;f=plugin.video.rbk.no/addon.xml;h=9f46572829733b9ccb0a196fd0ed6e306085e4ee;hb=refs/heads/dharma-pre
i have no idea where the strings went, they can probably be found on trac in http://trac.xbmc.org/ticket/9657
additionally we have http://trac.xbmc.org/ticket/9712
normally i'd split that one off for you but forums are so icky for this, so until you're on the ml that's the best i cba to do
- VictorV - 2010-07-24 12:01
- VictorV - 2010-08-25 23:18
could people please confirm if the addon in last post works as it should? would be great
Also if someone could replace this in repos it would be nice. I have no computer to develop at atm.