We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added a huge youtube playlist to mpd thanks to youtube-dl:
youtube-dl
$ youtube-dl -gx "https://www.youtube.com/watch?v=m3lF2qEA2cw&list=PLd3udltX2Fih-fkvfbw0zENvao9bm8Awh" | \ tee youtube-links.txt | \ mpc add
I hear the tracks coming out, and mpc and ncmpc can both see and interact with the playlist, but ympd doesn't show a playlist:
mpc
ncmpc
ympd
Looking at the console, I see it's crashing in socket.onmessage:
socket.onmessage
https://github.com/notandy/ympd/blob/master/htdocs/js/mpd.js#L214-L218
with:
SyntaxError: JSON.parse: bad control character in string literal at line 1 column 102400 of the JSON data
Here is the msg.data that crashes:
msg.data
msg.data.txt
Notably, there's some nulls that got embedded by (your?) JSON encoder.
Here's that list of streams (in case youtube takes down those videos/blocks youtube-dl again): youtube-links.txt
You should be able to reproduce this by:
cat youtube-links.txt | mpc add
mpc playlist
diff youtube-links.txt <(mpc playlist)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I added a huge youtube playlist to mpd thanks to
youtube-dl
:I hear the tracks coming out, and
mpc
andncmpc
can both see and interact with the playlist, butympd
doesn't show a playlist:Looking at the console, I see it's crashing in
socket.onmessage
:https://github.com/notandy/ympd/blob/master/htdocs/js/mpd.js#L214-L218
with:
Here is the
msg.data
that crashes:msg.data.txt
Notably, there's some nulls that got embedded by (your?) JSON encoder.
Here's that list of streams (in case youtube takes down those videos/blocks youtube-dl again):
youtube-links.txt
You should be able to reproduce this by:
cat youtube-links.txt | mpc add
mpc playlist
anddiff youtube-links.txt <(mpc playlist)
to verify it loaded correctlyThe text was updated successfully, but these errors were encountered: