![]() |
|
[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-11-10 11:56 +1
- dsgh - 2010-11-10 20:41 ventech Wrote:There's a new version in the repo now. It's probably a stupid question, but where do I find this version? The last update on http://code.google.com/p/xbmc-addons/source/browse/#svn/trunk/plugins/video/NRK was in June. - takoi - 2010-11-10 21:02 ..as in official addon repository. Dharma only - dsgh - 2010-11-11 00:05 Thanks! Turned out I had an outdated version of xbmc. This version of the plugin works great on my AppleTv (atv flash). - oro2 - 2010-11-11 15:00 Works great now (win dharma beta 4) Thanks. - mif86 - 2010-11-13 01:56 Very nice! But there is a minor bug that I had to fix before getting it working: ERROR: Error Type: <type 'exceptions.SyntaxError'> ERROR: Error Contents: ("Non-ASCII character '\\xc3' in file /home/finstad/.xbmc/addons/plugin.video.nrk/default.py on line 29, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('/home/finstad/.xbmc/addons/plugin.video.nrk/default.py', 29, 0, None)) This was easily fixed by adding this as the very first line in default.py: # -*- coding: utf-8 -*- I guess newer version of python requires you to explicitly set encoding. - scope - 2010-11-13 16:12 Updated and working again. ![]() Tusen takk. - VictorV - 2010-11-15 22:43 looks great ventech! suggestion: use "ctl00_contentPlaceHolder_ProjectImage_projectImage" as fanart for "projects" - takoi - 2010-11-16 00:06 VictorV Wrote:suggestion:This is one of the things i couldn't find a solution to. xbmc doesn't handle redirects like with thumbs so you'll need the direct link. I've tried using urllib to follow and read the header but its just way too slow. It means waiting for several seconds every time you enter a directory. - VictorV - 2010-11-16 02:23 I've ran into that same problem dealing with thumbnails once. I solved it cpickling a dict with info from header to disk, so you would only need to do that once. But that's a lot of extra code for such a small feature. You might be able to reverse engineer how the redirect is done and create a client side solution if you study the decoded data from the filename in the redirect uri? I took the teletext feature in my old plugin and made a script if someone other would like this: http://prosjektet.net/xbmc/script/script.nrkteletext.zip |