aussieaddons/plugin.video.sbs

Some streams 404

Opened this issue · 4 comments

Hi there.

Thanks for all the contributors efforts in making this work so far. I've discovered a bug with a number of streams, most evident currently in the show Taskmaster. Season 4 Eps 1-3 work as expected but every episode after this 4-8 as well as all episodes from Season 5 fail to play. Testing the streams via a browser on sbs.com.au reveal them to work correctly.

The stream loads partially at what seems to be random (could be after an adbreak) time plays for a couple of seconds then turns to a black screen, in some cases it load another second or two of the stream before failing. After a short time it returns to the Kodi interface.

To help debug it I've tailed a log with stream that works and a stream that doesn't from Taskmaster Season 4.

Kodi 19.4 (19.4.0)
SBS Aussie Addon 1.1.12

Working stream – Taskmaster Episode 3

2023-04-13 21:13:28.133 T:25963    INFO <general>: VideoPlayer: waiting for threads to exit
2023-04-13 21:13:28.133 T:25963    INFO <general>: VideoPlayer: finished waiting
2023-04-13 21:13:28.141 T:25963   ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-04-13 21:13:28.144 T:26257    INFO <general>: initializing python engine.
2023-04-13 21:13:28.243 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Kodi 19.4 running on Linux.RaspberryPi
2023-04-13 21:13:28.244 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] {'addon_version': '1.1.12_matrix', 'feed_url': 'https://www.sbs.com.au/api/v3/video_sbsondemand/series_season?series=11956758&season=13784e4b-da00-54c6-911d-88cd9bb5d84c&context=android&device=phone&version=3.4.6', 'obj_type': 'Series', 'thumb': 'https://media.sbs.com.au/video/fda-series/dac846d9-d248-5a20-afc8-1d77b871f660/711d98c64d143833945038e6b3a28123.jpg', 'title': 'Season 4'}
2023-04-13 21:13:28.244 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Making entries list
2023-04-13 21:13:28.245 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Performing GET for https://www.sbs.com.au/api/v3/video_sbsondemand/series_season?series=11956758&season=13784e4b-da00-54c6-911d-88cd9bb5d84c&context=android&device=phone&version=3.4.6&range=1-50
2023-04-13 21:13:30.466 T:26257    INFO <general>: CPythonInvoker(11, /home/***/.kodi/addons/plugin.video.sbs/default.py): script successfully run
2023-04-13 21:13:44.326 T:26257    INFO <general>: initializing python engine.
2023-04-13 21:13:44.548 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Kodi 19.4 running on Linux.RaspberryPi
2023-04-13 21:13:44.550 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] {'date': '2022-04-25T11:25:00Z', 'description': 'The onslaught of tasks continues as Greg Davies ruthlessly judges the competitors varying approaches to his devious requests. Play along at home as Greg tries to spot the five comics once theyve camouflaged themselves.', 'duration': '2691', 'entry_type': 'Episode', 'episode_no': '3', 'expire': '2023-04-19T10:25:00Z', 'id': '1820390467733', 'obj_type': 'Program', 'outline': "The onslaught of tasks continues as Greg Davies ruthlessly judges the competitors' varying approaches to his devious requests. Play along at home as Greg tries to spot the five camouflaged comics.", 'pilatDealcode': '183018', 'rating': 'M', 'season_no': '4', 'series_title': 'Taskmaster', 'thumb': 'https://videocdn-sbs.akamaized.net/u/video/SBS/managed/images/2020/11/26/1820390467733_11260211_image143900_large.jpg', 'title': 'Hollowing Out A Baguette', 'addon_version': '1.1.12_matrix'}
2023-04-13 21:13:44.554 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Performing GET for https://www.sbs.com.au/api/v3/video_stream?id=1820390467733&context=android&device=phone&version=3.4.6&uniqueid=8d4049c6-8e86-4e46-b611-c0c2a0f28b4e&deviceadid=6d34d9b1-77b8-4f85-b134-15489b7ff94c&deviceadidoptout=true&cxid=[CXID]
2023-04-13 21:13:44.714 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Performing POST for http://pubads.g.doubleclick.net/ondemand/hls/content/2488267/vid/1820390467733/streams
2023-04-13 21:13:44.884 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Found inputstream.adaptive version is 19.0.7
2023-04-13 21:13:44.899 T:26257 WARNING <general>: xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead.
2023-04-13 21:13:44.916 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] DRM checking not requested
2023-04-13 21:13:44.917 T:26257    INFO <general>: CPythonInvoker(11, /home/***/.kodi/addons/plugin.video.sbs/default.py): script successfully run
2023-04-13 21:13:44.939 T:25963    INFO <general>: VideoPlayer::OpenFile: plugin://plugin.video.sbs/?date=2022-04-25T11%3A25%3A00Z&description=The+onslaught+of+tasks+continues+as+Greg+Davies+ruthlessly+judges+the+competitors+varying+approaches+to+his+devious+requests.+Play+along+at+home+as+Greg+tries+to+spot+the+five+comics+once+theyve+camouflaged+themselves.&duration=2691&entry_type=Episode&episode_no=3&expire=2023-04-19T10%3A25%3A00Z&id=1820390467733&obj_type=Program&outline=The+onslaught+of+tasks+continues+as+Greg+Davies+ruthlessly+judges+the+competitors%27+varying+approaches+to+his+devious+requests.+Play+along+at+home+as+Greg+tries+to+spot+the+five+camouflaged+comics.&pilatDealcode=183018&rating=M&season_no=4&series_title=Taskmaster&thumb=https%3A%2F%2Fvideocdn-sbs.akamaized.net%2Fu%2Fvideo%2FSBS%2Fmanaged%2Fimages%2F2020%2F11%2F26%2F1820390467733_11260211_image143900_large.jpg&title=Hollowing+Out+A+Baguette&addon_version=1.1.12_matrix
2023-04-13 21:13:45.227 T:29026    INFO <general>: Creating InputStream
2023-04-13 21:13:45.228 T:29026   ERROR <general>: CInputStreamAddon::Supports - 'inputstreamaddon' has been deprecated, please use `#KODIPROP:inputstream=inputstream.adaptive` instead
2023-04-13 21:13:45.229 T:29026    INFO <general>: AddOnLog: inputstream.adaptive: SetVideoResolution (1920 x 1080)
2023-04-13 21:13:45.330 T:29026    INFO <general>: AddOnLog: inputstream.adaptive: Successfully parsed manifest file. #Periods: 1, #Streams in first period: 3, Type: live, Download speed: 3308744.4064 Bytes/s
2023-04-13 21:13:45.332 T:29026    INFO <general>: Creating Demuxer
2023-04-13 21:13:45.332 T:29026    INFO <general>: Opening stream: 1001 source: 256
2023-04-13 21:13:45.637 T:25995    INFO <general>: ZTools : (service.py) Playing https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2023/02/23/685247_,1000K,1500K,512K,128K,.mp4.csmil/master.m3u8?hdnea=st=1681383824~exp=1681387424~acl=/i/svod/SBS/managed/2023/02/23/685247_,1000K,1500K,512K,128K,.mp4.csmil/*~id=3fb22293-45b0-4e45-b5b7-fecb20409d94~hmac=d533d206a072acad89de78ef188b6d9756cf72a315be92ab1bbe9391329c2ee7&originpath=/ondemand/hls/content/2488267/vid/1820390467733/SIN/streams/bf9b1910-82bf-47ff-be9e-c399c22e63ab/master.m3u8
2023-04-13 21:13:45.664 T:29026    INFO <general>: Creating video codec with codec id: 27
2023-04-13 21:13:45.664 T:29026    INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2023-04-13 21:13:45.665 T:29026    INFO <general>: Creating video thread
2023-04-13 21:13:45.665 T:29030    INFO <general>: running thread: video_thread
2023-04-13 21:13:45.666 T:29026    INFO <general>: Opening stream: 1002 source: 256
2023-04-13 21:13:45.666 T:29026    INFO <general>: Finding audio codec for: 86018
2023-04-13 21:13:45.666 T:29026    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2023-04-13 21:13:45.666 T:29026    INFO <general>: Creating audio thread
2023-04-13 21:13:45.666 T:29032    INFO <general>: running thread: CVideoPlayerAudio::Process()
2023-04-13 21:13:45.666 T:29026    INFO <general>: Opening stream: 1003 source: 256
2023-04-13 21:13:45.891 T:29036    INFO <general>: COutput::OnStartup: Output Thread created
2023-04-13 21:13:45.891 T:29032    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2023-04-13 21:13:45.891 T:29032    INFO <general>: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
2023-04-13 21:13:45.917 T:25963    INFO <general>: GL: Selecting YUV 2 RGB shader
2023-04-13 21:13:45.918 T:25963    INFO <general>: GL: Using GL_ARB_pixel_buffer_object
2023-04-13 21:13:45.918 T:25963    INFO <general>: Using GL_TEXTURE_2D
2023-04-13 21:13:45.942 T:25971    INFO <general>: CActiveAESink::OpenSink - initialize sink
2023-04-13 21:13:46.132 T:25971    INFO <general>: PulseAudio: Opened device alsa_output.pci-0000_00_03.0.hdmi-stereo in pcm mode with Buffersize 150 ms Periodsize 50 ms
2023-04-13 21:13:46.501 T:29030    INFO <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
2023-04-13 21:14:12.565 T:25963    INFO <general>: Loading skin file: VideoOSD.xml, load type: KEEP_IN_MEMORY
2023-04-13 21:14:14.882 T:25963    INFO <general>: CVideoPlayer::CloseFile()
2023-04-13 21:14:14.883 T:25963    INFO <general>: VideoPlayer: waiting for threads to exit
2023-04-13 21:14:14.892 T:29026    INFO <general>: CVideoPlayer::OnExit()
2023-04-13 21:14:14.892 T:29026    INFO <general>: Closing stream player 1
2023-04-13 21:14:14.892 T:29026    INFO <general>: Waiting for audio thread to exit
2023-04-13 21:14:14.926 T:29032    INFO <general>: thread end: CVideoPlayerAudio::OnExit()
2023-04-13 21:14:14.929 T:29026    INFO <general>: Closing audio device
2023-04-13 21:14:14.956 T:29026    INFO <general>: Deleting audio codec
2023-04-13 21:14:14.956 T:29026    INFO <general>: Closing stream player 2
2023-04-13 21:14:14.957 T:29026    INFO <general>: waiting for video thread to exit
2023-04-13 21:14:14.967 T:29030 WARNING <general>: OutputPicture - timeout waiting for buffer
2023-04-13 21:14:14.967 T:29030    INFO <general>: thread end: video_thread
2023-04-13 21:14:14.968 T:29026    INFO <general>: deleting video codec
2023-04-13 21:14:14.969 T:29026    INFO <general>: VAAPI::Close
2023-04-13 21:14:14.969 T:29036    INFO <general>: COutput::OnExit: Output Thread terminated
2023-04-13 21:14:14.969 T:29026    INFO <general>: VAAPI::Close - closing decoder context
2023-04-13 21:14:14.970 T:29026    INFO <general>: Closing stream player 3
2023-04-13 21:14:14.971 T:29026    INFO <general>: ADDON: Dll Destroyed - InputStream Adaptive
2023-04-13 21:14:14.972 T:25963    INFO <general>: VideoPlayer: finished waiting
2023-04-13 21:14:14.972 T:25963    INFO <general>: CVideoPlayer::CloseFile()
2023-04-13 21:14:14.972 T:25963    INFO <general>: VideoPlayer: waiting for threads to exit
2023-04-13 21:14:14.972 T:25963    INFO <general>: VideoPlayer: finished waiting
2023-04-13 21:14:14.975 T:28680    INFO <general>: Deleting settings information for files plugin://plugin.video.sbs/?date=2022-04-25T11%3A25%3A00Z&description=The+onslaught+of+tasks+continues+as+Greg+Davies+ruthlessly+judges+the+competitors+varying+approaches+to+his+devious+requests.+Play+along+at+home+as+Greg+tries+to+spot+the+five+comics+once+theyve+camouflaged+themselves.&duration=2691&entry_type=Episode&episode_no=3&expire=2023-04-19T10%3A25%3A00Z&id=1820390467733&obj_type=Program&outline=The+onslaught+of+tasks+continues+as+Greg+Davies+ruthlessly+judges+the+competitors%27+varying+approaches+to+his+devious+requests.+Play+along+at+home+as+Greg+tries+to+spot+the+five+camouflaged+comics.&pilatDealcode=183018&rating=M&season_no=4&series_title=Taskmaster&thumb=https%3A%2F%2Fvideocdn-sbs.akamaized.net%2Fu%2Fvideo%2FSBS%2Fmanaged%2Fimages%2F2020%2F11%2F26%2F1820390467733_11260211_image143900_large.jpg&title=Hollowing+Out+A+Baguette&addon_version=1.1.12_matrix
2023-04-13 21:14:14.997 T:25963   ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't

Broken stream – Taskmaster Episode 4

2023-04-13 21:12:00.350 T:25963    INFO <general>: CVideoPlayer::CloseFile()
2023-04-13 21:12:00.350 T:25963    INFO <general>: VideoPlayer: waiting for threads to exit
2023-04-13 21:12:00.350 T:25963    INFO <general>: VideoPlayer: finished waiting
2023-04-13 21:12:00.356 T:25963   ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-04-13 21:12:00.360 T:26257    INFO <general>: initializing python engine.
2023-04-13 21:12:00.459 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Kodi 19.4 running on Linux.RaspberryPi
2023-04-13 21:12:00.460 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] {'addon_version': '1.1.12_matrix', 'feed_url': 'https://www.sbs.com.au/api/v3/video_sbsondemand/series_season?series=11956758&season=13784e4b-da00-54c6-911d-88cd9bb5d84c&context=android&device=phone&version=3.4.6', 'obj_type': 'Series', 'thumb': 'https://media.sbs.com.au/video/fda-series/dac846d9-d248-5a20-afc8-1d77b871f660/711d98c64d143833945038e6b3a28123.jpg', 'title': 'Season 4'}
2023-04-13 21:12:00.461 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Making entries list
2023-04-13 21:12:00.462 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Performing GET for https://www.sbs.com.au/api/v3/video_sbsondemand/series_season?series=11956758&season=13784e4b-da00-54c6-911d-88cd9bb5d84c&context=android&device=phone&version=3.4.6&range=1-50
2023-04-13 21:12:00.545 T:26257    INFO <general>: CPythonInvoker(11, /home/***/.kodi/addons/plugin.video.sbs/default.py): script successfully run
2023-04-13 21:12:37.621 T:26257    INFO <general>: initializing python engine.
2023-04-13 21:12:37.842 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Kodi 19.4 running on Linux.RaspberryPi
2023-04-13 21:12:37.844 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] {'creditsBegin': '2664', 'date': '2022-05-02T11:25:00Z', 'description': 'Its nearly the halfway point of the series, so competition is heating up. What will Mel Giedroyc do to a humble pommel horse? Should Hugh Dennis climb that high? Why are Alex Horne and Noel Fielding dancing like a pair of shrews?', 'duration': '2695', 'entry_type': 'Episode', 'episode_no': '4', 'expire': '2023-04-19T10:25:00Z', 'id': '1823195203548', 'obj_type': 'Program', 'outline': "It's nearly the halfway point of the series, so competition is heating up. What will Mel Giedroyc do to a humble pommel horse? Should Hugh Dennis climb that high?", 'pilatDealcode': '183018', 'rating': 'M', 'season_no': '4', 'series_title': 'Taskmaster', 'thumb': 'https://videocdn-sbs.akamaized.net/u/video/SBS/managed/images/2020/12/03/1823195203548_12030512_image171139_large.jpg', 'title': 'Friendship Is Truth', 'addon_version': '1.1.12_matrix'}
2023-04-13 21:12:37.848 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Performing GET for https://www.sbs.com.au/api/v3/video_stream?id=1823195203548&context=android&device=phone&version=3.4.6&uniqueid=8d4049c6-8e86-4e46-b611-c0c2a0f28b4e&deviceadid=6d34d9b1-77b8-4f85-b134-15489b7ff94c&deviceadidoptout=true&cxid=[CXID]
2023-04-13 21:12:38.013 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Performing POST for http://pubads.g.doubleclick.net/ondemand/hls/content/2488267/vid/1823195203548/streams
2023-04-13 21:12:38.429 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Found inputstream.adaptive version is 19.0.7
2023-04-13 21:12:38.432 T:26257 WARNING <general>: xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead.
2023-04-13 21:12:38.449 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] DRM checking not requested
2023-04-13 21:12:38.450 T:26257    INFO <general>: CPythonInvoker(11, /home/***/.kodi/addons/plugin.video.sbs/default.py): script successfully run
2023-04-13 21:12:38.472 T:25963    INFO <general>: VideoPlayer::OpenFile: plugin://plugin.video.sbs/?creditsBegin=2664&date=2022-05-02T11%3A25%3A00Z&description=Its+nearly+the+halfway+point+of+the+series%2C+so+competition+is+heating+up.+What+will+Mel+Giedroyc+do+to+a+humble+pommel+horse%3F+Should+Hugh+Dennis+climb+that+high%3F+Why+are+Alex+Horne+and+Noel+Fielding+dancing+like+a+pair+of+shrews%3F&duration=2695&entry_type=Episode&episode_no=4&expire=2023-04-19T10%3A25%3A00Z&id=1823195203548&obj_type=Program&outline=It%27s+nearly+the+halfway+point+of+the+series%2C+so+competition+is+heating+up.+What+will+Mel+Giedroyc+do+to+a+humble+pommel+horse%3F+Should+Hugh+Dennis+climb+that+high%3F&pilatDealcode=183018&rating=M&season_no=4&series_title=Taskmaster&thumb=https%3A%2F%2Fvideocdn-sbs.akamaized.net%2Fu%2Fvideo%2FSBS%2Fmanaged%2Fimages%2F2020%2F12%2F03%2F1823195203548_12030512_image171139_large.jpg&title=Friendship+Is+Truth&addon_version=1.1.12_matrix
2023-04-13 21:12:38.839 T:28168    INFO <general>: Creating InputStream
2023-04-13 21:12:38.839 T:28168   ERROR <general>: CInputStreamAddon::Supports - 'inputstreamaddon' has been deprecated, please use `#KODIPROP:inputstream=inputstream.adaptive` instead
2023-04-13 21:12:38.840 T:28168    INFO <general>: AddOnLog: inputstream.adaptive: SetVideoResolution (1920 x 1080)
2023-04-13 21:12:38.849 T:25995    INFO <general>: ZTools : (service.py) Playing https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/master.m3u8?hdnea=st=1681383758~exp=1681387358~acl=/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/*~id=e547afb6-7015-4232-ac05-99707a3cfb76~hmac=6a6df5d4d508f86a57ecd1ce19f8b754ee03b7231ba01c08e76a75514138eaa1&originpath=/ondemand/hls/content/2488267/vid/1823195203548/SIN/streams/fc7fe973-d0f8-439f-95f5-221872405fe4/master.m3u8
2023-04-13 21:12:39.008 T:28168    INFO <general>: AddOnLog: inputstream.adaptive: Successfully parsed manifest file. #Periods: 1, #Streams in first period: 3, Type: live, Download speed: 3170717.5073 Bytes/s
2023-04-13 21:12:39.009 T:28168    INFO <general>: Creating Demuxer
2023-04-13 21:12:39.010 T:28168    INFO <general>: Opening stream: 1001 source: 256
2023-04-13 21:12:40.083 T:28171   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment1_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:12:51.404 T:28171    INFO <general>: Skipped 9 duplicate messages..
2023-04-13 21:12:51.404 T:28171   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment1_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:12:51.405 T:28168 WARNING <general>: OpenStream - Unsupported stream 1001. Stream disabled.
2023-04-13 21:12:51.406 T:28168    INFO <general>: Opening stream: 1002 source: 256
2023-04-13 21:12:51.407 T:28168    INFO <general>: Finding audio codec for: 86018
2023-04-13 21:12:51.407 T:28168    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2023-04-13 21:12:51.408 T:28168    INFO <general>: Creating audio thread
2023-04-13 21:12:51.408 T:28224    INFO <general>: running thread: CVideoPlayerAudio::Process()
2023-04-13 21:12:51.408 T:28168    INFO <general>: Opening stream: 1003 source: 256
2023-04-13 21:12:51.835 T:28168    INFO <general>: Opening stream: 2001 source: 256
2023-04-13 21:12:52.302 T:28168    INFO <general>: Creating video codec with codec id: 27
2023-04-13 21:12:52.302 T:28168    INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2023-04-13 21:12:52.302 T:28168    INFO <general>: Creating video thread
2023-04-13 21:12:52.303 T:28168    INFO <general>: Opening stream: 2002 source: 256
2023-04-13 21:12:52.303 T:28229    INFO <general>: running thread: video_thread
2023-04-13 21:12:52.304 T:28168    INFO <general>: Finding audio codec for: 86018
2023-04-13 21:12:52.304 T:28168    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2023-04-13 21:12:52.305 T:28168    INFO <general>: Closing stream player 3
2023-04-13 21:12:52.305 T:28168    INFO <general>: Opening stream: 2003 source: 256
2023-04-13 21:12:52.418 T:28232    INFO <general>: COutput::OnStartup: Output Thread created
2023-04-13 21:12:52.421 T:28224    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2023-04-13 21:12:52.421 T:28224    INFO <general>: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
2023-04-13 21:12:52.459 T:25963    INFO <general>: GL: Selecting YUV 2 RGB shader
2023-04-13 21:12:52.459 T:25963    INFO <general>: GL: Using GL_ARB_pixel_buffer_object
2023-04-13 21:12:52.459 T:25963    INFO <general>: Using GL_TEXTURE_2D
2023-04-13 21:12:52.481 T:25971    INFO <general>: CActiveAESink::OpenSink - initialize sink
2023-04-13 21:12:52.563 T:28226   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment124_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:12:52.706 T:25971    INFO <general>: PulseAudio: Opened device alsa_output.pci-0000_00_03.0.hdmi-stereo in pcm mode with Buffersize 150 ms Periodsize 50 ms
2023-04-13 21:12:53.581 T:28226   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment124_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:13:03.898 T:28226    INFO <general>: Skipped 8 duplicate messages..
2023-04-13 21:13:03.898 T:28226   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment124_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:13:04.025 T:28168    INFO <general>: Opening stream: 3001 source: 256
2023-04-13 21:13:04.095 T:28168    INFO <general>: Creating video codec with codec id: 27
2023-04-13 21:13:04.095 T:28168    INFO <general>: CVideoPlayerVideo::OpenStream - could not open video codec
2023-04-13 21:13:04.097 T:28168    INFO <general>: Opening stream: 3002 source: 256
2023-04-13 21:13:04.097 T:28168    INFO <general>: Finding audio codec for: 86018
2023-04-13 21:13:04.098 T:28168    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2023-04-13 21:13:04.098 T:28168    INFO <general>: Closing stream player 3
2023-04-13 21:13:04.098 T:28168    INFO <general>: Opening stream: 3003 source: 256
2023-04-13 21:13:04.221 T:28500   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment221_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:13:04.266 T:28229    INFO <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
2023-04-13 21:13:05.229 T:28500   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment221_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:13:09.174 T:28224    INFO <general>: Skipped 3 duplicate messages..
2023-04-13 21:13:09.174 T:28224    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2023-04-13 21:13:09.549 T:28229    INFO <general>: Creating video codec with codec id: 27
2023-04-13 21:13:09.549 T:28229    INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2023-04-13 21:13:09.551 T:28623    INFO <general>: COutput::OnStartup: Output Thread created
2023-04-13 21:13:09.582 T:25963    INFO <general>: VAAPI::Close
2023-04-13 21:13:09.582 T:28232    INFO <general>: COutput::OnExit: Output Thread terminated
2023-04-13 21:13:09.871 T:28500   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment221_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:13:15.595 T:25970    INFO <general>: Skipped 5 duplicate messages..
2023-04-13 21:13:15.595 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5527.036714
2023-04-13 21:13:15.596 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5527.368011
2023-04-13 21:13:15.596 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5527.630743
2023-04-13 21:13:15.596 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5527.921623
2023-04-13 21:13:15.622 T:28229    INFO <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
2023-04-13 21:13:15.685 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5749.503873
2023-04-13 21:13:15.746 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5748.508284
2023-04-13 21:13:15.746 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5698.503845
2023-04-13 21:13:15.746 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5648.504899
2023-04-13 21:13:15.747 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5599.506551
2023-04-13 21:13:15.747 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5548.504980
2023-04-13 21:13:15.775 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5499.501084
2023-04-13 21:13:15.835 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5448.499013
2023-04-13 21:13:15.879 T:28168    INFO <general>: Opening stream: 4001 source: 256
2023-04-13 21:13:15.896 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5398.499360
2023-04-13 21:13:15.896 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5348.498943
2023-04-13 21:13:15.896 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5299.499272
2023-04-13 21:13:15.897 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5248.499136
2023-04-13 21:13:15.897 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5198.498447
2023-04-13 21:13:15.897 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5148.498242
2023-04-13 21:13:15.897 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5098.498390
2023-04-13 21:13:15.898 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5048.500267
2023-04-13 21:13:15.926 T:25970 WARNING <general>: ActiveAE - large audio sync error: -5048.499629
2023-04-13 21:13:15.933 T:28168    INFO <general>: Creating video codec with codec id: 27
2023-04-13 21:13:15.933 T:28168    INFO <general>: CVideoPlayerVideo::OpenStream - could not open video codec
2023-04-13 21:13:15.935 T:28229    INFO <general>: Creating video codec with codec id: 27
2023-04-13 21:13:15.935 T:28229    INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2023-04-13 21:13:15.935 T:28168    INFO <general>: Opening stream: 4002 source: 256
2023-04-13 21:13:15.936 T:28168    INFO <general>: Finding audio codec for: 86018
2023-04-13 21:13:15.936 T:28168    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2023-04-13 21:13:15.936 T:28168    INFO <general>: Closing stream player 3
2023-04-13 21:13:15.937 T:28168    INFO <general>: Opening stream: 4003 source: 256
2023-04-13 21:13:16.046 T:28685    INFO <general>: COutput::OnStartup: Output Thread created
2023-04-13 21:13:16.061 T:28682   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment371_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:13:16.065 T:25963    INFO <general>: VAAPI::Close
2023-04-13 21:13:16.065 T:28623    INFO <general>: COutput::OnExit: Output Thread terminated
2023-04-13 21:13:17.068 T:28682   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment371_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:13:27.372 T:28682    INFO <general>: Skipped 8 duplicate messages..
2023-04-13 21:13:27.372 T:28682   ERROR <general>: AddOnLog: inputstream.adaptive: Download failed with error 404: https://sbsvoddai-vh.akamaihd.net/i/svod/SBS/managed/2022/04/29/685248_,512K,1000K,128K,1500K,.mp4.csmil/segment371_3_av.ts?id=AgBA6a3sFzE8lozWN2SmatQvJH4H0%2Fk%2Fmc%2FWntLod7O6abQTFk1gmSlui09nLsDVZ5KO6q93RDzA0A%3D%3D&set-akamai-hls-revision=5
2023-04-13 21:13:27.488 T:28224    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2023-04-13 21:13:27.517 T:28229    INFO <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
2023-04-13 21:13:28.088 T:28168    INFO <general>: Process - eof reading from demuxer
2023-04-13 21:13:28.088 T:28168    INFO <general>: CVideoPlayer::OnExit()
2023-04-13 21:13:28.088 T:28168    INFO <general>: VideoPlayer: eof, waiting for queues to empty
2023-04-13 21:13:28.088 T:28168    INFO <general>: Closing stream player 1
2023-04-13 21:13:28.088 T:28168    INFO <general>: CDVDMessageQueue(audio)::WaitUntilEmpty
2023-04-13 21:13:28.088 T:28168    INFO <general>: Waiting for audio thread to exit
2023-04-13 21:13:28.088 T:28224   ERROR <general>: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2023-04-13 21:13:28.088 T:28224    INFO <general>: thread end: CVideoPlayerAudio::OnExit()
2023-04-13 21:13:28.088 T:28168    INFO <general>: Closing audio device
2023-04-13 21:13:28.089 T:28168    INFO <general>: Deleting audio codec
2023-04-13 21:13:28.089 T:28168    INFO <general>: Closing stream player 2
2023-04-13 21:13:28.089 T:28168    INFO <general>: CDVDMessageQueue(video)::WaitUntilEmpty
2023-04-13 21:13:28.098 T:28168    INFO <general>: waiting for video thread to exit
2023-04-13 21:13:28.098 T:28229   ERROR <general>: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2023-04-13 21:13:28.098 T:28229    INFO <general>: thread end: video_thread
2023-04-13 21:13:28.098 T:28168    INFO <general>: deleting video codec
2023-04-13 21:13:28.099 T:28168    INFO <general>: Closing stream player 3
2023-04-13 21:13:28.100 T:28168    INFO <general>: ADDON: Dll Destroyed - InputStream Adaptive
2023-04-13 21:13:28.102 T:28680    INFO <general>: Deleting settings information for files plugin://plugin.video.sbs/?creditsBegin=2664&date=2022-05-02T11%3A25%3A00Z&description=Its+nearly+the+halfway+point+of+the+series%2C+so+competition+is+heating+up.+What+will+Mel+Giedroyc+do+to+a+humble+pommel+horse%3F+Should+Hugh+Dennis+climb+that+high%3F+Why+are+Alex+Horne+and+Noel+Fielding+dancing+like+a+pair+of+shrews%3F&duration=2695&entry_type=Episode&episode_no=4&expire=2023-04-19T10%3A25%3A00Z&id=1823195203548&obj_type=Program&outline=It%27s+nearly+the+halfway+point+of+the+series%2C+so+competition+is+heating+up.+What+will+Mel+Giedroyc+do+to+a+humble+pommel+horse%3F+Should+Hugh+Dennis+climb+that+high%3F&pilatDealcode=183018&rating=M&season_no=4&series_title=Taskmaster&thumb=https%3A%2F%2Fvideocdn-sbs.akamaized.net%2Fu%2Fvideo%2FSBS%2Fmanaged%2Fimages%2F2020%2F12%2F03%2F1823195203548_12030512_image171139_large.jpg&title=Friendship+Is+Truth&addon_version=1.1.12_matrix
2023-04-13 21:13:28.132 T:25963    INFO <general>: CVideoPlayer::CloseFile()
2023-04-13 21:13:28.132 T:25963    INFO <general>: VAAPI::Close
2023-04-13 21:13:28.132 T:28685    INFO <general>: COutput::OnExit: Output Thread terminated
2023-04-13 21:13:28.132 T:25963    INFO <general>: VAAPI::Close - closing decoder context
2023-04-13 21:13:28.133 T:25963    INFO <general>: VideoPlayer: waiting for threads to exit
2023-04-13 21:13:28.133 T:25963    INFO <general>: VideoPlayer: finished waiting
2023-04-13 21:13:28.133 T:25963    INFO <general>: CVideoPlayer::CloseFile()
2023-04-13 21:13:28.133 T:25963    INFO <general>: VideoPlayer: waiting for threads to exit
2023-04-13 21:13:28.133 T:25963    INFO <general>: VideoPlayer: finished waiting
2023-04-13 21:13:28.141 T:25963   ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-04-13 21:13:28.144 T:26257    INFO <general>: initializing python engine.
2023-04-13 21:13:28.243 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Kodi 19.4 running on Linux.RaspberryPi
2023-04-13 21:13:28.244 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] {'addon_version': '1.1.12_matrix', 'feed_url': 'https://www.sbs.com.au/api/v3/video_sbsondemand/series_season?series=11956758&season=13784e4b-da00-54c6-911d-88cd9bb5d84c&context=android&device=phone&version=3.4.6', 'obj_type': 'Series', 'thumb': 'https://media.sbs.com.au/video/fda-series/dac846d9-d248-5a20-afc8-1d77b871f660/711d98c64d143833945038e6b3a28123.jpg', 'title': 'Season 4'}
2023-04-13 21:13:28.244 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Making entries list
2023-04-13 21:13:28.245 T:26257    INFO <general>: [SBS On Demand v1.1.12_matrix] Performing GET for https://www.sbs.com.au/api/v3/video_sbsondemand/series_season?series=11956758&season=13784e4b-da00-54c6-911d-88cd9bb5d84c&context=android&device=phone&version=3.4.6&range=1-50
2023-04-13 21:13:30.466 T:26257    INFO <general>: CPythonInvoker(11, /home/***/.kodi/addons/plugin.video.sbs/default.py): script successfully run

No need to apologise, this isn't your bread and butter. I'll give it a go sometime over the next week. Out of curiosity, what do you change?

Just these changes here b40558b

There's another 2 issues open for the same problem and they've confirmed this fixes the problem. So with that feedback I've made a new release - v1.1.13 should be in the repo now if you want to just upgrade to that.

Thanks @glennguy issue is now resolved.