Page MenuHomeDevCentral

Allow URL video parsing when a warning is triggered by youtube-dl
ClosedPublic

Authored by dereckson on Sep 16 2017, 16:45.
Tags
None
Referenced Files
F12254563: D1017.id2596.diff
Sun, Oct 12, 16:56
F12251740: D1017.id2597.diff
Sun, Oct 12, 05:43
Unknown Object (File)
Sat, Oct 11, 05:50
Unknown Object (File)
Fri, Oct 10, 22:41
Unknown Object (File)
Sun, Oct 5, 10:04
Unknown Object (File)
Sat, Oct 4, 13:04
Unknown Object (File)
Fri, Oct 3, 20:24
Unknown Object (File)
Fri, Oct 3, 13:03
Subscribers

Details

Summary

Currently, when a video URL is given on a channel with the parse-url
flag enabled, youtube-dl is called to resolve video URLS for video
domains.

If any output reaches stderr, exec throws an error, intercepted
by the catch block, and nothing happens.

Fixes T1234.

Thanks to @xcombelle to have suggested the use of --no-warning flag.

Test Plan

url:getvideotitle https://www.youtube.com/watch?v=4CXOb0Oubxo

Diff Detail

Repository
rVIPER ViperServ scripts
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
youtube-dl (branched from master)
Build Status
Buildable 1593
Build 1841: arc lint + arc unit

Event Timeline

xcombelle requested changes to this revision.Sep 16 2017, 17:06
xcombelle added inline comments.
Daeghrefn/Channel.tcl
26

the correct syntax is youtube-dl -e --no-warnings $url note the s at the end of no-warnings

This revision now requires changes to proceed.Sep 16 2017, 17:06
dereckson edited edge metadata.

Fix argument

This revision is now accepted and ready to land.Sep 16 2017, 18:01
This revision was automatically updated to reflect the committed changes.