retrospect-addon / plugin.video.retrospect

Retrospect is a Kodi video add-on which allows you to watch streams of a number of free and publicly available online TV stream sites.
https://www.rieter.net/content/
GNU General Public License v3.0
105 stars 37 forks source link

Radio 538 audio streams fail with error 403 but video stream works fine #1506

Closed pquesinb closed 3 years ago

pquesinb commented 3 years ago

Bug report

Describe the bug

When streaming Radio 538, the video channel works fine, however the audio channels won't play on our ODroid N2, which is running the until-recently latest version of CoreELEC and the latest version of Retrospect from the official Kodi respository. Interestingly though, an older version of Retro on a Raspberry Pi 3 running LibreELEC will play the audio channels just fine.

Expected Behavior

538 audio streams should play

Actual Behavior

538 audio streams won't play. Log shows error 403.

Possible Fix

Working stream URL is: https://22723.live.streamtheworld.com:443/RADIO538AAC but URL is instead resolved to: https://22343.live.streamtheworld.com:443/RADIO538AAC2 So it appears that a '2 is being appended to the correct stream URL, breaking it

To Reproduce

Steps to reproduce the behavior:

  1. Under Radio category, select any Radio 538 audio (not video) stream

Debuglog

2021-05-03 14:02:09.881 T:4058165264 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.retrospect/?action=playvideo&pickle=6AF69BD23D367A3930BADA6F13CF8FDB487E1FE1D6C8DBB29F57D189 3DDD4038--BC029C79E787E5CF28310A7C96CAB46C6EB0EB07D6A87A7647DBA3166A701360&channel=channel.streams.radio538-538&rnd=30231 2021-05-03 14:02:09.882 T:3446870912 NOTICE: Creating InputStream 2021-05-03 14:02:10.090 T:3779122048 NONE: VPN Mgr : Starting streaming media https://22343.live.streamtheworld.com:443/RADIO538AAC2 2021-05-03 14:02:10.802 T:3446870912 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403 2021-05-03 14:02:10.802 T:3446870912 ERROR: CCurlFile::Open failed with code 403 for https://22343.live.streamtheworld.com:443/RADIO538AAC2: 2021-05-03 14:02:10.805 T:3446870912 ERROR: Open - failed to open source https://22343.live.streamtheworld.com:443/RADIO538AAC2 2021-05-03 14:02:10.806 T:3446870912 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.retrospect/?action=playvideo&pickle=6AF69BD23D367A3930BADA6F13CF8FDB 487E1FE1D6C8DBB29F57D1893DDD4038--BC029C79E787E5CF28310A7C96CAB46C6EB0EB07D6A87A7647DBA3166A701360&channel=channel.streams.radio538-538&rnd=30231] 2021-05-03 14:02:10.806 T:3446870912 NOTICE: CVideoPlayer::OnExit() 2021-05-03 14:02:10.837 T:4058165264 NOTICE: CVideoPlayer::CloseFile() 2021-05-03 14:02:10.870 T:4058165264 NOTICE: VideoPlayer: waiting for threads to exit 2021-05-03 14:02:10.870 T:4058165264 NOTICE: VideoPlayer: finished waiting 2021-05-03 14:02:11.877 T:3411014528 WARNING: Attempt to use invalid handle 88

The debug retrospect.log can be found here:

Screenshots

Additional context or screenshots (if appropriate)

Log from an earlier version of Retrospect on the Pi3, which works: 14:49:44.870 T:1945415680 NOTICE: VideoPlayer: Opening: https://22723.live.streamtheworld.com:443/RADIO538AAC 14:49:44.870 T:1945415680 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED 14:49:44.872 T:1023407008 NOTICE: Creating InputStream 14:49:45.999 T:1023407008 NOTICE: Creating Demuxer 14:49:46.308 T:1023407008 NOTICE: Opening stream: 0 source: 256 14:49:46.312 T:1023407008 NOTICE: Creating audio thread 14:49:46.421 T:1023407008 NOTICE: OMXClock using audio as reference

Your Environment

Used Operating system:

Used versions:

basrieter commented 3 years ago

Please try to install this zip in Matrix: Leia: https://github.com/retrospect-addon/plugin.video.retrospect/archive/refs/heads/issue-1506.zip

It should fix the Live Steams. Trying to see if I can fix the rest too.

pquesinb commented 3 years ago

That was fast. Thanks! Will this work on Leia as well? I haven't updated to CE 19/Matrix yet.