[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) |
- The-Boxhead - 2009-07-10 Great news ! thanks you both mr grumpy and victor ! If i only could do python coding i would help Hope progress is going along ! - VictorV - 2009-07-13 I've spent some time coding on this plugin now, and it should work as specified by spiff. I re-organized the structure a bit, and added different views and a search function. I've also added some icons to make it look slicker, but some of them should absolutely be replaced with some that will fit better. I'll try to fix bugs as they appear, and I'll try to write some error handling into it when I have some spare time. I also hope we hear some good news from spiff soon, as it is a bit more enjoyable coding on something that works :p Download: http://prosjektet.net/xbmc/plugins/nrkplugin2_xbmc.7z This version is not testet properly since I only have a old laptop with a bad 3d card, running on windows atm. I'm far from happy with it, but I guess it should work better than earlier version. - spiff - 2009-07-13 hey, i got pissed at libmms this weekend as it worked on one puter of mine, not another one for no apparent (this being the key word i suspect) reason. your changed plugin should make it a bit easier to be me though so soon. - The-Boxhead - 2009-07-13 Okay have tested it. Seems like it throws me errors when i try to enter any categories. The only category that i could enter was : HTML-katalog but unable to actually play any content under there. I bellive the following snippet shows atleast some warning: Code: 20:39:33 T:2546228112 M:1676472320 NOTICE: File "/home/xbmc/.xbmc/plugins/video/nrk media browser/default.py", line 42, in ? More complete log: http://pastebin.com/m5b326743 gonna try latest xbmc build and see if anything changes... - VictorV - 2009-07-14 That's odd. It's seems like a typo in settings file. It might be stupid mistake that's been corrected in http://prosjektet.net/xbmc/plugins/nrkplugin2_00002.7z who works for me. It also contains some test with feedparser from nrk beta. Otherwise I'll take a look at it as soon as I can You can't play the videos at 'icanal' folder in the html directory either? I can't get it to play the videos hostet at pd.nrk, but icanals videos works great. I'm not sure how their system are set up, but it seems like icanal are used as some sort of bandwith balancing as the playlist videos "randomly" are redirected there and then works. - The-Boxhead - 2009-07-14 Gonna try the new link when i get home from work. And i didnt try the ones from icanal but gonna try that also. I realy hope that we can get a stable working nrk plugin since that was something i used alot back in the days when EnderW had his old nrk script - The-Boxhead - 2009-07-15 Same thing happens... no catagorys is possible to enter. The NRK Beta streams however i can enter and also stream content So it's almost there ! Debug Log snippet: http://pastebin.com/m255c311b - spiff - 2009-07-17 i have delivered on my promise in r21735. only linux for now, but i'm sure the other platforms will follow soonish - The-Boxhead - 2009-07-17 Spiff would this say that the script now works if i upgrade to r21735 ? Thank you so much for doing that job - ! - spiff - 2009-07-17 i didn't try the actual plugin (was too tired), but the hand-extracted url (as i gave instructions and victor said he had followed) definitely played - berland - 2009-07-19 Newest 7z-file has a bug either in webtv.py or in settings.xml. ViktorV would know where to fix it. My current workaround is below, but that only gets you through to browsing shows. Currently I don't get the shows to play, I just end with an empty directory. Boxhead: From your log, it seems that you ran into this one. Code: diff --git a/NRK_API/webtv.py b/NRK_API/webtv.py - berland - 2009-07-19 Extra note: Delete the *.pyo files from the 7z-archive, I think I also got into problems with these (they had some paths in them stemming from ViktorV's machine). They will be recompiled upon running the plugin. - The-Boxhead - 2009-07-19 Berlend i removed all the *.pyo files i could find but still the same for me Fresh debug log: http://pastebin.com/m261789f3 - slankbakfra - 2009-07-19 Hello, I got some of the shows working by editing xbmcplugin_program.py Code: --- C:\Users\frode\Documents\xbmc\plugins\nrk media browser\NRK_API\xbmcplugin_program.py ma jul 13 15:38:28 2009 - VictorV - 2009-07-20 Hello! I'm not quite sure what the problem was. It seems to work properly after removing some entries in settings.xml. http://prosjektet.net/xbmc/plugins/nrk_plugin_20072009.7z I've tested this on my xbox and my windows build. xbox works properly where it should, windows really doesn't play anything, but plugin seems to work. Just ignore the podcast section of the plugin. May be disabled in settings (I forgot) It's still wip, but I have startet to implement some errorhandling that should create a better experience and a more stable plugin. It also remains some work against the xbmc api. Infolabels, sortmethods, context menus ++ |