biliup / biliup-rs

命令行投稿(B站)和视频下载工具,提供多种登录方式,支持多p。

Home Page:https://biliup.github.io/biliup-rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[已解决]HiRes支持错误,代码如下,如何解决?

kimycai opened this issue · comments

windows 10系统
命令:biliup upload --tag 音乐 --tid 130 --hires 1 MTV.mkv
出现以下错误信息
error: Found argument '--hires' which wasn't expected, or isn't valid in this context

If you tried to supply '--hires' as a value rather than a flag, use '-- --hires'

用的哪个版本

用的哪个版本

最新版

版本号

版本号

v0.1.15

biliup help upload可以查看所有支持的选项

biliup help upload可以查看所有支持的选项

有的才是被支持的?而不是看readme页面上有的?

biliup help upload

命令行显示没有--hires参数,但readme上写了是有的

没有就说明你不是0.1.15版本

没有就说明你不是0.1.15版本

D:\biliupR-v0.1.15-x86_64-windows>biliup help upload
上传视频

Usage: biliup upload [OPTIONS] [VIDEO_PATH]...

Arguments:
[VIDEO_PATH]... 需要上传的视频路径,若指定配置文件投稿不需要此参数

Options:
-c, --config Sets a custom config file
-l, --line 选择上传线路 [possible values: bda2, ws, qn, kodo, cos, cos-internal]
--limit 单视频文件最大并发数 [default: 3]
--copyright 是否转载, 1-自制 2-转载 [default: 1]
--source 转载来源 [default: ]
--tid 投稿分区 [default: 171]
--cover 视频封面 [default: ]
--title <TITLE> 视频标题 [default: ]
--desc 视频简介 [default: ]
--dynamic 空间动态 [default: ]
--tag 视频标签,逗号分隔多个tag [default: ]
--dtime 延时发布时间,距离提交大于4小时,格式为10位时间戳
--interactive [default: 0]
--mission-id <MISSION_ID>
--dolby 是否开启杜比音效, 0-关闭 1-开启 [default: 0]
--no-reprint <NO_REPRINT> 0-允许转载,1-禁止转载
--up-selection-reply
--up-close-reply
--up-close-danmu
--open-elec <OPEN_ELEC> 是否开启充电, 0-关闭 1-开启
-h, --help Print help information

以上是命令行的全部信息,包括路径信息,原汁原味

我知道了,是这边疏忽了

那就静待更新了

--hires <LOSSLESS_MUSIC> 是否开启 Hi-Res, 0-关闭 1-开启 [default: 0]

能否将hires设为默认开启,因为如果上传的音频不符合hires标准,也不影响视频的播放,如果后期更换为hires音轨,也只用替换新的含hires音轨的视频源,而不用重新投稿。

请问 --hires 这个参数功能是被移除了还是未在新版更新?