Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ytdl: check exit code before completing json parse
When youtube-dl fails, it exits with an error code and prints an error message on stderr, writing nothing to stdout. This resulted in a yajl "unexpected EOF" error, which is unhelpful to users. Fixes MusicPlayerDaemon#22
- Loading branch information