add-ons / add-ons/plugin.video.vrt.nu

Playback fails when InputStream Adaptive is updated

Open
#755 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug inputstream.adaptive kodi reported
Dominant language
Python
Stars
125
Forks
27
Avg merge
3h 46m
Merged PRs (30d)
12

Description

Describe the bug

This is a generic issue with Kodi / InputStream Adaptive which affects VRT NU, but it equally affects other add-ons that rely on InputStream Adaptive for playback (e.g. VTM GO or Netflix)

The problem is reported upstream at https://github.com/peak3d/inputstream.adaptive/issues/454

What happens is that the library is updated from version X to version Y, and this causes the library on disk to change name. Kodi does not pick up the new name, but keeps on using the old name which is not longer available.

Workaround

There are two options here:

  • Disable InputStream Adaptive support in VRT NU. (This works only if you don't need DRM support)
  • Reboot your Kodi when InputStream Adaptive was updated. (Unfortunately that is not always apparent)
Expected behavior

Kodi should be able to refresh the location of the InputStream Adaptive library when it is updated, so it does not look for the previous version.

Additional context
  • Operating system: LibreELEC v9.2.1
  • Kodi version: v18.6
  • Addon version: 2.3.4 (but any version really as it is IA related)
  • Using a VPN: no
  • Country you are using the addon from: BE
Log (if available)
2020-05-21 22:41:10.657 T:927974272  NOTICE: [plugin.video.vrt.nu] Play: https://remix-cf.lwc.vrtcdn.be/remix/977d650b-f4cc-49f4-bb3f-801d53f35b73/remix.ism/.mpd
2020-05-21 22:41:10.691 T:1937267136  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.vrt.nu/play/id/vid-a1fde104-2396-43cc-bb21-80d9fc80153e/pbs-pub-4d49dd5d-ed29-423a-b924-b043b66eac9b
2020-05-21 22:41:10.708 T:1005581184  NOTICE: Creating InputStream
2020-05-21 22:41:10.709 T:1005581184   ERROR: ADDON: Could not locate inputstream.adaptive.so.2.4.4
2020-05-21 22:41:10.710 T:1005581184   ERROR: IAddonInstanceHandler::CreateInstance: inputstream.adaptive returned bad status "Permanent failure" during instance creation
2020-05-21 22:41:10.710 T:1005581184   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.vrt.nu/play/id/vid-a1fd
e104-2396-43cc-bb21-80d9fc80153e/pbs-pub-4d49dd5d-ed29-423a-b924-b043b66eac9b]
2020-05-21 22:41:10.710 T:1005581184  NOTICE: CVideoPlayer::OnExit()
2020-05-21 22:41:10.748 T:1541374848  NOTICE: [plugin.video.vrt.nu] [PlayerInfo 7450] Event onPlayBackStarted
2020-05-21 22:41:10.754 T:1541374848  NOTICE: [plugin.video.vrt.nu] URL get: https://vrtnu-api.vrt.be/search?i=video&facets[videoId]=vid-a
1fde104-2396-43cc-bb21-80d9fc80153e&size=1
2020-05-21 22:41:10.914 T:1937267136  NOTICE: CVideoPlayer::CloseFile()
2020-05-21 22:41:10.915 T:1937267136  NOTICE: VideoPlayer: waiting for threads to exit
2020-05-21 22:41:10.915 T:1937267136  NOTICE: VideoPlayer: finished waiting
2020-05-21 22:41:10.934 T:1541374848  NOTICE: [plugin.video.vrt.nu] [PlayerInfo 7450] Event onPlayBackStopped

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the upstream InputStream Adaptive issue linked in the report, then review the Kodi log showing the failed lookup for inputstream.adaptive.so.2.4.4 and the documented reboot workaround. Confirm whether the fix belongs in Kodi, InputStream Adaptive, or this add-on; done means playback continues after the library is updated without requiring a reboot.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.