• 1
  • 16
  • 17
  • 18(current)
  • 19
  • 20
[Request] TVNZ OnDemand
Well it doesn't work anyway. Not been updated for a couple of years, don't waste any more time, on it.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
TVNZ have now brought back PS3 & PS4 support so there may be a way to get this working?

I have downloaded the latest TVNZ On Demand add-on and fixed the dependencies to work with latest KODI.
I then changed the TVNZ code to self.PS3 = True & self.IOS = False.
It now fetches all the TVNZ Shows and also shows the Episodes.
But, still won't play episodes.

It is correctly getting url and quality for the episodes

Code:
{'videoCodec': u'H264', 'defaultURL': u'rtmpe://cp133145.edgefcs.net/ondemand/&mp4:videos/963482467001/201506/3889/963482467001_4311746759001_3686004313001.mp4', 'encodingRate': 399000, 'audioOnly': False, 'videoContainer': 1, 'mediaDeliveryType': 0, 'frameWidth': 640, 'size': 70478675.0, 'frameHeight': 352}

but fails to play with message

Code:
13:39:32 T:4764   ERROR: Playlist Player: skipping unplayable item: 0, path [rtmpe://cp133145.edgefcs.net/ondemand/&mp4:videos/963482467001/201506/3889/963482467001_4311751851001_3686004313001.mp4 swfVfy=true swfUrl=http://admin.brightcove.com/viewer/us20120920.1336/federatedSlim/BrightcovePlayer.swf?uid=1446511151881]

If anyone else wants to have a play, here is a zip of the changes that allow it to install and episodes to be retrieved.
ZIP HERE
Reply
Good work, it'd be nice to see this functional. Do you want to set up a github account or something?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
Great to see this being revived, thank you. Looking forward to this addon working again one day.
If I have helped you or increased your knowledge please click the 'Thumb Up - Like' button to show me your appreciation :)
For YouTube questions see the official thread here.
Reply
(2015-11-03, 02:42)matthuisman Wrote: TVNZ have now brought back PS3 & PS4 support so there may be a way to get this working?

I have downloaded the latest TVNZ On Demand add-on and fixed the dependencies to work with latest KODI.
I then changed the TVNZ code to self.PS3 = True & self.IOS = False.
It now fetches all the TVNZ Shows and also shows the Episodes.
But, still won't play episodes.

It is correctly getting url and quality for the episodes

Code:
{'videoCodec': u'H264', 'defaultURL': u'rtmpe://cp133145.edgefcs.net/ondemand/&mp4:videos/963482467001/201506/3889/963482467001_4311746759001_3686004313001.mp4', 'encodingRate': 399000, 'audioOnly': False, 'videoContainer': 1, 'mediaDeliveryType': 0, 'frameWidth': 640, 'size': 70478675.0, 'frameHeight': 352}

but fails to play with message

Code:
13:39:32 T:4764   ERROR: Playlist Player: skipping unplayable item: 0, path [rtmpe://cp133145.edgefcs.net/ondemand/&mp4:videos/963482467001/201506/3889/963482467001_4311751851001_3686004313001.mp4 swfVfy=true swfUrl=http://admin.brightcove.com/viewer/us20120920.1336/federatedSlim/BrightcovePlayer.swf?uid=1446511151881]

If anyone else wants to have a play, here is a zip of the changes that allow it to install and episodes to be retrieved.
ZIP HERE


Thanks buddie. From out here in Auckland, we gotta find a way to make this work
Reply
I'm not actually working on it.
Just had a quick play to get it to that half-working state.

someone who knows more about RTMP etc may have some luck getting the streams working Smile
Reply
I have a Samsung home cinema here that runs the TVNZ On Demand app. It connects via ethernet.
I also have an Odroid C1 single board computer and an extra USB -> ethernet device.

Does anyone know any linux programs that I could use to capture the data?
I'm sure the app isn't running Flash Player, so could be a way around it by simulating the home cinema app?

Update
Looks like ngrep maybe the way to go..

Code:
apt-get update
apt-get install ngrep bridge-utils
nano /etc/network/interfaces

Code:
auto lo br0
iface lo inet loopback

iface eth0 inet manual
iface usbnet0 inet manual

iface br0 inet dhcp
   bridge_ports eth0 usbnet0

Now, I simply run the command

Code:
ngrep -lqi -p -W none ^get\|^post tcp dst port 80

and I can see all the traffic flowing through the interfaces Smile

Time to go chuck it inline with the home cinema..

Code:
T 192.168.20.10:36949 -> 54.230.134.80:80 [AP]
GET /Public/network/files/check.xml HTTP/1.1..Host: cdn.samsungcloudsolution.com                         ..Connection: close....

T 192.168.20.10:36950 -> 54.230.134.80:80 [AP]
GET /Public/network/files/check.xml HTTP/1.1..Host: cdn.samsungcloudsolution.com                         ..Connection: close....

Looking good, time to play some TVNZ on demand.

Ooooo found this url
http://tvnz-pd.brightcove.com.edgesuite....778001.wvm

Looks like it has DRM on it Sad
Reply
I wonder whether the approach taken by netflixbmc would work? Play the video in a web browser?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
For anyone using an Android based device, I have managed to mod the APK with the below

- Skip Root check
- Skip HDMI check
- Skip Chromecast Check
- Skip Timezone check
- Disable annoying network error pop-ups

You can get it here:
http://www.matthuisman.nz/2016/06/tvnz-o...check.html
Reply
Interesting, while working with the smali code from the app, I found the login to the API that the app uses.
I have a feeling this will give us access to the streams...

Will have more of a play tonight.

What would KODIs position be on an add on built like this? (basically reverse engineer the android app).
The ads for the videos is done separately in the app, so I think the streams would be ad free.

This is not ideal.
Ideally I would like to show the ads via the add on as this is their source of revenue.
Reply
I am not speaking on behalf of Team Kodi here because I don't know enough about the finer points of the rules (only been a team member a short time).

However I do note that the YouTube addon skips ads and no one seems to have a concern with that. However that doesn't answer the reverse engineering question.

I will point some more senior Team members in this direction for comment.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
Matt,

Pretty keen to give you a hand. I was part way through peeling apart the PS3 api to see if I can re-life this also when I saw the pas conversations in this thread.
Do you mind if I help out??
Reply
If you are in the US will they let you signup.I know you have to use a VPN but I can't enter without signing up.

Thanks
Reply
Great news!

Using the new inputstream addon in KODI 17 this addon is now very possible!

I have all the gears working and just need to put them together into an addon.

Hopefully have something to try within the next week!


Not sure if it will work on Android though.
I read somewhere that inputstream wasn't on Android - but this may have changed?
Reply
Well done, and android? who cares!
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
  • 1
  • 16
  • 17
  • 18(current)
  • 19
  • 20

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