All Projects → cvzi → mpv-youtube-upnext

cvzi / mpv-youtube-upnext

Licence: other
A userscript for MPV that allows you to play "up next"/recommended youtube videos ⏭️

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to mpv-youtube-upnext

mpv-youtube-download
A userscript for MPV that allows you to download youtube audio and video with one key press 💾
Stars: ✭ 16 (-44.83%)
Mutual labels:  mpv, youtube-dl, mpv-script
mpv-ytdlautoformat
A simple mpv script to auto change ytdl-format for Youtube and Twitch
Stars: ✭ 30 (+3.45%)
Mutual labels:  mpv, mpv-script
Ytcc
Command line tool to keep track of your favorite playlists on YouTube and many other places.
Stars: ✭ 92 (+217.24%)
Mutual labels:  mpv, youtube-dl
cfg
my dotfiles
Stars: ✭ 26 (-10.34%)
Mutual labels:  mpv, mpv-script
spongebob-cli
Watch classic spongebob from the terminal!
Stars: ✭ 179 (+517.24%)
Mutual labels:  mpv, youtube-dl
Boram
🎞 Cross-platform graphical WebM converter
Stars: ✭ 312 (+975.86%)
Mutual labels:  mpv, youtube-dl
mpv-scripts
A collection of scripts for mpv player
Stars: ✭ 138 (+375.86%)
Mutual labels:  mpv, mpv-script
vscode-mediaplayer
Mediaplayer extention for VS Code
Stars: ✭ 18 (-37.93%)
Mutual labels:  mpv, youtube-dl
videoclip
Easily create videoclips with mpv.
Stars: ✭ 49 (+68.97%)
Mutual labels:  mpv, mpv-script
mpv-repl
A graphical REPL for mpv input commands
Stars: ✭ 70 (+141.38%)
Mutual labels:  mpv, mpv-script
mpv-search-page
An in-window search page for mpv player
Stars: ✭ 32 (+10.34%)
Mutual labels:  mpv, mpv-script
mpv crop script
A Lua script to take cropped screenshots in mpv, sans external dependencies
Stars: ✭ 77 (+165.52%)
Mutual labels:  mpv, mpv-script
immersive
Language learning mpv script for looking up words within mpv and generating Anki cards
Stars: ✭ 43 (+48.28%)
Mutual labels:  mpv, mpv-script
Mpv.net
🎞 mpv.net is a modern media player for Windows that works just like mpv.
Stars: ✭ 737 (+2441.38%)
Mutual labels:  mpv, youtube-dl
MPV lazy
🔄 mpv player 播放器折腾记录 windows conf ; 中文注释配置 快速帮助萌新入门 ; mpv-lazy 懒人包 win10 x64
Stars: ✭ 615 (+2020.69%)
Mutual labels:  mpv, mpv-script
mpvacious
Adds mpv keybindings to create Anki cards from movies and TV shows.
Stars: ✭ 286 (+886.21%)
Mutual labels:  mpv, mpv-script
mpv-osc-morden
Another mpv osc script
Stars: ✭ 149 (+413.79%)
Mutual labels:  mpv, mpv-script
mpv-gif-generator
Creates animated gifs using mpv hotkeys
Stars: ✭ 32 (+10.34%)
Mutual labels:  mpv, mpv-script
VR-reversal
VR-Reversal - Player for conversion of 3D video to 2D with optional saving of head tracking data and rendering out of 2D copies.
Stars: ✭ 128 (+341.38%)
Mutual labels:  mpv
yt-videos-list
Create and **automatically** update a list of all videos on a YouTube channel (in txt/csv/md form) via YouTube bot with end-to-end web scraping - no API tokens required. Multi-threaded support for YouTube videos list updates.
Stars: ✭ 64 (+120.69%)
Mutual labels:  youtube-dl

youtube-upnext

A userscript for MPV that allows you to load the up next/recommened youtube video on the fly, as though you were using the web player.

screenshot

Toggle the menu with ctrl+u (configurable). Select from the list with the arrow keys (configurable), and press enter (configurable) to select. Menu times out after 10 seconds (configurable.)

Installation

Copy youtube-upnext.lua into your scripts directory, e.g.:

cp youtube-upnext.lua ~/.config/mpv/scripts/

optional, copy the config file:

cp youtube-upnext.conf ~/.config/mpv/script-opts/

Windows:

The location of the scripts directory on Windows is %APPDATA%\mpv\scripts e.g. C:\Users\cvzi\AppData\Roaming\mpv\scripts

Make sure you have GNU Wget installed. There are several websites that offer a binary release of wget for Windows e.g. here, it is also included in MingW and similar tools.

If you downloaded/installed the wget executable, you have to add the directory of the wget.exe toyour machine's %PATH.

Depending on your setup you may have to set check_certificate = false in the lua script or in the config file, because some wget versions on Windows seem to have problems with HTTPS/SSL certificates.

mpv.net:

The script folder for mpv.net is: %APPDATA%\mpv.net\scripts

The .conf files belong into: %APPDATA%\mpv.net\script-opts

The keyboard shortcut in the script and the .conf-file doesn't work with mpv.net. You need to set the keyboard shortcut yourself in your input.conf. Default location is %APPDATA%\mpv.net\input.conf. Add the following line to the end of your input.conf (change the key if it's already used):


 Ctrl+u     script-message-to   youtube_upnext   upnext-menu

Credit

youtube-quality's Credit

  • reload.lua, for the function to reload a video while preserving the playlist.
  • mpv-playlistmanager, from which I ripped off much of the menu formatting config.
  • ytdl_hook.lua, from which I ripped off much of the youtube-dl code to fetch the format list
  • somebody on /mpv/ for the idea
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].