update
This commit is contained in:
@@ -3,7 +3,9 @@ local opt = require("mp.options")
|
||||
-- 选项
|
||||
options = {
|
||||
-- 指定弹幕服务器地址,自定义服务需兼容 dandanplay 的 api
|
||||
api_server = "https://api.dandanplay.net",
|
||||
-- 可指定多个用逗号分隔的有序 api_server 列表
|
||||
-- 支持每项使用 '|' 或 '#' 分隔备注,例如: "https://a.example.com|备用A" 或 "https://b.example.com#备用B"
|
||||
api_server = "https://danmaku-api.152468.xyz",
|
||||
-- 指定 b 站和爱腾优的弹幕获取的兜底服务器地址,主要用于获取非动画弹幕
|
||||
-- 可用: https://api.danmu.icu,https://dmku.hls.one
|
||||
fallback_server = "https://api.danmu.icu",
|
||||
@@ -15,6 +17,10 @@ options = {
|
||||
autoload_local_danmaku = false,
|
||||
autoload_for_url = false,
|
||||
save_danmaku = false,
|
||||
-- 指定弹幕保存目录。为空时保存到视频同目录;目录需要用户提前创建
|
||||
save_danmaku_path = "",
|
||||
-- 指定 save_danmaku_path 的应用范围:local / url / all
|
||||
save_danmaku_path_mode = "local",
|
||||
user_agent = "mpv_danmaku/1.0",
|
||||
proxy = "",
|
||||
-- 可选:向 HTTP 请求传递 cookie.txt 文件路径
|
||||
@@ -25,6 +31,8 @@ options = {
|
||||
fps = "60/1.001",
|
||||
-- 指定合并重复弹幕的时间间隔的容差值,单位为秒。默认值: -1,表示禁用
|
||||
merge_tolerance = -1,
|
||||
-- 合并重复弹幕时是否强制合并类型和颜色不同的弹幕。默认值: false,表示仅合并类型和颜色相同的弹幕
|
||||
merge_without_style = false,
|
||||
-- 指定弹幕关联历史记录文件的路径,支持绝对路径和相对路径
|
||||
history_path = "~~/danmaku-history.json",
|
||||
open_search_danmaku_menu_key = "Ctrl+d",
|
||||
|
||||
Reference in New Issue
Block a user