XSPF / M3U playlists

My ISP streams some TV channels and provides corresponding XSPF and M3U playlists. I’m trying to play these on NixOS.

VLC

The lists load and a yellow bar oscillates for ever, with the error

mjpeg demux error: cannot peek

being issued on stderr each time a channel is selected in the UI.

Kodi

With the pvr-iptvsimple plugin, the lists load and icons for the channels appear. Selecting a channel results in Kodi having a long think about it, and eventually popping up a playback failed message.

Enabling logging for the plugin and inspecting the logs, reveals

debug <general>: Error, could not open file udp://@233.50.230.57:5000/
error <general>: OpenDemuxStream - Error creating demuxer

Hypnotix

Comes with a default M3U list. Many of the channels on this show a progress spinner for ever, but a few work.

The project’s GitHub README says that I should feel free to add my own M3U list, but I haven’t managed to figure out how to do this, and I haven’t found anything that might be called documentation.

MPV

nix run nixpkgs#mpv -- --playlist=tvchannels.m3u --load-unsafe-playlists
Playing: udp://@233.50.230.80:5000

besides this message appearing on stdout, nothing happens: can’t see anything, can’t hear anything, the mpv process uses 0.0% CPU.