Closed sir-kain closed 4 years ago
If I follow the code here playlist
is a playlist file. You should check mpv's manual to see what kind of playlist file it expects.
Awesome it works with filepath as the "playlist" parameter like
await mpv.loadPlaylist("src/ply.txt");
src/ply.txt
is my file with list of streams
https://cdns-preview-5.dzcdn.net/stream/c-50543900d3d62a3eb5882407d66acd71-5.mp3
https://cdns-preview-d.dzcdn.net/stream/c-d28ee67c24d60e740866c7709d772f55-10.mp3
It seems as if everything's fine here and I can close this issue, right?
The definition of this function is
loadPlaylist (playlist, mode="replace")
I need to know the type of the "playlist" parameter