Closed linknum23 closed 1 year ago
It looks like we can add something similar to this parser in mopidy: https://github.com/mopidy/mopidy/blob/develop/mopidy/internal/playlists.py to handle different playlist types.
Another option would be to add a download step that downloads the file before giving it to vlc. VLC handles most filetypes well and should have a default .method of handling the m3u file, this would require some testing.
Enabling this is actually as simple as telling vlc to fetch and parse the playlist. Check out #379
After more testing this appears to be partially supported without any modification. We may need to robustify internet radio as a whole though.
Although vlc supports m3u file playback our stream implementation does not. What do we need to change?
AmpliPi's vlc support is pretty simple. Here's what you need to reproduce the problem on an AmpliPi:
runvlc.py is a standalone script that we use to interface with vlc and get metadata back. If we are lucky adding some small changes there may add support for this and other formats.