Merge pull request #2 from ksyasuda/dev

update readme
This commit is contained in:
Kyle Yasuda 2023-08-06 20:36:34 -07:00 committed by GitHub
commit f5b5887616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 21 deletions

View File

@ -1,7 +1,6 @@
# mpv-youtube-queue # mpv-youtube-queue
A Lua script for mpv that allows you to add YouTube videos to a queue, A Lua script that implements the YouTube 'Add to Queue' functionality in MPV
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)
@ -12,8 +11,7 @@ navigate through the queue, and select a video to play.
- 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 of the currently playing video in a new browser tab - Open the URL or channel page 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
@ -62,19 +60,21 @@ This script requires the following software to be installed on the system
### Default Option ### Default Option
- `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 - `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
- `cursor_icon - ➤`: The icon to use for the cursor - `cursor_icon - ➤`: The icon to use for the cursor
- `marked_icon - ⇅`: The icon to use to mark a video as ready to be moved in - `display_limit - 6`: The maximum amount of videos to show on the OSD at once
the queue - `download_directory - ~/videos/YouTube`: The directory to use when
- `download_directory ~/videos/YouTube`: The directory to use when downloading downloading a video
a video
- `downloader - curl`: The name of the program to use to download the video
- `download_quality 720p`: The maximum download quality - `download_quality 720p`: The maximum download quality
- `downloader - curl`: The name of the program to use to download the video
- `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
- `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 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
print_queue=ctrl+q
move_cursor_up=ctrl+UP
move_cursor_down=ctrl+DOWN
play_selected_video=ctrl+ENTER play_selected_video=ctrl+ENTER
open_video_in_browser=ctrl+o
open_channel_in_browser=ctrl+O
print_current_video=ctrl+P print_current_video=ctrl+P
print_queue=ctrl+q
remove_from_queue=ctrl+x remove_from_queue=ctrl+x
browser=firefox browser=firefox
clipboard_command=xclip -o clipboard_command=xclip -o
display_limit=6
cursor_icon=➤ cursor_icon=➤
marked_icon=⇅ display_limit=6
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