Compare commits

..

No commits in common. "f5b5887616c7f84ac3e38ffaffa8f6f927eac87e" and "fd742b00cbd8f007d7a9748cebec0ce0cb44de21" have entirely different histories.

2 changed files with 22 additions and 22 deletions

View File

@ -1,6 +1,7 @@
# mpv-youtube-queue # mpv-youtube-queue
A Lua script that implements the YouTube 'Add to Queue' functionality in MPV A Lua script for mpv that allows you to add YouTube videos to a queue,
navigate through the queue, and select a video to play.
![mpv-youtube-queue image](.assets/mpv-youtube-queue.png) ![mpv-youtube-queue image](.assets/mpv-youtube-queue.png)
@ -11,7 +12,8 @@ A Lua script that implements the YouTube 'Add to Queue' functionality in MPV
- Select a video to play from the queue with an interactive menu, - Select a video to play from the queue with an interactive menu,
or navigate through the queue with keyboard shortcuts or navigate through the queue with keyboard shortcuts
- Edit the order of videos in the queue - Edit the order of videos in the queue
- Open the URL or channel page of the currently playing video in a new browser tab - Open the URL of the currently playing video in a new browser tab
- Open the channel page of the currently playing video
- Download the currently playing video - Download the currently playing video
## Notes ## Notes
@ -60,21 +62,19 @@ This script requires the following software to be installed on the system
### Default Option ### Default Option
- `browser - firefox`: The browser to use when opening a video or channel page
- `clipboard_command - xclip -o`: The command to use to get the contents of the clipboard - `clipboard_command - xclip -o`: The command to use to get the contents of the clipboard
- `browser - firefox`: The browser to use when opening a video or channel page
- `cursor_icon - ➤`: The icon to use for the cursor - `cursor_icon - ➤`: The icon to use for the cursor
- `display_limit - 6`: The maximum amount of videos to show on the OSD at once - `marked_icon - ⇅`: The icon to use to mark a video as ready to be moved in
- `download_directory - ~/videos/YouTube`: The directory to use when the queue
downloading a video - `download_directory ~/videos/YouTube`: The directory to use when downloading
- `download_quality 720p`: The maximum download quality a video
- `downloader - curl`: The name of the program to use to download the video - `downloader - curl`: The name of the program to use to download the video
- `download_quality 720p`: The maximum download quality
- `font_name - JetBrains Mono`: The name of the font to use - `font_name - JetBrains Mono`: The name of the font to use
- `font_size - 12`: Size of the font - `font_size - 12`: Size of the font
- `marked_icon - ⇅`: The icon to use to mark a video as ready to be moved - `display_limit - 6`: The maximum amount of videos to show on the OSD at once
in the queue
- `show_errors - yes`: Show error messages on the OSD - `show_errors - yes`: Show error messages on the OSD
- `ytdlp_output_template - %(uploader)s/%(title)s.%(ext)s`: The [yt-dlp output
template string](https://github.com/yt-dlp/yt-dlp#output-template)
## License ## License

View File

@ -1,23 +1,23 @@
add_to_queue=ctrl+a add_to_queue=ctrl+a
move_cursor_down=ctrl+DOWN
move_cursor_up=ctrl+UP
open_channel_in_browser=ctrl+O
open_video_in_browser=ctrl+o
play_next_in_queue=ctrl+n play_next_in_queue=ctrl+n
play_previous_in_queue=ctrl+p play_previous_in_queue=ctrl+p
play_selected_video=ctrl+ENTER
print_current_video=ctrl+P
print_queue=ctrl+q print_queue=ctrl+q
move_cursor_up=ctrl+UP
move_cursor_down=ctrl+DOWN
play_selected_video=ctrl+ENTER
open_video_in_browser=ctrl+o
open_channel_in_browser=ctrl+O
print_current_video=ctrl+P
remove_from_queue=ctrl+x remove_from_queue=ctrl+x
browser=firefox browser=firefox
clipboard_command=xclip -o clipboard_command=xclip -o
cursor_icon=➤
display_limit=6 display_limit=6
cursor_icon=➤
marked_icon=⇅
font_size=12
font_name=JetBrains Mono
download_quality=720p
download_directory=~/videos/YouTube download_directory=~/videos/YouTube
download_format_str=%(uploader)s/%(title)s.%(ext)s download_format_str=%(uploader)s/%(title)s.%(ext)s
download_quality=720p
downloader=curl downloader=curl
font_name=JetBrains Mono
font_size=12
marked_icon=⇅
show_errors=yes show_errors=yes