XSPF / M3U playlists

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


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.


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://@
error <general>: OpenDemuxStream - Error creating demuxer


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.


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

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