Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Include video ID in ERROR: messages #511
Comments
|
Yeah, might be useful, but meanwhile the id is on the precedent output line, no? |
|
Normally yes, but if you add --get-url --get-title (so that mplayer can do the steaming), its not. |
|
This patch (to be applied on git-master) patches all errors & warnings to ERROR/WARNING: [InfoExtractor] video_id: error_message. |
|
I posted a solution to this problem, please consider applying the patch. If theres any more work needed for this, I'll update the diff. |
|
@kull0rk3x Can you do a pull request ? It will ease the developers work while applying the patch. |
Hi,
I was wondering if it is possible to include the video ID in the error messages, eg. turning lines like
ERROR: YouTube said: This video contains content from UMG, who has blocked it in your country on copyright grounds.
to
ERROR [videoIDhere]: YouTube said: This video contains content from UMG, who has blocked it in your country on copyright grounds.
to be able to know which video failed when letting youtube-dl work on a playlist.
I wrote a little script that utilizes youtube-dl and mplayer to playback videos, and if this was changed I could unblock a few videos on the fly (until then I would have to download the whole playlist again via a proxy).
Regards