Shoutcast crashes Kodi 19

I just updated to Kodi 19 and I am testing it. Shoutcast seems to be compatible (icecast is not) but when trying to reproduce some radio station, Kodi crashes with a sad face. I can reproduce this consistently. The logs seems not very useful:

2021-09-05 17:08:24.775 T:1003     INFO <general>: initializing python engine.
2021-09-05 17:08:28.582 T:1003     INFO <general>: [xbmcswift2] Request for "/" matches rule for function "show_root_menu"
2021-09-05 17:08:28.607 T:1003     INFO <general>: CPythonInvoker(6, /home/osmc/.kodi/addons/plugin.audio.shoutcast/addon.py): script successfully run
2021-09-05 17:08:29.051 T:1003     INFO <general>: Python interpreter stopped
2021-09-05 17:08:57.223 T:1024     INFO <general>: initializing python engine.
2021-09-05 17:08:59.489 T:1024     INFO <general>: [xbmcswift2] Request for "/top500/" matches rule for function "show_top500_stations"
2021-09-05 17:09:01.048 T:1024     INFO <general>: CPythonInvoker(7, /home/osmc/.kodi/addons/plugin.audio.shoutcast/addon.py): script successfully run
2021-09-05 17:09:01.469 T:1024     INFO <general>: Python interpreter stopped
2021-09-05 17:09:05.318 T:1028     INFO <general>: initializing python engine.
2021-09-05 17:09:07.832 T:1028     INFO <general>: [xbmcswift2] Request for "/resolve/1796249" matches rule for function "resolve_play_url"
2021-09-05 17:09:08.254 T:1028     INFO <general>: CPythonInvoker(8, /home/osmc/.kodi/addons/plugin.audio.shoutcast/addon.py): script successfully run
2021-09-05 17:09:08.738 T:1028     INFO <general>: Python interpreter stopped
2021-09-05 17:09:10.096 T:1020     INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2021-09-05 17:09:10.168 T:1020     INFO <general>: AudioDecoder: File is queued
2021-09-05 17:09:10.171 T:930      INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-09-05 17:09:10.172 T:930      INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2021-09-05 17:09:10.181 T:930      INFO <general>: CAESinkALSA::Initialize - Opened device "default"
2021-09-05 17:09:10.183 T:930      INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-09-05 17:09:10.183 T:930      INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2021-09-05 17:09:10.212 T:1020     INFO <general>: PAPlayer::PrepareStream - Ready

This is a Raspberry PI 3B+.

Somebody else can reproduce this issue?

Thanks.

PS: Trying Kodi 19 and shoutcast addon in a Linux laptop, it works fine.

I had shadertoy enabled. I disabled it. Same result, sad face.

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

Depending on the used skin you have to set the settings-level to standard or higher, in summary:

  • enable debug logging at settings->system->logging

  • reboot the OSMC device twice(!)

  • reproduce the issue

  • upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A

  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

OSMC skin screenshot:

Hi, @Tom_Doyle.

Just to be sure this is not related to my configuration, I just downloaded OSMC again (2021.8) and I created a clean install. I can NOT reproduce the issue with the OSMC Skin (YES, I COULD), but if I change the skin to Estuary, the problems happens frequently, although not 100% of the time. When kodi doesn’t crash, I see several “weird” effects in the screen, like if the signal was missing for a moment or full white screen. It is obvious that something goes wrong at the time, even if Kodi is not crashing (*).

(*) After recording the screen with a high speed camera, The effect I am seeing is the dark overlay appearing/disappearing several times when the shoutcast addon is trying to start the stream. I would guess the issue is a race condition related to this “effect”.

The logs available at https://paste.osmc.tv/lusiminuqo

(would be nice if OSMC showed a QR code with the URL :slight_smile:

Steps to reproduce:

  1. Download OSMC 2021.8
  2. Initialize the microSD Card
  3. Set the skin to Estuary (**)
  4. Download “Shoutcast” addon.
  5. Launch “Shoutcast”.
  6. Select any station from the top 500.
  7. You will see several “display weirdness” during the streaming establishment. See (*)
  8. You could get a audio reproduction (lucky you, no more “display weirdness” during reproduction) (see (*)) or a Kodi crash with sad face.
  9. If Kodi doesn’t crash at first try, just try to reproduce another station and keep trying. It will crash shortly enough.

(**) Estuary seems to be more prone to the crash, but I can reproduce it with the default OSMC Skin just trying shoutcast a few more times.

I got a second crash: https://paste.osmc.tv/ocujowodej

I got a crash with SKIN OSMC after trying for a while a sequence of play/stop: https://paste.osmc.tv/utemobibiv . Another one after some tries: https://paste.osmc.tv/fufulinobo

It seems easy to reproduce and it happens after a full clean install.