5 Commits

Author SHA1 Message Date
757804b192 disable debug
Some checks failed
Luacheck / luacheck (push) Failing after 2m10s
2025-02-15 01:36:30 -08:00
33f10c84b9 clean up code 2025-02-15 01:15:55 -08:00
412634c943 update config file and readme 2025-02-14 20:21:19 -08:00
3f7a5fb183 add additional fields for history database
Some checks failed
Luacheck / luacheck (push) Failing after 2m27s
2025-02-13 18:53:00 -08:00
68875120c5 add documentation and update get_video_info
- change to json dump and use mpv native json reader
2025-02-13 01:50:48 -08:00
4 changed files with 856 additions and 657 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
test.sh test.sh
.git/* .git/*
.luarc.json

View File

@@ -66,7 +66,7 @@ This script requires the following software to be installed on the system
### Default Options ### Default Options
- `default_save_method - unwatched`: The default method to use when saving the - `default_save_method - unwatched`: The default method to use when saving the
queue. Valid options are `unwatched` or `all`. Defaults to `unwatched` queue. Valid options are `unwatched` or `all`. Defaults to `unwatched`
- Whichever option is chosen is the default method for the `save_queue` - Whichever option is chosen is the default method for the `save_queue`
binding, and the other method will be bound to `save_queue_alt` binding, and the other method will be bound to `save_queue_alt`
- `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
@@ -84,7 +84,7 @@ This script requires the following software to be installed on the system
- `ytdlp_file_format - mp4`: The preferred file format for downloaded videos - `ytdlp_file_format - mp4`: The preferred file format for downloaded videos
- `ytdlp_output_template - %(uploader)s/%(title)s.%(ext)s`: The [yt-dlp output template string](https://github.com/yt-dlp/yt-dlp#output-template) - `ytdlp_output_template - %(uploader)s/%(title)s.%(ext)s`: The [yt-dlp output template string](https://github.com/yt-dlp/yt-dlp#output-template)
- Full path with the default `download_directory` is: `~/videos/YouTube/<uploader>/<title>.<ext>` - Full path with the default `download_directory` is: `~/videos/YouTube/<uploader>/<title>.<ext>`
- `use_history_db - no`: Enable watch history tracking through integration with [mpv-youtube-queue-server](https://gitea.suda.codes/sudacode/mpv-youtube-queue-server) - `use_history_db - no`: Enable watch history tracking and remote video queuing through integration with [mpv-youtube-queue-server](https://gitea.suda.codes/sudacode/mpv-youtube-queue-server)
- `backend_host`: ip or hostname of the backend server - `backend_host`: ip or hostname of the backend server
- `backend_port`: port to connect to for the backend server - `backend_port`: port to connect to for the backend server

View File

@@ -13,7 +13,7 @@ play_previous_in_queue=ctrl+p
print_current_video=ctrl+P print_current_video=ctrl+P
print_queue=ctrl+q print_queue=ctrl+q
save_queue=ctrl+s save_queue=ctrl+s
save_full_queue=ctrl+S save_full_alt=ctrl+S
remove_from_queue=ctrl+x remove_from_queue=ctrl+x
play_selected_video=ctrl+ENTER play_selected_video=ctrl+ENTER
browser=firefox browser=firefox

File diff suppressed because it is too large Load Diff