• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 20
[Request] TVNZ OnDemand
#1
Video 
I have now managed to create an add-on Smile

See my release thread here:
http://forum.kodi.tv/showthread.php?tid=309639
Reply
#2
Had any success with this?
Reply
#3
I see there are also XML feeds galore...

http://tvnzondemand.co.nz/search/atom_sk...&l=150&s=d

http://tvnzondemand.co.nz/content/eml_se..._skin.atom

Series XML is wrapped in <div id="video_feature_rss"> on each show's page
Reply
#4
The more I look at it, the more difficult it becomes - most videos aren't in the simple progessive form as above, most are streamed directly from the server by the SWF player - not an HTTP request at all.

I guess wifey can't watch Shortland St on the Xbox.
Reply
#5
Any chance of this plugin happening? or it too messy? It would be a great way to avoid more freeview satelite dishes Smile
Reply
#6
I was looking at this, are there any higher def streams available?
Reply
#7
Smile 
Nerd If someone can explain how the value clauses are ordered in the following code, I can get to work on constructing a simple browser for this. A complete novice at Python, borrowed this section from the Joox script.

Have no problem specifying the mfind statement itself, its the ordered syntax that follows "value = m[index4+3:index6]" Or perhaps there is a better solution to scrape the episodes Huh?


#fill the title

index1 = m.find('href="./cat')

index2 = m.find('href="./id')

index3 = m.find('</a><br')

index4 = m.find('id/')

index5 = m.find('">')

index6 = m.find('"',index4)

if index1 != -1 or index2 != -1:

if index3 != -1:

tmp = CMediaItem() #create new item

tmp.id = counter



if index4 != -1:

#value = m[index4+3:index5]

value = m[index4+3:index6]

tmp.URL = 'http://video.stage6.com/' + value + '/.divx'



value = m[index5+2:index3]

tmp.name = value



counter = counter + 1

tmp.type = 'video'



else:

value = m[index1+7:index5]

tmp.URL = 'http://joox.net' + value



value = m[index5+2:index3]

tmp.name = value



counter = counter + 1

tmp.type = 'html_body-sidebar'



self.list.append(tmp)

counter = counter + 1

elif counter > 1:

index = m.find('</div>')

if index != -1:

return 0 #we are done



return 0
Reply
#8
value = m[index4+3:index6]

grabs everything after id/ (3 characters after the position pointed to by index4, which is the start of id/) up to index6, which is the first " after index4.

In this case it looks like it's grabbing from something that looks like this:

href="http://some.url/here/id/this_is_what_we_want"

index4 will point to the offset of id
index6 will be that last quote
and it'll extract this_is_what_we_want

Cheers,
Jonathan
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
#9
I recently started hacking something up for this. I have a plugin that can browse TVNZ's ondemand website and generate the show + episode listings with thumbnails etc.

Problem is they've switched to RTMPE so XBMC doesn't support playback. I've also had no luck trying to interface with the RTMPE server using rtmpdump either (which supports RTMPE). If anyone has skills in decompiling the player SWF or using Wireshark (which doesn't seem to give anything of interest) then drop me a line.

It appears to be bailing with an error about an invalid timezone.

TV3 also has an ondemand site - not sure how to get the FLV out of that one though - it doesn't appear to be using a .smil file, and the video links appear non-obvious.

Both are probably geo coded - I can probably hook up a proxy login if that would help someone with the knowledge to make progress.

It would be great to be able to show off this sort of capability at linuxconf.au in January (which is in Wellington, NZ).

Cheers,
Jonathan
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
#10
I found a post with a beginninhg of implementation in python of RTMPE decoding.
Not sure waht is the status, but I post it in, just in case:
http://hak5.org/forums/index.php?showtop...t&p=139631
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply
#11
jmarshall Wrote:I recently started hacking something up for this. I have a plugin that can browse TVNZ's ondemand website and generate the show + episode listings with thumbnails etc.

Problem is they've switched to RTMPE so XBMC doesn't support playback. I've also had no luck trying to interface with the RTMPE server using rtmpdump either (which supports RTMPE). If anyone has skills in decompiling the player SWF or using Wireshark (which doesn't seem to give anything of interest) then drop me a line.

It appears to be bailing with an error about an invalid timezone.

TV3 also has an ondemand site - not sure how to get the FLV out of that one though - it doesn't appear to be using a .smil file, and the video links appear non-obvious.

Both are probably geo coded - I can probably hook up a proxy login if that would help someone with the knowledge to make progress.

It would be great to be able to show off this sort of capability at linuxconf.au in January (which is in Wellington, NZ).

Cheers,
Jonathan

There was a re-write of rtmpdump and a new release just a few days ago, and the project was re-homed, it is now with the mplayer team.

Check:

http://rtmpdump.mplayerhq.hu/

Hopefully this will help - looking forward to see rtmpe support in xbmc
Reply
#12
<bump>

Any news? There's been a lot of views to this thread. There may be only 4,000,000 people here total, most of whom won't own an xbox, but there is the demand.
Reply
#13
I have a nasty hacked up plugin but it requires librtmp. It's recently been added to ffmpeg (as in last day or two) so hopefully we may be able to get something up and running in time.

If any python dev wants to play with it let me know and I'll send you the code.

Cheers,
Jonathan
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
#14
Ok, I have a (IMO) very nice plugin for tvnz on demand - it utilizes the nice XML listings they have for the PS3. Ofcourse we can't do much about the crap 700kbit streams, but it's better than nothing for when the wife misses her favourite show.

For fun and chuckles, go to http://tvnz.co.nz/ondemand using the PS3's user-agent string (google is your friend) - way better site than the crappy flash ridden one...

See the attached - only works in .nz ofcourse!

EDIT: Updated to include the adverts. It really slows down the fetching of the show, and also seems to only play the same boring previews for other shows on tvnz. See settings if you want to turn 'em off (after all, advertising should be optional, right?)

Cheers,
Jonathan
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
#15
jmarshall Wrote:Ok, I have a (IMO) very nice plugin for tvnz on demand - it utilizes the nice XML listings they have for the PS3. Ofcourse we can't do much about the crap 700kbit streams, but it's better than nothing for when the wife misses her favourite show.

Nice one! I just upgraded to SVN packages and installed this plugin, it works fantastically well.

Thanks much for your continuing work.

hads
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 20

Logout Mark Read Team Forum Stats Members Help
[Request] TVNZ OnDemand2