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.
Using mpv with youtube-dl and add the video to the history #8560
Comments
|
Closing as a duplicate of #5054, it's for marking the video as watched when downloading but it could be adapted for the mpv case. |
Hello,
I use youtube-dl within mpv, so I can stream long videos and the monitor wont go to energy saving mode. This is working great, however I would like to have an authenticated version of the script so the video is added to the history and "tracked" by Google, so it will improve the suggestions. The ultimate goal is to integrate this with vimperator so I can watch videos with a keystroke out of the browser but keeping the suggestions updated.
This is my draft of the authenticated script version:
Authentication seems to work fine (I get an error with wrong password), here is an output from a regular video using authentication (correct auth scenario):
The video playback is ok however it does not get added to the history.
Am I missing something? Perhaps is there another option for this? I didn't find any on the documentation.
Thank you very much.