Skip to content

Instantly share code, notes, and snippets.

@ChrisK2
Last active August 29, 2015 14:07
Show Gist options
  • Save ChrisK2/3d47be94beaa368965d9 to your computer and use it in GitHub Desktop.
Save ChrisK2/3d47be94beaa368965d9 to your computer and use it in GitHub Desktop.
ytdl_hook.lua

youtube-dl hook script for mpv

Now part of mpv

As of 079ecd7 (2014-11-19), the hook script is now integrated into mpv and will be avaiblable when compiled with LUA support. It is (currently) disabled by default, to enable it add --ytdl=yes to your command-line or ytdl=yes to your mpv.conf.

Open Issues

@ghedo
Copy link

ghedo commented Oct 30, 2014

Ok, thanks. Note that the plan for 0.7 would be to release in ~2-3 weeks or so. Also, I think this would get more testing if it got merged in mpv early on, so more people could easily access it (though you may want to disable it by default for now).

Anyway, I implemented the youtube-dl version check at https://gist.github.com/ghedo/edf582ec6db7732e0694/revisions: it's really simple but seems to work fine, feel free to merge it (or not if you have different plans).

@RunningDroid
Copy link

Can I report bugs for this here, or is there a specific place for that?

@ChrisK2
Copy link
Author

ChrisK2 commented Nov 2, 2014

Here or directly to me on IRC (ChrisK3 in #mpv-player on freenode).

Copy link

ghost commented Nov 19, 2014

Merged, but disabled by default. Use --ytdl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment