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)



- berland - 2009-08-12

Great! There is a slight catch though.. Smile

Found a (devastating) new bug yes.. XBMC crashes after loading all show-directories. I click e.g. 'Program' -> "Vis tema liste" -> "Underholdning", xbmc retrieves data from nrk webpages for some time, and when it is finished, xbmc crashes (xbmc exits). No error messages in log, only that it has written cache data.

I tried deleting my old cache (written by a previous version of the plugin), but it did not help.

Have not tried: compiling latest xbmc from svn.


- VictorV - 2009-08-13

That isn't a new feature for sure Smile
You're running on a linux platform? I've tried it on two windows build on different machines, and two xboxes and it worked as should, but I haven't any possibilities to test on any linux build atm.

The most obviouse I can think of would be the pickle module making some trouble. I have used the cPickle module in that last version. You could test this release, and tell if it's so.

I've also added support for transparent files and folders, to avoid so much navigating
Also added some small cosmetic details
http://prosjektet.net/xbmc/plugins/nrk_plugin_13082009.7z


- VictorV - 2009-08-14

http://prosjektet.net/xbmc/plugins/nrk_plugin_14082009.7z

Added local vignettes to the archive, so you could use your own, or nrks classic vignettes in playlist. It is just to avoid streaming the vignettes over the internet every time, but I found it fun to use some I found on youtube.

The playlists now autoplay videos. some of them are only working on xbox. I not sure what needs to be done, but as a temp solution in the script there could be added a download feature, as the videos seemed to play just nice when played locally. On Windows and Linux(I guess?) builds I added a error.avi that should be played, so the plugin don't crash.

The plugin now also removes empty folders, so sometimes the directory listing willl be different from nrk s website, but it's only empty folders.


- bluejudas - 2009-08-31

VictorV Wrote:http://prosjektet.net/xbmc/plugins/nrk_plugin_14082009.7z
Hi,

Tanx for the good effort Smile
... but I have a problems with live(Direkte) streams. I get "No data received" as error message. I have seen this on other streams as well, but not all. I have no problems directly from nrk.no on my computer.

Edit:
I have tested it both with xbox and the windows version of XBMC.

Edit2:
It looks like its problems with icanal streams...

~b


- The-Boxhead - 2009-09-14

This is awesome work. Love how this script is turning out !

However i too have probems with "direkte" streams. Damn and today i was hoping to wath "velg09" but offcourse thats one of the streams not working Sad

anyhow i realy appriciate all the hardwork put down !


- The-Boxhead - 2009-09-15

For direct live streaming of NRK1 and 2 i found two mms streams:

NRK1
mms://mms-icanal-live.online.no/nrk_tv_webvid03_h

NRK2
mms://mms-icanal-live.online.no/nrk_tv_webvid02_h

if you dont want high quality just replace the _h with _l to get low bitrate.

If you dont know how to use strm files in xbmc here's a quicky:
paste the nrk1 link above into a blank txt document. Save the file as NRK1.strm
Do the same for NRK2 but name it NRK2.strm

Put both files in a folder named NRK and leave the folder a place where your xbmc can reach it.

From xbmc add source and choose your NRK folder. Then enter the NRK source and select either NRK1.strm or NRK2.strm


- VictorV - 2009-09-21

If you could post some logs, I will take a look at it


- VictorV - 2009-09-27

The-Boxhead Wrote:For direct live streaming of NRK1 and 2 i found two mms streams:

NRK1
mms://mms-icanal-live.online.no/nrk_tv_webvid03_h

NRK2
mms://mms-icanal-live.online.no/nrk_tv_webvid02_h

if you dont want high quality just replace the _h with _l to get low bitrate.

If you dont know how to use strm files in xbmc here's a quicky:
paste the nrk1 link above into a blank txt document. Save the file as NRK1.strm
Do the same for NRK2 but name it NRK2.strm

Put both files in a folder named NRK and leave the folder a place where your xbmc can reach it.

From xbmc add source and choose your NRK folder. Then enter the NRK source and select either NRK1.strm or NRK2.strm

I think you always getthe correct stream if you use:

mms://straumv.nrk.no/nrk_tv_direkte_nrk1_h
mms://straumv.nrk.no/nrk_tv_direkte_nrk2_h
mms://straumv.nrk.no/nrk_tv_direkte_nrk3_h


- Novin - 2009-09-27

Hello

Maybe you could use the XOT-Uzg framework and just add a channel there instead?


- eiiriik - 2009-10-03

i cant even copy the æ-ø-å png files.

I got a appletv, and im using SFTP to transfer.

When trying to load the plugin i get:

Error
Phyton script failed:
special://home/plugins/video/nrk media browser/default.py


- The_Dig - 2009-10-16

Hi,

I have copied the NRK plugin folder to the right folder (plugins/video), but it doesn't show up in XBMC. Is there anything else I have to do to make it show in the media center?


- spiff - 2009-10-16

if it doesn't show you haven't stuck it in the correct directory at all.

depending on your platform that could be e.g.

%APPDATA%/xbmc/plugins/video
~/.xbmc/plugins/video
or
uhrr. somewhere on osx


- The_Dig - 2009-10-16

I'm using Windows 7.

The full path is:

C:/Program Files/XBMC/plugins/video

The "NRK media browser" folder containing the plugin is placed in the above mentioned path.


- spiff - 2009-10-16

which is wrong. as i said %APPDATA% and that works just fine on win7 as well afaik.


- The_Dig - 2009-10-16

Right. Found it. It's working fine now. I was wrong. You were right. I did not know that that folder existed before you pointed it out.

Thanks! Big Grin