audio playback not working in Media Player or iOS client

I have a channel plug-in that playing audio from swedish radio. But since some time back I’m only able to play the live streaming in the web client and in the android client. I have tried the media player as well as the iOS client with failed result.
The source code can be found here:
https://github.com/henriksp/SRPlay.bundle/blob/master/Contents/Code/init.py
and it is the function ListenLiveChannelType that is doing the work

Any proposal on what can be wrong?

That code looks really old.
Using a URL service would probably make it work better across different clients.

this works for me on Plex Media Player and iOS: https://github.com/coryo/SRPlay.bundle

Thanks
I haven’t looked into since 2012 and also saw now that someone had made a fork and included some improvement, great!
Thanks for contribution. I will try it out.