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


- Pman3003 - 2011-07-05

I can't find it in 10.0-9.

I have a fresh install, with no old repositories installed. Running on apple tv 2 with iOS 4.2.2

How do I install it manually?


- blackoutworm - 2011-07-10

Plz fix the download link. It's not working


Can't find it. At all. - stolsvik - 2011-07-17

ventech Wrote:It's in the official add-on repository. Under video.
I've been looking VERY hard for this, and it is just not there. Or is it?!

I am using the iPad version. When I go to "Get more.." under Video, I find a total of 23 Add-ons. Judging by the number of add-ons that I found in a statistics page, this number seems small. Why is it? (And on that statistics page, "NRK" is actually present..)

PS: I just installed XBMC, and the version string apparently reads "XBMC PRE-11.0 Git:20110623-62171b3".


Ipad and mac - Ziggiz - 2011-08-17

With my Ipad i cant find the plugin at all.

But on my mac it will install but i cant stream...

Is it possible to install the plugin manual on the ipad? download link?


- J--R - 2011-09-06

You need to install the plugin manually.
Download the plugin here:
https://github.com/takoi/xbmc-nrk-addon

Put the .zip file(do not extract it) using WInSCP or similar to the following folder:

/private/var/mobile

Change owner and group on the file to "mobile". In WinSCP right click the file and go to preferences
Choose "install from file" in the settings/add-on menu. Here you will find your downloaded plugin.





The above description is for ATV2


- takoi - 2011-09-06

Sorry the delay; i was never notified there were new posts here. Anyway, pre-11.0 have separate repo and apparently they're not transfered automatically. It will be added soon!


- rytmisk - 2011-09-21

Hi all

Tried to look at the code now, but it is too difficult for me to do what I want to do. I for one like to listen to radio, and NRK (SR, BBC and others too as well) has a great archive of radio programs online. There are plugins streaming these live and of course through plugins, but the streaming archives for radio is missing. I'd like one or more plugins with radio archive content like the NRK web tv plugin, the SVT play plugin and so forth.

Am I the only one?
I assume that it is fairly easy if you know how to code since NRK's names are the dates and times it was sent. Norsk på norsk sent 18/9-2011 at 15:03 on P1 has the name mms://straumod.nrk.no/rod/p1/p1h_110918_15.wma . (Don't know how they do it when a program starts at half past though). ut the whole scrape thing is really greek to me!

Anyone please!?
Ketil


- takoi - 2011-09-24

Well, first you need to find a way to get the actual audio streams. It looks javascript based so somewhere in this code there should be calls to some back-end functions. If you follow the javascript you might find it. This can be time consuming so i'll leave this for you or somebody else, as i dont have time. When you have this information however, the rest should be pretty simple. I can help out with this if needed.

Edit: just realized some direct links are listed here: http://www.nrk.no/podkast/
Its definitely no complete archive but let me know if its sufficient.


- rytmisk - 2011-09-28

Yeah the podcast version would be a good start, but it is rather limited. I was thinking that maybe if the plugin just analyzed which programs where sent on NRK from
(P1) http://www.nrk.no/programmer/sider/_/kanal/p1.html
(P2) http://www.nrk.no/programmer/sider/_/kanal/p2.html
(P3) http://www.nrk.no/programmer/sider/_/kanal/p3.html

If we follow the link for let's say folkemusikktimen (under p2):
http://www.nrk.no/programmer/sider/folkemusikktimen/
we see that there are black boxes for the programs that are available. The actual links are scramled, but in the html code there is
Code:
class="icon-sound-black">Folkemusikktimen<span>26.9.2011 19.03</span></a>
And the date can be used to generate the URL
mms://straumod.nrk.no/rod/p2/p2h_110926_19.wma
because the URL of the mms stream is generated by the combination of channel: "p2/p2"
bitrate: "h"=high, "m"=medium, "l"=low
date YMD:110926
Time:_19

I do not know if this is possible but it does seem to me as a layman that it should be fairly simple if you only know how to...

All the best
KEtil


- takoi - 2011-10-01

I get it now. About the half past though problem, does it work for you in the browsers? If so its just a javascript that fast forward. Im using linux so for me at least it doest work. It always start at :00. Either way, you can tell xbmc to start at a certain time so this shouldn't be a problem implementing.

So what is it that you need help with? Is it just scraping the html or the whole programming in general?


- rytmisk - 2011-10-05

Hi again. Having been away for a week...

I am no programmer so I would not know how to approach this, so I guess this is a question for someone who wants to program...
And no - the half past thing does not work for me either, but as you said it should be to fast forward to a specific point in the file. I do not know how to in the xbmc media player though.

So - any takers? It would really be valuable!!
Ketil


- takoi - 2011-10-05

Since it appears to be a lot easier than the tv addon, yeah i can do it. But it wont be for a least a couple of week, because im quite busy with school atm. So be patient!:)


Ahh! You are my hero! - rytmisk - 2011-10-05

Thanks!


- takoi - 2011-10-25

I worked a bit on this last weekend, but didn't get very far. It appears that xbmc is not able to seek in these streams, which is odd since it works in virtually every other media player. This ticket is probably related.


- rytmisk - 2011-10-30

Hm - sorry to hear about this! It is a pity! Would it help if mplayer was used instead?