Skip to content
New issue

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

JSON IPC: JSON output truncated when playlist is large #4452

Closed
eigengrau opened this issue May 24, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@eigengrau
Copy link
Contributor

commented May 24, 2017

mpv version and platform

Reproduction steps

media_file=~/whatever.mkv
while (( $(stat -c %s /tmp/playlist) < 500000 )); do
    echo $media_file >>/tmp/playlist
done
mpv --input-ipc-server=/tmp/sock --playlist /tmp/playlist&
echo '{ "command": ["get_property", "playlist"] }' \
    | socat - /tmp/sock

Expected behavior

The playlist is completely returned in JSON.

Actual behavior

The JSON structure is truncated.

Will follow up with a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.