TVNZ On Demand (please help :)) (3 Viewers)

shacknasty

Portal Pro
July 14, 2006
107
5
Home Country
New Zealand New Zealand
Hi,

I would really like to add support for tvnzondemand.co.nz to this plugin, but my visual studio skills are not up to the task. This is some information I have assembled which should make it pretty easy for one of you to complete. The problem in support for this is that the site is not accessible for people outside of NZ - I can set up a proxy or RDP login for you to use for testing (with visual studio available if you want).


This is an RSS feed which lists the latest added shows - Watch Episodes - there are also a bunch of other feeds for various things.

the file looks like this:

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:tvnz-a="urn:tvnz:atom">
<author><name>TVNZ</name></author>
<title>Watch Episodes</title>
<updated>2009-01-30T12:08:00+1300</updated>
<summary type="text">Watch free full episodes</summary>
<id>urn:GROUP MANUAL:927623</id>



<entry>
<title>Shortland Street</title>
<link href="http://tvnz.co.nz/shortland-street/s18-e4317-video-2943855"/>
<updated>2009-08-25T10:00:00+1200</updated>
<summary type="text">Tania gives love another shot, Sophie sells out to fame, and Daniel finds himself behind the gun.</summary>
<id>urn:MEDIA:2943855</id>
<link href="http://images.tvnz.co.nz/tvnz_images/tv2/programmes/shortland_street/ondemand_screengrabs/shorty-s18-ov-tuesday2-e4.jpg" tvnz-a:height="225" tvnz-a:width="400" tvnz-a:type="" type="image/jpeg" rel="related"/>
<link href="http://images.tvnz.co.nz/tvnz_images/tv2/programmes/shortland_street/ondemand_screengrabs/shorty-s18-ov-tuesday2-e4.jpg" tvnz-a:height="162" tvnz-a:width="290" tvnz-a:type="" type="image/jpeg" rel="related"/>
<link href="http://images.tvnz.co.nz/tvnz_images/tv2/programmes/shortland_street/ondemand_screengrabs/shorty-s18-ov-tuesday2-e5.jpg" tvnz-a:height="81" tvnz-a:width="145" tvnz-a:type="t" type="image/jpeg" rel="related"/>
<tvnz-a:episode/>
</entry>


</feed>

this gives the link to the page that contains the video, and also some screengrabs from the episode. you could probably also parse the date, series and episode numbers.

now once at the page of the video, it does not contain a link to the FLV file. for this I have been using a greasemonkey script - http://userscripts.org/scripts/source/25685.user.js - that retreives a .smil file from the server, which contains the direct links to the FLVs in both 300 and 700 bitrates.

the filenames then come out as - http://download.tvnzondemand.co.nz/...orty/shortlandstreet_s18_e4317_part1_700k.flv - perfect for streaming in MP.

what would it take to have someone help me out on this one?
 

Omen

Portal Pro
June 2, 2007
180
6
Auckland
Home Country
New Zealand New Zealand
i too could set up a proxy if someone wants to help show me how to set it up with my pfsense linux firewall.

I've got free traffic to tvnz on demand so at least monthly caps won't be as much an issue for me as others.
 

gperkinson

Portal Pro
October 28, 2008
470
3
Auckland
Home Country
New Zealand New Zealand
Ditto, this would be AWESOME on Media Portal for Kiwi users!!!!

I will be adding this to my subscribed forums!!!!
 

Users who are viewing this thread

Top Bottom