• 1
  • 16
  • 17
  • 18
  • 19
  • 20(current)
[Request] TVNZ OnDemand
Thanks Matt for getting back to me. Trying to watch sh0rtl4nd str33t.

System info from the log file:
20:14:20.435 T:9244 NOTICE: Starting Kodi (17.1 Git:20170320-fc1619b). Platform: Windows NT x86 32-bit
20:14:20.435 T:9244 NOTICE: Using Release Kodi x32 build
20:14:20.435 T:9244 NOTICE: Kodi compiled Mar 20 2017 by MSVC 190024215 for Windows NT x86 32-bit version 10.0 (0x0A000000)
20:14:20.436 T:9244 NOTICE: Running on Hewlett-Packard HP Pavilion dv6 Notebook PC with Windows 10, kernel: Windows NT x86 64-bit version 10.

The problem seems to be:

20:18:58.386 T:10688 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: list indices must be integers, not str
Traceback (most recent call last):
File "C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py", line 22, in <module>
router.route(sys.argv[2])
File "C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\resources\lib\router.py", line 23, in route
self._view.play(params)
File "C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\resources\lib\view.py", line 45, in play
url, key = self._session.api.widevine_auth(params.get("brightcoveId"))
File "C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\resources\lib\api.py", line 35, in widevine_auth
for source in program_data['sources']:
TypeError: list indices must be integers, not str
-->End of Python script error report<--
20:18:58.387 T:9244 DEBUG: ------ Window Init (DialogNotification.xml) ------
20:18:58.410 T:10688 INFO: Python script stopped

Let me know if I can help or send you the whole log file via PM.

Thanks & cheers
Reply
@matthuisman
Thanks for looking into it will try Kodi v17
Reply
@francisbacon

I managed to replicate that error by trying the add-on with an Australian IP address.
This will be your problem.
Your IP must be a NZ IP as TVNZ is Region Locked

Oh, I can set X-Forwarded-For and make it think a NZ ip Smile
I'll push an update shortly with this and it might allow for non-NZ users to use it Smile

OK, after doing that - DUKE Live should play with non-NZ IP.

However, the DRM streams still won't work.
They nearly do but there's a slight feature required for InputStream Adaptive to completely work.

I have a bug / feature request here:
https://github.com/peak3d/inputstream.ad.../issues/20
Reply
Hi Matt, thank you for looking into this, tested it again today - connected via proxy and logged in via the plugin - and it worked - sweet as! Smile let me know where I can send the chocolate to support this project. ;-)
Cheers
Reply
@francisbacon

As soon as this get's accepted:
https://github.com/peak3d/inputstream.adaptive/pull/25

No VPN / Proxy will be required Smile
Reply
Hi Matt, i see the last activities on github was 15 days ago and will become part of the 17.1 kodi branch, so good news! please advise if i need to particularly update something, or if simply takes time until the changes iterate through.
Thanks & regards
Reply
Updated to Kodi 17.3, still same issue. Meanwhile one thing I noticed is that when Kodi is not configured to use a proxy (which itself would provide an NZ IP), there is no user log-in option in the TVNZ plugin. While this allows to execute searches, it won't play anything but instead present the error message "Access to this resource is forbidden by access policy."


From the debug log file:

Code:
19:06:21.267 T:7160   DEBUG: CPythonInvoker(14, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): instantiating addon using automatically obtained id of "plugin.tvnz.ondemand" dependent on version 2.1.0 of the xbmc.python api
19:06:21.433 T:7160   DEBUG: https://api.tvnz.co.nz/api/content/tvnz/ondemand/shows/s/shortland-street.androidtablet.v8.json
19:06:21.728 T:9540   DEBUG: ------ Window Init (DialogBusy.xml) ------
19:06:22.822 T:7160    INFO: CPythonInvoker(14, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): script successfully run
19:06:22.840 T:9540   DEBUG: Saving fileitems [plugin://plugin.tvnz.ondemand/?action=show&path=%2fcontent%2ftvnz%2fondemand%2fshows%2fs%2fshortland-street]
19:06:22.842 T:9540   DEBUG:   -- items: 27, sort method: 0, ascending: false
19:06:22.845 T:7160    INFO: Python script stopped
19:06:22.845 T:7160   DEBUG: Thread LanguageInvoker 7160 terminating
19:06:22.851 T:9540   DEBUG: CVideoDatabase::RunQuery took 0 ms for 4 items query: SELECT  files.strFilename, files.playCount,  bookmark.timeInSeconds, bookmark.totalTimeInSeconds FROM files  LEFT JOIN bookmark ON    files.idFile = bookmark.idFile AND bookmark.type = 1  WHERE files.idPath=39
19:06:22.852 T:2160   DEBUG: Thread BackgroundLoader start, auto delete: false
19:06:22.855 T:9540   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
19:06:22.878 T:2160   DEBUG: Thread BackgroundLoader 2160 terminating
19:06:23.090 T:9540   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
19:06:23.674 T:9540   DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:06:23.675 T:9540   DEBUG: CInputManager::OnKey: down (0xf081) pressed, action is Down
19:06:23.792 T:9540   DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:06:23.876 T:9540   DEBUG: Previous line repeats 1 times.
19:06:23.876 T:9540   DEBUG: CInputManager::OnKey: down (0xf081) pressed, action is Down
19:06:23.976 T:9540   DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:06:24.194 T:9540   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
19:06:24.295 T:9540   DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
19:06:24.301 T:9540   DEBUG: CGUIWindowVideoBase::OnPlayMedia plugin://plugin.tvnz.ondemand/?action=play&brightcoveId=5443359270001
19:06:24.302 T:9540   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin TVNZ OnDemand('plugin://plugin.tvnz.ondemand/','11','?action=play&brightcoveId=5443359270001')
19:06:24.303 T:2044   DEBUG: Thread LanguageInvoker start, auto delete: false
19:06:24.303 T:2044    INFO: initializing python engine.
19:06:24.303 T:2044   DEBUG: CPythonInvoker(15, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): start processing
19:06:24.306 T:8596   DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:06:24.306 T:8596   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:06:24.323 T:6300   DEBUG: Thread scriptobs start, auto delete: false
19:06:24.331 T:2044   DEBUG: -->Python Interpreter Initialized<--
19:06:24.331 T:2044   DEBUG: CPythonInvoker(15, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): the source file to load is "C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py"
19:06:24.332 T:2044   DEBUG: CPythonInvoker(15, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): setting the Python path to C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand;C:\Users\solidether\AppData\Roaming\Kodi\addons\script.module.requests\lib;C:\Users\solidether\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
19:06:24.332 T:2044   DEBUG: CPythonInvoker(15, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): entering source directory C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand
19:06:24.332 T:2044   DEBUG: CPythonInvoker(15, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): instantiating addon using automatically obtained id of "plugin.tvnz.ondemand" dependent on version 2.1.0 of the xbmc.python api
19:06:24.522 T:9540   DEBUG: ------ Window Init (DialogBusy.xml) ------
19:06:24.782 T:9540   DEBUG: ------ Window Init (DialogConfirm.xml) ------
19:06:26.844 T:9540   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
19:06:26.995 T:9540   DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
19:06:26.995 T:9540   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
19:06:27.250 T:9540   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
19:06:27.263 T:2044    INFO: CPythonInvoker(15, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): script successfully run
19:06:27.290 T:2044    INFO: Python script stopped
19:06:27.290 T:2044   DEBUG: Thread LanguageInvoker 2044 terminating
19:06:27.308 T:6300   DEBUG: Thread scriptobs 6300 terminating
19:06:27.313 T:9540   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.tvnz.ondemand/?action=play&brightcoveId=5443359270001]
19:06:27.313 T:9540   DEBUG: Playlist Player: no more playable items... aborting playback
19:06:27.314 T:9540   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
19:06:27.314 T:9888   DEBUG: Thread BackgroundLoader start, auto delete: false
19:06:27.335 T:9888   DEBUG: Thread BackgroundLoader 9888 terminating
Reply
The code update is in the actual inputstream add-on (not KODI).
So, it depends when the updated inputstream add-on is pushed.
You want version 0.0.9 or above of the inputstream add-on.

I have already made the required changes to my TVNZ add-on (in v0.0.18).
You will need to go into the add-on settings and set "X-Forward-For" setting to a NZ IP Address (eg. ping tvnz.co.nz).
Reply
Hi Matt, thanks for the hints. InputStream Adaptive from peak3d is at v1.0.8; set x-forward-for to 130.216.158.32 (and alternative 202.89.4.222).
Connection seems good, however, inputstream is ending up with the following error:
Quote:ERROR: AddOnLog: InputStream Adaptive: Download http://dashtvnz-a.akamaihd.net/963482467...d/init.mp4 doesn't provide any data: invalid

Code:
18:13:39.208 T:8544   DEBUG: https://api.tvnz.co.nz/api/content/tvnz/ondemand/shows/search/shortland.androidtablet.v8.json
18:13:41.557 T:8544    INFO: CPythonInvoker(19, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): script successfully run
18:13:41.573 T:1036   DEBUG: Saving fileitems [plugin://plugin.tvnz.ondemand/?action=search]
18:13:41.573 T:1036   DEBUG:   -- items: 2, sort method: 0, ascending: false
18:13:41.579 T:8544    INFO: Python script stopped
18:13:41.579 T:8544   DEBUG: Thread LanguageInvoker 8544 terminating
18:13:41.579 T:9716   DEBUG: Thread BackgroundLoader start, auto delete: false
18:13:41.581 T:1036   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
18:13:41.585 T:9716   DEBUG: Thread BackgroundLoader 9716 terminating
18:13:41.809 T:1036   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
18:13:42.528 T:1036   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
18:13:42.662 T:1036   DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
18:13:42.663 T:1036   DEBUG: Clearing cached fileitems [plugin://plugin.tvnz.ondemand/?action=show&path=%2fcontent%2ftvnz%2fondemand%2fshows%2fs%2fshortland-street]
18:13:42.664 T:1036   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.tvnz.ondemand/?action=show&path=%2fcontent%2ftvnz%2fondemand%2fshows%2fs%2fshortland-street)
18:13:42.664 T:1036   DEBUG:   ParentPath = [plugin://plugin.tvnz.ondemand/?action=search]
18:13:42.676 T:9616   DEBUG: CAddonDatabase::SetLastUsed[plugin.tvnz.ondemand] took 12 ms
18:13:42.677 T:12160   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin TVNZ OnDemand('plugin://plugin.tvnz.ondemand/','17','?action=show&path=%2fcontent%2ftvnz%2fondemand%2fshows%2fs%2fshortland-street')
18:13:42.677 T:9796   DEBUG: Thread LanguageInvoker start, auto delete: false
18:13:42.677 T:9796    INFO: initializing python engine.
18:13:42.677 T:9796   DEBUG: CPythonInvoker(20, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): start processing
18:13:42.703 T:9796   DEBUG: -->Python Interpreter Initialized<--
18:13:42.703 T:9796   DEBUG: CPythonInvoker(20, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): the source file to load is "C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py"
18:13:42.704 T:9796   DEBUG: CPythonInvoker(20, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): setting the Python path to C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand;C:\Users\solidether\AppData\Roaming\Kodi\addons\script.module.requests\lib;C:\Users\solidether\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
18:13:42.704 T:9796   DEBUG: CPythonInvoker(20, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): entering source directory C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand
18:13:42.704 T:9796   DEBUG: CPythonInvoker(20, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): instantiating addon using automatically obtained id of "plugin.tvnz.ondemand" dependent on version 2.1.0 of the xbmc.python api
18:13:42.855 T:9796   DEBUG: https://api.tvnz.co.nz/api/content/tvnz/ondemand/shows/s/shortland-street.androidtablet.v8.json
18:13:43.166 T:1036   DEBUG: ------ Window Init (DialogBusy.xml) ------
18:13:44.242 T:9796    INFO: CPythonInvoker(20, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): script successfully run
18:13:44.258 T:1036   DEBUG: Saving fileitems [plugin://plugin.tvnz.ondemand/?action=show&path=%2fcontent%2ftvnz%2fondemand%2fshows%2fs%2fshortland-street]
18:13:44.259 T:1036   DEBUG:   -- items: 27, sort method: 0, ascending: false
18:13:44.265 T:9796    INFO: Python script stopped
18:13:44.265 T:9796   DEBUG: Thread LanguageInvoker 9796 terminating
18:13:44.269 T:1036   DEBUG: CVideoDatabase::RunQuery took 1 ms for 7 items query: SELECT  files.strFilename, files.playCount,  bookmark.timeInSeconds, bookmark.totalTimeInSeconds FROM files  LEFT JOIN bookmark ON    files.idFile = bookmark.idFile AND bookmark.type = 1  WHERE files.idPath=39
18:13:44.270 T:9692   DEBUG: Thread BackgroundLoader start, auto delete: false
18:13:44.273 T:1036   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
18:13:44.297 T:9692   DEBUG: Thread BackgroundLoader 9692 terminating
18:13:44.510 T:1036   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
18:13:45.162 T:1036   DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
18:13:45.162 T:1036   DEBUG: CInputManager::OnKey: down (0xf081) pressed, action is Down
18:13:45.263 T:1036   DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
18:13:45.565 T:1036   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
18:13:45.699 T:1036   DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
18:13:45.703 T:1036   DEBUG: CGUIWindowVideoBase::OnPlayMedia plugin://plugin.tvnz.ondemand/?action=play&brightcoveId=5443342633001
18:13:45.703 T:3060   DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
18:13:45.703 T:3060   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
18:13:45.703 T:1036   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin TVNZ OnDemand('plugin://plugin.tvnz.ondemand/','18','?action=play&brightcoveId=5443342633001')
18:13:45.704 T:9780   DEBUG: Thread LanguageInvoker start, auto delete: false
18:13:45.704 T:9780    INFO: initializing python engine.
18:13:45.704 T:9780   DEBUG: CPythonInvoker(21, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): start processing
18:13:45.706 T:3060   DEBUG: CVideoDatabase::GetMovieId (plugin://plugin.tvnz.ondemand/?action=play&brightcoveId=5443342633001), query = select idMovie from movie where idFile=152
18:13:45.706 T:3060   DEBUG: CVideoDatabase::GetEpisodeId (plugin://plugin.tvnz.ondemand/?action=play&brightcoveId=5443342633001), query = select idEpisode from episode where idFile=152
18:13:45.707 T:3060   DEBUG: CVideoDatabase::GetMusicVideoId (plugin://plugin.tvnz.ondemand/?action=play&brightcoveId=5443342633001), query = select idMVideo from musicvideo where idFile=152
18:13:45.708 T:3060   DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
18:13:45.708 T:3060   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
18:13:45.724 T:9708   DEBUG: Thread scriptobs start, auto delete: false
18:13:45.728 T:9780   DEBUG: -->Python Interpreter Initialized<--
18:13:45.728 T:9780   DEBUG: CPythonInvoker(21, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): the source file to load is "C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py"
18:13:45.728 T:9780   DEBUG: CPythonInvoker(21, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): setting the Python path to C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand;C:\Users\solidether\AppData\Roaming\Kodi\addons\script.module.requests\lib;C:\Users\solidether\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
18:13:45.728 T:9780   DEBUG: CPythonInvoker(21, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): entering source directory C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand
18:13:45.728 T:9780   DEBUG: CPythonInvoker(21, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): instantiating addon using automatically obtained id of "plugin.tvnz.ondemand" dependent on version 2.1.0 of the xbmc.python api
18:13:45.924 T:1036   DEBUG: ------ Window Init (DialogBusy.xml) ------
18:13:46.397 T:9780   DEBUG: CAddonMgr: enabled inputstream.adaptive
18:13:46.421 T:9780    INFO: CPythonInvoker(21, C:\Users\solidether\AppData\Roaming\Kodi\addons\plugin.tvnz.ondemand\default.py): script successfully run
18:13:46.436 T:9708   DEBUG: Thread scriptobs 9708 terminating
18:13:46.437 T:1036   DEBUG: CurlFile::ParseAndCorrectUrl() adding custom header option 'X-Forwarded-For: 130.216.158.32'
18:13:46.437 T:1036    INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://dashtvnz-a.akamaihd.net
18:13:46.451 T:9780    INFO: Python script stopped
18:13:46.452 T:9780   DEBUG: Thread LanguageInvoker 9780 terminating
18:13:46.556 T:1036   DEBUG: CCurlFile::GetMimeType - http://dashtvnz-a.akamaihd.net/963482467001/963482467001_5443358041001_5443342633001.mpd?pubId=963482467001&videoId=5443342633001|X-Forwarded-For=130.216.158.32 -> application/dash+xml
18:13:46.564 T:1036   DEBUG: Loading settings for http://dashtvnz-a.akamaihd.net/963482467001/963482467001_5443358041001_5443342633001.mpd?pubId=963482467001&videoId=5443342633001|X-Forwarded-For=130.216.158.32
18:13:46.571 T:1036   DEBUG: CPlayerCoreFactory::GetPlayers(http://dashtvnz-a.akamaihd.net/963482467001/963482467001_5443358041001_5443342633001.mpd?pubId=963482467001&videoId=5443342633001|X-Forwarded-For=130.216.158.32)
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
18:13:46.571 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
18:13:46.572 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
18:13:46.572 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
18:13:46.572 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
18:13:46.572 T:1036   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
18:13:46.572 T:1036   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
18:13:46.572 T:1036   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
18:13:46.572 T:1036   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
18:13:46.572 T:1036   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
18:13:46.572 T:1036   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
18:13:46.573 T:13204   DEBUG: Thread RefClock start, auto delete: false
18:13:46.573 T:13204   DEBUG: CVideoSyncD3D: Setting up Direct3d
18:13:46.574 T:13204   DEBUG: CVideoReferenceClock: Detected refreshrate: 59.636 hertz
18:13:46.575 T:1036   DEBUG: Radio UECP (RDS) Processor - new CDVDRadioRDSData::CDVDRadioRDSData
18:13:46.575 T:1036  NOTICE: VideoPlayer: Opening: http://dashtvnz-a.akamaihd.net/963482467001/963482467001_5443358041001_5443342633001.mpd?pubId=963482467001&videoId=5443342633001|X-Forwarded-For=130.216.158.32
18:13:46.575 T:1036 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:13:46.575 T:1036   DEBUG: CurlFile::ParseAndCorrectUrl() adding custom header option 'X-Forwarded-For: 130.216.158.32'
18:13:46.593 T:1036   DEBUG: CCurlFile::GetMimeType - http://dashtvnz-a.akamaihd.net/963482467001/963482467001_5443358041001_5443342633001.mpd?pubId=963482467001&videoId=5443342633001|X-Forwarded-For=130.216.158.32 -> application/dash+xml
18:13:46.593 T:1036   ERROR: DXVA::CProcessorHD::IsFormatSupported: Unsupported format 104 for 1.
18:13:46.593 T:1036   ERROR: DXVA::CProcessorHD::IsFormatSupported: Unsupported format 105 for 1.
18:13:46.594 T:8656   DEBUG: Thread VideoPlayer start, auto delete: false
18:13:46.595 T:8656  NOTICE: Creating InputStream
18:13:46.595 T:8656   DEBUG: AddOnLog: InputStream Adaptive: ADDON_Destroy()
18:13:46.595 T:8656   DEBUG: SECTION:UnloadDll(C:\Program Files (x86)\Kodi\addons\inputstream.adaptive\inputstream.adaptive.dll)
18:13:46.595 T:8656    INFO: ADDON: Dll Destroyed - InputStream Adaptive
18:13:46.596 T:8656   DEBUG: ADDON: Dll Initializing - InputStream Adaptive
18:13:46.596 T:8656   DEBUG: SECTION:LoadDLL(C:\Program Files (x86)\Kodi\addons\inputstream.adaptive\inputstream.adaptive.dll)
18:13:46.597 T:8656   DEBUG: AddOnLog: InputStream Adaptive: libXBMC_addon successfully loaded
18:13:46.597 T:8656   DEBUG: AddOnLog: InputStream Adaptive: ADDON_Create()
18:13:46.598 T:8656    INFO: AddOnLog: InputStream Adaptive: SetVideoResolution (1366 x 768)
18:13:46.598 T:8656   DEBUG: AddOnLog: InputStream Adaptive: Open()
18:13:46.598 T:8656   DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.license_key: [not shown]
18:13:46.598 T:8656   DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.license_type: com.widevine.alpha
18:13:46.598 T:8656   DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.manifest_type: mpd
18:13:46.598 T:8656   DEBUG: AddOnLog: InputStream Adaptive: Initial bandwidth: 4000000
18:13:46.598 T:8656   DEBUG: CAddonCallbacksAddon - V1::KodiAPI::AddOn::CAddonCallbacksAddon::GetAddonSetting - add-on 'InputStream Adaptive' requests setting 'MAXRESOLUTION'
18:13:46.599 T:8656   DEBUG: AddOnLog: InputStream Adaptive: MAXRESOLUTION selected: 0
18:13:46.599 T:8656   DEBUG: CAddonCallbacksAddon - V1::KodiAPI::AddOn::CAddonCallbacksAddon::GetAddonSetting - add-on 'InputStream Adaptive' requests setting 'STREAMSELECTION'
18:13:46.600 T:8656   DEBUG: AddOnLog: InputStream Adaptive: STREAMSELECTION selected: 0
18:13:46.600 T:8656   DEBUG: CAddonCallbacksAddon - V1::KodiAPI::AddOn::CAddonCallbacksAddon::GetAddonSetting - add-on 'InputStream Adaptive' requests setting 'MEDIATYPE'
18:13:46.601 T:8656   DEBUG: CAddonCallbacksAddon - V1::KodiAPI::AddOn::CAddonCallbacksAddon::GetAddonSetting - add-on 'InputStream Adaptive' requests setting 'DECRYPTERPATH'
18:13:46.601 T:8656   DEBUG: AddOnLog: InputStream Adaptive: Searching for decrypters in: C:\Users\solidether\AppData\Roaming\Kodi\cdm
18:13:46.603 T:8656   DEBUG: AddOnLog: InputStream Adaptive: Found decrypter: C:\Users\solidether\AppData\Roaming\Kodi\cdm\ssd_wv.dll
18:13:46.603 T:8656   DEBUG: AddOnLog: InputStream Adaptive: Supported URN: urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED
18:13:46.603 T:8656   DEBUG: CurlFile::ParseAndCorrectUrl() adding custom header option 'X-Forwarded-For: 130.216.158.32'
18:13:46.603 T:8656   DEBUG: CurlFile::Open(0F249DE8) http://dashtvnz-a.akamaihd.net/963482467001/963482467001_5443358041001_5443342633001.mpd?pubId=963482467001&videoId=5443342633001
18:13:46.640 T:8656   DEBUG: AddOnLog: InputStream Adaptive: Download http://dashtvnz-a.akamaihd.net/963482467001/963482467001_5443358041001_5443342633001.mpd?pubId=963482467001&videoId=5443342633001|X-Forwarded-For=130.216.158.32 finished
18:13:46.640 T:8656    INFO: AddOnLog: InputStream Adaptive: Successfully parsed .mpd file. #Streams: 2 Download speed: 0.0000 Bytes/s
18:13:46.640 T:8656   DEBUG: CAddonCallbacksAddon - V1::KodiAPI::AddOn::CAddonCallbacksAddon::GetAddonSetting - add-on 'InputStream Adaptive' requests setting 'MINBANDWIDTH'
18:13:46.641 T:8656   DEBUG: CAddonCallbacksAddon - V1::KodiAPI::AddOn::CAddonCallbacksAddon::GetAddonSetting - add-on 'InputStream Adaptive' requests setting 'MAXBANDWIDTH'
18:13:46.882 T:8656   DEBUG: AddOnLog: InputStream Adaptive: CDMMessage: 1 arrived!
18:13:46.882 T:8656   DEBUG: CurlFile::ParseAndCorrectUrl() adding custom header option 'Content-Type: application/x-www-form-urlencoded/X-Forwarded-For'
18:13:46.882 T:8656   DEBUG: CurlFile::ParseAndCorrectUrl() adding custom header option 'Expect: '
18:13:46.882 T:8656   DEBUG: CurlFile::Open(0F24A4C0) https://wvlic.brightcove.com/proxy/5443342633001
18:13:46.882 T:8656    INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to https://wvlic.brightcove.com
18:13:47.095 T:1036   DEBUG: ------ Window Init (DialogBusy.xml) ------
18:13:48.174 T:8656   DEBUG: AddOnLog: InputStream Adaptive: CDMMessage: 2 arrived!
18:13:48.174 T:8656   DEBUG: AddOnLog: InputStream Adaptive: CDMMessage: 3 arrived!
18:13:48.175 T:8656   DEBUG: AddOnLog: InputStream Adaptive: License update successful
18:13:48.175 T:8656   DEBUG: AddOnLog: InputStream Adaptive: GetCapabilities()
18:13:48.175 T:8656   DEBUG: AddOnLog: InputStream Adaptive: GetStreamIds()
18:13:48.175 T:8656   DEBUG: AddOnLog: InputStream Adaptive: GetStream(1)
18:13:48.175 T:8656   DEBUG: AddOnLog: InputStream Adaptive: GetStream(2)
18:13:48.175 T:8656  NOTICE: Creating Demuxer
18:13:48.175 T:8656   DEBUG: CDVDDemuxClient::RequestStreams(): added/updated stream 1 with codec_id 86018
18:13:48.175 T:8656   DEBUG: CDVDDemuxClient::RequestStreams(): added/updated stream 2 with codec_id 28
18:13:48.176 T:8656  NOTICE: Opening stream: 2 source: 256
18:13:48.176 T:8656   DEBUG: AddOnLog: InputStream Adaptive: EnableStream(2: true)
18:13:48.176 T:8656   DEBUG: AddOnLog: InputStream Adaptive: Selecting stream with conditions: w: 1366, h: 768, bw: 3600000
18:13:48.176 T:8656   DEBUG: CurlFile::ParseAndCorrectUrl() adding custom header option 'Connection: keep-alive'
18:13:48.176 T:8656   DEBUG: CurlFile::Open(0F248040) http://dashtvnz-a.akamaihd.net/963482467001/5443357504001/video/1/init.mp4
18:13:48.189 T:8656   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:13:48.189 T:8656   ERROR: CCurlFile::Open failed with code 403 for http://dashtvnz-a.akamaihd.net/963482467001/5443357504001/video/1/init.mp4|Connection=keep-alive&acceptencoding=gzip%2c%20deflate&seekable=0
18:13:48.189 T:8656   ERROR: AddOnLog: InputStream Adaptive: Download http://dashtvnz-a.akamaihd.net/963482467001/5443357504001/video/1/init.mp4 doesn't provide any data: invalid
18:13:48.189 T:8656   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
18:13:48.189 T:8656  NOTICE: Creating video codec with codec id: 28
18:13:48.189 T:8656   DEBUG: FactoryCodec - Video:  - Opening
18:13:48.190 T:8656  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
18:13:48.190 T:8656   DEBUG: CDVDVideoCodecFFmpeg - Updated codec: ff-h264
18:13:48.190 T:8656   DEBUG: FactoryCodec - Video: ff-h264 - Opened
18:13:48.190 T:8656   DEBUG: CVideoPlayerVideo::OpenStream - open stream with codec id: 28
18:13:48.190 T:8656  NOTICE: Creating video thread
18:13:48.190 T:8656  NOTICE: Opening stream: 1 source: 256
18:13:48.190 T:8656   DEBUG: AddOnLog: InputStream Adaptive: EnableStream(1: true)
18:13:48.190 T:8656   DEBUG: AddOnLog: InputStream Adaptive: Selecting stream with conditions: w: 0, h: 0, bw: 400000
18:13:48.190 T:7172   DEBUG: Thread VideoPlayerVideo start, auto delete: false
18:13:48.190 T:7172  NOTICE: running thread: video_thread
18:13:48.190 T:8656   DEBUG: CurlFile::ParseAndCorrectUrl() adding custom header option 'Connection: keep-alive'
18:13:48.190 T:8656   DEBUG: CurlFile::Open(0F249DE8) http://dashtvnz-a.akamaihd.net/963482467001/5443354120001/audio/und/init.mp4
18:13:48.233 T:8656   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:13:48.233 T:8656   ERROR: CCurlFile::Open failed with code 403 for http://dashtvnz-a.akamaihd.net/963482467001/5443354120001/audio/und/init.mp4|Connection=keep-alive&acceptencoding=gzip%2c%20deflate&seekable=0
18:13:48.233 T:8656   ERROR: AddOnLog: InputStream Adaptive: Download http://dashtvnz-a.akamaihd.net/963482467001/5443354120001/audio/und/init.mp4 doesn't provide any data: invalid
18:13:48.233 T:8656   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
18:13:48.234 T:8656  NOTICE: Finding audio codec for: 86018
18:13:48.234 T:8656   DEBUG: FactoryCodec - Audio: FFmpeg - Opening
18:13:48.234 T:8656   DEBUG: FactoryCodec - Audio: FFmpeg - Opened
18:13:48.234 T:8656  NOTICE: Creating audio thread
18:13:48.235 T:9440   DEBUG: Thread VideoPlayerAudio start, auto delete: false
18:13:48.235 T:9440  NOTICE: running thread: CVideoPlayerAudio::Process()
18:13:48.235 T:8656   DEBUG: CApplication::OnPlayBackStarted: play state was 1, starting 1
18:13:48.235 T:8656   DEBUG: CVideoPlayer::SetCaching - caching state 2
18:13:48.235 T:8656   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
18:13:48.235 T:8656   DEBUG: CVideoPlayer::SetCaching - caching state 0
18:13:48.235 T:8656   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
18:13:48.235 T:8656    INFO: CVideoPlayer::Process - eof reading from demuxer
18:13:48.235 T:8656  NOTICE: CVideoPlayer::OnExit()
18:13:48.235 T:8656  NOTICE: VideoPlayer: eof, waiting for queues to empty
18:13:48.235 T:8656  NOTICE: Closing stream player 1
18:13:48.235 T:8656   DEBUG: AddOnLog: InputStream Adaptive: EnableStream(1: false)
18:13:48.235 T:8656  NOTICE: Waiting for audio thread to exit
18:13:48.245 T:9440  NOTICE: thread end: CVideoPlayerAudio::OnExit()
18:13:48.245 T:9440   DEBUG: Thread VideoPlayerAudio 9440 terminating
18:13:48.245 T:8656  NOTICE: Closing audio device
18:13:48.245 T:8656  NOTICE: Deleting audio codec
18:13:48.245 T:8656  NOTICE: Closing stream player 2
18:13:48.245 T:8656   DEBUG: AddOnLog: InputStream Adaptive: EnableStream(2: false)
18:13:48.245 T:8656  NOTICE: waiting for video thread to exit
18:13:48.246 T:7172   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
18:13:48.246 T:7172  NOTICE: thread end: video_thread
18:13:48.246 T:7172   DEBUG: Thread VideoPlayerVideo 7172 terminating
18:13:48.246 T:8656  NOTICE: deleting video codec
18:13:48.246 T:8656   DEBUG: AddOnLog: InputStream Adaptive: Close()
18:13:48.246 T:8656    INFO: ADDON: Dll Stopped - InputStream Adaptive
18:13:48.246 T:8656   DEBUG: CApplication::OnPlayBackEnded: play state was 2, starting 1
18:13:48.246 T:8656   DEBUG: Thread VideoPlayer 8656 terminating
18:13:48.248 T:1036   DEBUG: CApplication::OnPlayBackStopped: play state was 4, starting 0
18:13:48.248 T:1036   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.tvnz.ondemand/?action=play&brightcoveId=5443342633001]
18:13:48.248 T:1036   DEBUG: Playlist Player: no more playable items... aborting playback
18:13:48.249 T:1036   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
18:13:48.249 T:9456   DEBUG: Thread BackgroundLoader start, auto delete: false
18:13:48.255 T:3060   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
18:13:48.255 T:3060   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
18:13:48.265 T:1036  NOTICE: CVideoPlayer::CloseFile()
18:13:48.265 T:1036  NOTICE: VideoPlayer: waiting for threads to exit
18:13:48.265 T:1036  NOTICE: VideoPlayer: finished waiting
18:13:48.265 T:1036   DEBUG: CRenderManager::DeleteRenderer - deleting renderer
18:13:48.265 T:1036  NOTICE: CVideoPlayer::CloseFile()
18:13:48.265 T:1036  NOTICE: VideoPlayer: waiting for threads to exit
18:13:48.265 T:1036  NOTICE: VideoPlayer: finished waiting
18:13:48.266 T:1036   DEBUG: Radio UECP (RDS) Processor - delete CDVDRadioRDSData::~CDVDRadioRDSData
18:13:48.274 T:9456   DEBUG: Thread BackgroundLoader 9456 terminating
18:13:48.274 T:13204   DEBUG: CVideoSyncD3D: Cleaning up Direct3d
18:13:48.274 T:13204   DEBUG: Thread RefClock 13204 terminating

Thank you for your thoughts!
Reply
You may have missed this in my last response:
Quote:You want version 0.0.9 or above of the inputstream add-on.

It is not yet released.
You could build it yourself maybe or look around for it.
The current 0.0.8 does not have the required changes.
Reply
  • 1
  • 16
  • 17
  • 18
  • 19
  • 20(current)

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