NRKBrowse with cookie support

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Kilronan Offline
Junior Member
Posts: 4
Joined: Sep 2006
Reputation: 0
Post: #106
k-pax Wrote:Hello.
I cant start the new nrkbrowser script. I dont get the GUI up, the HD just run 1 sec when im trying to launch it. I have a new xbmc so i dont know for sure if its the script or not.

I have the same problem. The GUI wont start up.
find quote
EnderW Offline
Skilled Python Coder
Posts: 249
Joined: Feb 2005
Reputation: 0
Post: #107
Please press the white button after running the script and tell me what error it gives...

Chunk1970:

Nice that you found it useful, thanks

xbmcscripts.com administrator
find quote
Kilronan Offline
Junior Member
Posts: 4
Joined: Sep 2006
Reputation: 0
Post: #108
EnderW Wrote:Please press the white button after running the script and tell me what error it gives...

I get this:

[Image: screenshot01.jpg]

[Image: screenshot02.jpg]
find quote
chunk_1970 Offline
Skilled Python Coder
Posts: 243
Joined: Jan 2005
Reputation: 0
Post: #109
The errors looks like all that needs fixing is to change the '+ speed +' to '+ str(speed) +' in the line giving the error...Hopefully its that easy..
find quote
chunk_1970 Offline
Skilled Python Coder
Posts: 243
Joined: Jan 2005
Reputation: 0
Post: #110
Yes just tested this. Line 150 needs speed changed to str(speed). As soon as I did this the GUI comes up..
find quote
EnderW Offline
Skilled Python Coder
Posts: 249
Joined: Feb 2005
Reputation: 0
Post: #111
Hehe, can't believe I didn't see that before. Weird that I didn't get any error tho, but I do have cookies saved to file so I guess it just loaded those...hmmm..oh well. Please give feedback on the script... Smile

(and script is of course updated on xbmcscripts.com . Thnaks for the heads up)

xbmcscripts.com administrator
find quote
frikk Offline
Junior Member
Posts: 2
Joined: Nov 2006
Reputation: 0
Post: #112
I enjoy the NRKBrowser2 a lot and use it to catch up on the news, but
the menues for Distrikt Trøndelag and Sørlandet are not processed correctly. The daily news program for MidtNytt does not show up - just a "random" list
of single scenes mostly from the 'Nyhetssendinger radio'.

cheers
find quote
frikk Offline
Junior Member
Posts: 2
Joined: Nov 2006
Reputation: 0
Post: #113
I added a quick fix to the script that digs one more level of 'kategori' menues.
The script now takes about 30 seconds to process the next level of menues,
giving 191 pages * 11 per page for 'NRK Trøndelag'.
I would say som kind of submenues in the user interface would be nice.
Anyhow I can enjoy all MidtNytt now Nod

In list_shows behind line 129 I added :

elif y[0] == "kategori":
subsublist = self.parse_subshow(y[1])
print subsublist
for z in subsublist:
if z[0] == "klipp":
final_shows.append((z[4].encode('iso-8859-1', 'replace'), z[1], z[3]))
find quote
bushwakko Offline
Junior Member
Posts: 8
Joined: Jan 2007
Reputation: 0
Post: #114
I have a few problems with this. I cant seem to change the speed? what button is it? (at least not with my xbox-remote). Also it hangs very often, I can click through the kategories, but when I start to play something, nothing happens. I can here the clicks and stuff, but nothing happens. After this I cant navigate any more either.
find quote
bushwakko Offline
Junior Member
Posts: 8
Joined: Jan 2007
Reputation: 0
Post: #115
I werent able to watch the documentary: "Norge slår gnister". It just locked up :/
find quote
bushwakko Offline
Junior Member
Posts: 8
Joined: Jan 2007
Reputation: 0
Post: #116
btw, isnt it possible to edit the messages here? I just wanted to ask why 900kbps is the highest speed? I get like 6500Kbps in my web-browser.
find quote
EnderW Offline
Skilled Python Coder
Posts: 249
Joined: Feb 2005
Reputation: 0
Post: #117
bushwakko Wrote:btw, isnt it possible to edit the messages here? I just wanted to ask why 900kbps is the highest speed? I get like 6500Kbps in my web-browser.

Because the highest stream available at NRK is 900kbit. No use setting it higher.

xbmcscripts.com administrator
find quote
bushwakko Offline
Junior Member
Posts: 8
Joined: Jan 2007
Reputation: 0
Post: #118
ok, is it possible to make it save? and can you guys watch "Norge slår gnister"? Would also be great with some kind of feedback when it's loading stuff, and when its not.
find quote
kiwibird Offline
Junior Member
Posts: 4
Joined: Jan 2009
Reputation: 0
Post: #119
Is this script available from anywhere at the moment? xbmcscripts.com doesn't work...
find quote
t0ffluss Offline
Junior Member
Posts: 14
Joined: Dec 2008
Reputation: 0
Post: #120
I suspect the script is broken due to changes on nrk.no, but again, this is just a guess.
find quote
Post Reply