mirror of
https://github.com/ksyasuda/mpv-youtube-queue.git
synced 2024-11-22 03:19:54 -08:00
disable history db by default
- change default config - add back line to prevent from running when disabled
This commit is contained in:
parent
2f7756d1fb
commit
0bcc7334cb
@ -26,6 +26,6 @@ menu_timeout=5
|
||||
show_errors=yes
|
||||
ytdlp_file_format=mp4
|
||||
ytdlp_output_template=%(uploader)s/%(title)s.%(ext)s
|
||||
use_history_db=yes
|
||||
use_history_db=no
|
||||
backend_host=http://localhost
|
||||
backend_port=42069
|
||||
|
@ -60,7 +60,7 @@ local options = {
|
||||
show_errors = true,
|
||||
ytdlp_file_format = "mp4",
|
||||
ytdlp_output_template = "%(uploader)s/%(title)s.%(ext)s",
|
||||
use_history_db = true,
|
||||
use_history_db = false,
|
||||
backend_host = "http://localhost",
|
||||
backend_port = "42069"
|
||||
}
|
||||
@ -212,6 +212,7 @@ local function _split_command(cmd)
|
||||
end
|
||||
|
||||
function YouTubeQueue._add_to_history_db(v)
|
||||
if not options.use_history_db then return false end
|
||||
local url = options.backend_host .. ":" .. options.backend_port ..
|
||||
"/add_video"
|
||||
local command = {
|
||||
|
Loading…
Reference in New Issue
Block a user