Norwegian TV-guide python script wanted
#1
can any norwegian scripters modify the danish tv guide to use norwegian tv channels?
Reply
#2
post in correct subforum!!
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
hi there, to make a norwegian tv guide, we need some kind of site to rip the information off. do you know of a site that has a complete channel guide for norwegian.
i myself could like to have a such thing on my xbmc, so perhaps i will make such script.

(god jul og godt nyttår Smile )
Reply
#4
(thor918 @ jan. 05 2005,02:58 Wrote:hi there, to make a norwegian tv guide, we need some kind of site to rip the information off. do you know of a site that has a complete channel guide for norwegian.
i myself could like to have a such thing on my xbmc, so perhaps i will make such script.

(god jul og godt nyttår Smile )
hiya!

i would love for someone to make a norwegian tvguide Smile

some well known sources are:

http://tux1.aftenposten.no/tv/

http://www.dagbladet.no/tv

http://www.sol.no/tv/guiden

http://klikk.vg.no/tv

http://pub.tv2.no/nettavisen/tv/

hope someone can make it happen Smile
xbox v1.6b - spider v1.0 - wd 160gb - s-video & optic output - evox - xbmc
Reply
#5
yeah agree with u guys! someone should make it happen! maybe some of the sweedish or the danish scripters will help us out couse they already have such great tv guide scripts?
Reply
#6
and maybe livestream from nrk   :thumbsup:


godt nyttår  :joker:
Reply
#7
i know there is somebody that has made a livestream script for nrk(it is not realesed). do you know where the streams are located?
thanks.
Reply
#8
the streams are located at http://www.nrk.no - click the "se" button on the upper right.

an example of an 860kbps stream is <a href="http://www7.nrk.no/nrkplayer/asx.aspx?param=omjunbd(itcmvhwbeww7am9guzcju8tkzvtzbv(dqzop7kaz4gigas98ozddqnyxjr19nds6wnh6k3rfj4scr2gebc
1knb(2xq3nyyrjd43xvpgaiyx9zywdyfgyhgy8(r8zk2xlsx0w1kc6pr8dbp6taxgctnwgwwmuk4x8f5fmsqjy)wlt
tg9a3d0z)f7tjcc6co8m4(02qlgiyorsuej)xnjvpdrxmjp40q3piva94en9jasyu6ywobe2y(x27u9lxkspudfxv7
ld7i26p8jr20emogebfle9a6xlwahnepelgmi6tot2gvintfpxhg6dclixxlwvppdsyhcom8qwjmcl)c0qvywrwhzs
l7knbs1ay9iepzxsz8425extxosz4xeeakoxj)xrbim(dg!!&mswmext=.asx" target="_blank">http://www7.nrk.no/nrkplay....xt=.asx</a>

you need to be a member to be able to watch them, membership are free and you dont have to use your real name, only a valid email address.
xbox v1.6b - spider v1.0 - wd 160gb - s-video & optic output - evox - xbmc
Reply
#9
yes im also norwegian and is of course interested in as localized xbmc as possible Smile (nrk.no stream need login for most content, so that would have to be scripted some way)

other things on my wishlist is content from icanal.no and broadpark.no (that uses http://www.sf-anytime.com for movies)  - that also requires logins.

anyway, the tv listings for norway could be solved just by downloading the xml tv listing for the norwegian channels. there exists some scripts (danish ex) that pull the info down from the internet, but i think that only formats web content and do not pull the actual xmltv listings down. (like xmltv and o2grabber programs do) so until we have a xbmc python script that can do that and present it on the xbox directly, you can use the pc to download and ftp to the xbox.

i use o2grabber (http://www.o2design.se/o2grabber/index.htm) on my pc to pull data for next 3 days. in o2grabber you select your country ("no") and then select which channels to dowload. i have just created a simple bat that i schedule daily to run and ftp the updated listing.xml file to the xbox to the ./xbmc/tvguide folder:

o2grabber.exe -grab
ftp -s:ftpcommands.txt xbox

simple no-brainer script, but it works Smile the xbox can also pull the xml file through ftp but since i didnt run any ftp server on my pc i did it this way.

one example of a script that utilizes the listing.xml is the tv.guide.py (v.0.2) on http://forum.xbmc.org/download_file.php?...file&id=32

if anyone finds a python script that can do this directly on the xbox, please let me know!
Reply
#10
don't know about that broadpark.no.
it would be a cool app.
but it requires login + a sertificate (after you pay).
not sure that will be so easy to implant into phyton scripts.
perhaps there is something made allready for such logins.
Reply
#11
well, i have made a script working with nrk. it handles login, parsing and so on...their site is a bit complicated, that's for sure Wink

the core is done, but i have yet to make a gui for it. expect a release in a/some day(s) (if things go as planned), in a seperate thread.
Reply
#12
enderw, nice
looking forward to look at your stuff.

i have looked at broadpark.no. looked at the code for the media file.and i found that it uses mms protocol and windows mediaplayer to play of the stream (it says that it is wmv file). and it uses a invidual licenses (unique player id), witch means that if you ever make a xbox script and buy one film at your xbox, you will not be able to play the same film on your pc from the site.
would be cool if an xbox script streamed and created a file containing the film. offcource strictly for your eyes only.
Reply
#13
things didn't go quite as planned. the core code doesn't run as it should on xbmc (read: xbox locks up when putting the shows into an object), even though it runs nicely on pc. i am a really newbie coder, but i believe this is a xbmc problem. i will have to recode some parts or find another workaround. i dunno how much interest there is in this browser, but i can't work on it forever, so i guess i oughta finish it soon... Smile
Reply
#14
Thumbs Up 
realy looking forward to this script ! think its great that your writing this one ! (lykke til med problemene Wink)
Reply
#15
enderw, if you get this nrk script working, you'll have a devoted fan in california !! :bowdown: i currently watch dagsrevyen a couple of times a week on my pc, but it would be awesome to be able to watch through the xbox.
good luck, and i hope you are able to find a workaround for the difficulties. :kickass:
Reply

Logout Mark Read Team Forum Stats Members Help
Norwegian TV-guide python script wanted0