NRKBrowse with cookie support

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Guest
Unregistered

Post: #1
hi,

this is the first release of my nrkbrowser script. it can play most content from the online net-tv at nrk.no (norwegian tv-channel). instructions on how to install are included in the readme. also please check out the header (top text) in the script file itself.

there are some bugs in the script. for instance it locks up when trying to open certain programs. i have yet to track down this bug. also when trying to play certain episodes it just sits there at 1st attempt. 2nd it locks up. when this happens a full-restart is most likely required.

now, i believe this is the first script to support cookies while getting online content on xbmc. it might not be, but anyhow you might be interested in checking it out if you plan on using cookies. this script uses clientcookie for automatic cookie-handling, but clientcookie needs some minor adjustments before it will run on the xbox. please check readme and script for further details.

clientcookie is a brilliant module which you can check out here:
http://wwwsearch.sourceforge.net/clientcookie

last, thanks goes to darkie and the updaters of aqtbrowser, the script which this script it somewhat based on.

download:
http://www.radioparanoia.com/nrkbrowser.zip
quote
SandmanCL Offline
Multi-platform XBMC fan
Posts: 573
Joined: Jul 2004
Reputation: 1
Location: San Francisco, CA
Post: #2
:kickass:
awesome, i might just have to leave work early today to check this out ! Smile
find quote
_Morph_ Offline
Junior Member
Posts: 45
Joined: Apr 2004
Reputation: 0
Post: #3
hmm. cant get this to work.. [Image: cry.gif] it wont start? i have done everything right i think. (other scripts work)
find quote
Guest
Unregistered

Post: #4
first of all, did you place the clientcookie folder in python\lib? the final path would be "python\lib\clientcookie", and that folder should contain the .py files (except nrkbrowser.py which goes to the script folder).

if you've done that, please tell me what debug information it gives. search on the forums on how to display debug info...
quote
strick Offline
Member+
Posts: 17
Joined: Jun 2004
Reputation: 0
Post: #5
aah, great!
i've just tried it, and works perfectly so far Smile
watching team antonsen now

big :thumbsup: to enderw
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,234
Joined: Nov 2003
Reputation: 82
Post: #6
totally awesome

(bøye seg i støvet)

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.
find quote
SandmanCL Offline
Multi-platform XBMC fan
Posts: 573
Joined: Jul 2004
Reputation: 1
Location: San Francisco, CA
Post: #7
:thumbsup:
very very cool !
and i can load the dagsrevyen program list just fine, it takes 10-15 seconds.

ideally i'd like to see each invidual program as an expandable item (press 'select' to play the program, pless right arrow to expand) but this is brilliant.

thanks again. by the way, would it be possible to save these streams ? or is there some mechanism preventing that ?

:bowdown:
find quote
SandmanCL Offline
Multi-platform XBMC fan
Posts: 573
Joined: Jul 2004
Reputation: 1
Location: San Francisco, CA
Post: #8
programs i watch always start from the beginning, even if i choose a segment toward the end of the program. for example, i'm trying to watch a camp nrk segment of team antonsen one more time but i would have to watch the show from the beginning in order to get there.

am i doing something wrong ?

this is not whining, this is an attempt at making a close to perfect product even better :-)
find quote
Guest
Unregistered

Post: #9
(sandmancl @ jan. 29 2005,07:26 Wrote:programs i watch always start from the beginning, even if i choose a segment toward the end of the program. for example, i'm trying to watch a camp nrk segment of team antonsen one more time but i would have to watch the show from the beginning in order to get there.

am i doing something wrong ?

this is not whining, this is an attempt at making a close to perfect product even better :-)
to be honest, i haven't tested this script as much in detail as i'd like. i am not even certain whether it's the way nrk handles the streaming or the script. nrk could be sending coordinates along with the wmv to wmp; i have no idea whether wmp has such a feature or not, but if so, fixing it will not be possible unless xbmc's mplayer can be run with coordinates. if the script gets the wrong url however, fixing it should be fairly easy. i'll have a look at it soon..

as for the menu system, it is quite a bit more work. i have been thinking of it, but i would have to build into the core full interpretation of their submenu system. i have a suspicion forbrukerinspektørene crash the browser due to such inconsistence on their part, but it could be something completely deifferent.

last, thanks for all the nice words all of you (and i won't take constructive feedback as whining) Wink
quote
Guest
Unregistered

Post: #10
found the bug. nrk sends a starttime value (inside the asx ) that only media player seems to understand it seems. bsplayer did not accept it. if there is a start time parameter in mplayer fixing this would be easy. if not, then it's impossible. if anyone knows of such a parameter, please tell me Smile

-edit-

according to this http://members.cox.net/alexpoet/download.../xbmc.html , there is no such parameter. funny how i never really saw this issue before. anyways, only solution left then is to remove all the substreams. not a nice solution, but the only one i see possible since all the filenames are the same for each program. only the starttime value changes. suggestions are most welcome...
quote
Post Reply