XBMC Community Forum
[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)

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


- The-Boxhead - 2009-07-21 23:12

YES !!!! it works perfect so far, playing high quality NRK streams Smile

Thank you so much VictorV, Spiff, berland and everyone making this
plugin work !!


- VictorV - 2009-07-25 02:41

Good to hear boxhead Smile

I've spent a shitload of time creating something completly useless now Tongue
I came across the teletext service at nrk's webpages, and thought it couldn't be that hard or time demanding to implement a parser for that in this plugin. I guess I was wrong..
I've ended up with a python script that parses the teletext table from the html markup, translates it into fonts represented by binary strings, generates an array and writes out a png image. Since it's pure python solution it's not superfast, but after some improvements, it's absolute usable.

[Image: 11179.jpg]

There's also some small changes in code in other section, but pretty much just some clean up of code.
I'll have to try working out some bugs next time I spend some time with the plugin. Fix the search. Clean up playlist section, as worked great before I messed up the code Smile Fix support for video and radio podcast, and improve the webradio section
Shouldn't be to much work, but things really need to be polished a bit


Download:
http://prosjektet.net/xbmc/plugins/nrk_plugin_24072009.7z


- VictorV - 2009-07-25 03:44

I almost forgot..

Here the complete xml file with radio streams from nrk:
http://prosjektet.net/xbmc/plugins/webradio.xml

Just download, and add to resources directory within the plugins home directory. The icons should already be there

What do you think about the podcast.. Should they be scraped from the page or set static in a xml file, as the radio streams? I don't think they extending/updating the list very often and there's alot of outdated/empty entries.


- VictorV - 2009-07-26 01:20

There was some question about the podcasts, so I throwed together a quick solution there.

http://prosjektet.net/xbmc/plugins/nrk_plugin_26072009.7z
Should have a working podcast section Smile


- The-Boxhead - 2009-07-26 21:11

Excellent Victor ! your work is greatly appreciated !

Everything works very well !!


- berland - 2009-07-30 10:30

Excellent work, yes. Now I find myself watching instead of looking at the code..

I find very few bugs, though I have not tested how to change settings (I have fixed connection speed to max in the source), I think this plugin is more than ready to be published at

http://code.google.com/p/xbmc-addons/

As for feature ideas, this springs to my mind:
  • Some notion of which shows/episode have been watched (like in xbmc library mode)
  • Possibility to read the descriptions attached to each show/episode



- VictorV - 2009-07-30 15:07

berland Wrote:
  • Some notion of which shows/episode have been watched (like in xbmc library mode)
Should be easy to implement in a flat file system. I have thought of it, but wasn't sure how atractive it was

berland Wrote:
  • Possibility to read the descriptions attached to each show/episode
Yeah, this would be just to add the plot to the listitem since it's allready in structure, so this I could do next time I take a look at the code. The only issue was how to set things up. I'm not quite into how tv shows/episodes are setup or if I should just set all clips as induvidual movies.


It also seems like there is a problem playing clips with norwegian characters in url. I spent some time making it work early in development, but it seems to have be screwed up.

I guess I'll use some time clean things up sometime soon when I got the time, and I read up on svn access.


- berland - 2009-07-30 22:38

Another thing to keep in mind is making a video demonstration of the plugin, this is close to being a killer app for xbmc for norwegian users.

A link to the video could be injected at various websites, among them nrkbeta.no


- Halvliter - 2009-08-01 12:50

This isn't working for me. I wasn't sure which version to download so I chose nrk_plugin_26072009 and unpacked it into the videoplugins-folder.

For example; I choose the category "Natur" and then "Aktuelt", and all I see is list with icons with the name "stream.ashx" on all of them. When I click to play it, nothing happens.

In "Program", "Vis alle", "Autofil", "2008" there is 10 icons that has a white paper, and all has the name "nrk media browser". Same in the folder "Ekstramateriale".

What have I done wrong?

XBMC 9.04.1 r20654 (Compiled May 25 2009) running on Ubuntu 8.04.

(Linux noob in learning)


- spiff - 2009-08-01 13:04

read the thread. then blush.