Catch-up-TV-and-More / plugin.video.catchuptvandmore

Replay, Live TV and websites videos addon for Kodi
https://catch-up-tv-and-more.github.io
GNU General Public License v2.0
284 stars 89 forks source link

UK STV - streams not playing #965

Closed berkhornet closed 2 years ago

berkhornet commented 2 years ago

Describe the bug

A clear and concise description of what the bug is:

To Reproduce

Steps to reproduce the behaviour:

  1. Navigate to any stream in Catch Up / UK / STV / etc
  2. Select episode

Expected behaviour

A clear and concise description of what you expected to happen:

Stream should play

Actual behaviour

Error occurs (see below) - trying to play STV / British Dramas / Accused / Episode 4 - Tina's Story

Screenshots

Your environment

Additional context

Debug log

2022-10-02 11:07:54.577 T:31460 INFO : CPythonInvoker(56, C:\Users\mickr\AppData\Roaming\Kodi\addons\plugin.video.catchuptvandmore\addon.py): script successfully run 2022-10-02 11:09:29.472 T:31460 INFO : initializing python engine. 2022-10-02 11:09:29.696 T:31460 INFO : CPythonInvoker(56, C:\Users\mickr\AppData\Roaming\Kodi\addons\plugin.video.catchuptvandmore\addon.py): script successfully run 2022-10-02 11:09:29.789 T:38344 INFO : VideoPlayer::OpenFile: plugin://plugin.video.catchuptvandmore/resources/lib/channels/uk/stv/get_video_url/?pickle=80049562000000000000007d94288c075f7469746c655f948c2141636375736564202d20457069736f646520342c2054696e6127732053746f7279948c076974656d5f6964948c03737476948c08766964656f5f6964948a0699f2701eae058c087375627469746c65944e752e 2022-10-02 11:09:29.911 T:30108 INFO : Creating InputStream 2022-10-02 11:09:29.913 T:30108 INFO : AddOnLog: inputstream.adaptive: SetVideoResolution (1920 x 1046) 2022-10-02 11:09:29.915 T:30108 ERROR : XFILE::CDirectory::GetDirectory - Error getting C:\Program Files\Kodi\addons\inputstream.adaptive\ 2022-10-02 11:09:30.005 T:30108 ERROR : AddOnLog: inputstream.adaptive: Could not open / parse manifest (https://bcboltstv-a-mdc.akamaized.net/media/v1/pmp4/static/clear/1486976045/b10eac68-22bb-4a10-97a9-60391cb4ec7e/c096854d-d084-4da7-abc6-21a604cf2646/main.mp4) 2022-10-02 11:09:30.006 T:30108 ERROR : CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.catchuptvandmore/resources/lib/channels/uk/stv/get_video_url/?pickle=80049562000000000000007d94288c075f7469746c655f948c2141636375736564202d20457069736f646520342c2054696e6127732053746f7279948c076974656d5f6964948c03737476948c08766964656f5f6964948a0699f2701eae058c087375627469746c65944e752e] 2022-10-02 11:09:30.006 T:30108 INFO : CVideoPlayer::OnExit() 2022-10-02 11:09:30.006 T:30108 INFO : ADDON: Dll Destroyed - InputStream Adaptive 2022-10-02 11:09:30.008 T:29404 INFO : Deleting settings information for files plugin://plugin.video.catchuptvandmore/resources/lib/channels/uk/stv/get_video_url/?pickle=80049562000000000000007d94288c075f7469746c655f948c2141636375736564202d20457069736f646520342c2054696e6127732053746f7279948c076974656d5f6964948c03737476948c08766964656f5f6964948a0699f2701eae058c087375627469746c65944e752e 2022-10-02 11:09:30.045 T:37916 ERROR : EXCEPTION: XBMC is not playing any media file 2022-10-02 11:09:30.050 T:24512 ERROR : EXCEPTION: XBMC is not playing any file 2022-10-02 11:09:30.104 T:38344 INFO : CVideoPlayer::CloseFile() 2022-10-02 11:09:30.104 T:38344 INFO : VideoPlayer: waiting for threads to exit 2022-10-02 11:09:30.104 T:38344 INFO : VideoPlayer: finished waiting 2022-10-02 11:09:30.106 T:37916 ERROR : EXCEPTION: XBMC is not playing any file

joaopa00 commented 2 years ago

Should be fixed in git. Technically, STV uses Bightcove. Unfortunately (!) Brightcove can use many different streams. They don't advertise the protocol used. Since Inputstream adaptive is not able to use some specific AES protocol (or at least not under Nexus), to keep compatibility with older Kodi, we need to implement some workarounds. Often, there are not sufficient.

berkhornet commented 2 years ago

Many thanks. All fixed and working again.