Bug 450625

Summary: Cannot play radio stream: http stream error: local stream 1 error: Cancellation (0x8)
Product: [Applications] Elisa Reporter: nathan
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nathan, xnagytibor
Priority: NOR    
Version: 21.12.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nathan 2022-02-20 20:07:17 UTC
SUMMARY
***
When attempting to play a stream, https://www.dnbradio.com/hi.pls, the stream does not play and the following error is printed to terminal:

http stream error: local stream 1 error: Cancellation (0x8)

***


STEPS TO REPRODUCE
1. Run Elisa via command: elisa %U
2. Create new station in Elisa GUI as follows:

    Title:
    -------
    DNBRadio

    Stream HTTP Address:
    ---------------------------------
    https://www.dnbradio.com/hi.pls

    Image Address:
    -----------------------
   https://dnbradio.com/img/logos/dnbradio_logo_standalone_diecut_250.png
3. Attempt to play the newly created station.

OBSERVED RESULT
1. Steam does not play
2. "http stream error: local stream 1 error: Cancellation (0x8)" is printed to terminal

EXPECTED RESULT
1. Stream plays succesfully

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)

Operating System: 
Manjaro Linux

KDE Plasma Version: 
5.23.5

KDE Frameworks Version: 
5.90.0

Qt Version: 
5.15.2

Kernel Version: 
5.16.7-1-MANJARO (64-bit)


ADDITIONAL INFORMATION
Error occurs whether or not UFW is running (tested using gufw).

Many other pre-installed streams do not play, but with different errors. Firewall de-activation or opening ports can fix some of these. 

VLC is able to play the stream via the same URL.
Comment 1 Nagy Tibor 2022-02-20 20:44:25 UTC
This is Bug 397736.

As a workaround until PLS support gets implemented you can manually extract the audio URLs from the playlist and add those into Elisa instead. At least that's how I do it. 

In your example those audio URLs are:
- http://trace.dnbradio.com:8000/dnbradio_main.mp3
- http://ildnb1.dnbradio.com:8000/dnbradio_main.mp3
- http://trace.dnbradio.com:8000/dnbradio_mobile.aac
- http://trace.dnbradio.com:8000/dnbradio_darkstep.mp3
Comment 2 nathan 2022-02-21 03:11:58 UTC
(In reply to Nagy Tibor from comment #1)
> This is Bug 397736.
> 
> As a workaround until PLS support gets implemented you can manually extract
> the audio URLs from the playlist and add those into Elisa instead. At least
> that's how I do it. 
> 
> In your example those audio URLs are:
> - http://trace.dnbradio.com:8000/dnbradio_main.mp3
> - http://ildnb1.dnbradio.com:8000/dnbradio_main.mp3
> - http://trace.dnbradio.com:8000/dnbradio_mobile.aac
> - http://trace.dnbradio.com:8000/dnbradio_darkstep.mp3

Understood; thanks for your help!
Comment 3 nathan 2022-02-21 03:12:54 UTC

*** This bug has been marked as a duplicate of bug 397736 ***