Commit Graph
54 Commits
Author SHA1 Message Date
dreammu 3e8b55c2c4 fix(upload): update upload lines (#1656) 2026-08-07 09:28:12 +00:00
XuanRan_Nyan 08b96b73f8 feat(douyu): build huos url for forced hs (#1644) 2026-06-26 11:59:42 +00:00
ForgQi 431d1f61ab Support optional segment limits and danmaku files
Make file_size and segment_time optional and normalize/validate their values so segmentation can be disabled. Frontend: send nulls for empty fields and allow empty segment_time via validation; add showClear to inputs. Downloader: extend SegmentInfo with optional danmaku_file_path and propagate it from various downloaders; DanmakuClient::rolling now returns a bool to signal whether a danmaku file was produced. Uploader: add segment_paths helper to include danmaku files in upload/postprocessing, and preserve processed paths; add unit tests. HookStep: stream child process stdout/stderr as raw bytes to terminal and append to a log file (tee), and simplify run/move logic to use explicit path lists. Cargo.toml: bump reqwest to 0.13.4. Tests and minor adjustments added throughout to support these changes.
2026-06-04 01:19:27 +08:00
ForgQi c172efb6cd Add dynamic log level configuration support
Introduces a new `loggers_level` field in the server config to allow dynamic adjustment of log levels via the API and UI. Updates the developer UI to reflect the new log level controls and ensures the backend applies changes to the logging filter at runtime. Also bumps the version to 1.1.27.
2025-12-01 02:18:20 +08:00
ForgQi 55370dd87a Add dynamic log level reload support to server
Introduces tracing_subscriber::reload to enable dynamic log level changes at runtime. Updates the main server initialization and ServiceRegister to accept and store a log handle. Refactors related code to support this feature and removes disabled state from developer UI log level selectors.
2025-11-27 03:41:09 +08:00
ForgQi a0b6800c0a Refactor async worker status and improve file move logic
Refactored worker status management to use async RwLock and updated all related methods to be async. Improved file move logic in hook steps to support cross-filesystem moves by falling back to copy+delete when necessary. Updated API endpoints, download/upload logic, and monitor state transitions to be fully async and more robust. Also added a Debug implementation for Credentials to avoid logging sensitive data, and made minor UI tweaks to disable certain developer options.
2025-10-22 02:13:37 +08:00
XuanRan_Nyan e1171c6dc7 fix(blive): parse error (#1405) 2025-08-07 06:36:31 +00:00
XuanRan_Nyan dba7780c3d feat(biliup-rs): 新增 BCut Android 投稿接口 (#1402)
* remove: blive hack feature

* feat(stream-gears): 支持直播流下载的多条件分割

* 新增 BCut Android 投稿接口

* chore: 优化实现方法

* chore: 完成 Python 实例

* chore: 完善测试用例

* chore: 复用代码

* cleanup
2025-08-07 03:40:33 +00:00
XuanRan_Nyan 526767257d remove: blive hack feature (#1394) 2025-08-04 14:22:47 +00:00
XuanRan_Nyan 8293b6cd91 feat(Huya): 支持 Huya Wup 协议以获取正确直播流 (#1385)
* feat(Huya): 支持 Huya Wup 协议以获取正确直播流

* chore: 补充 webui 内容
2025-08-02 08:59:19 +00:00
某摆烂咸鱼 bd69b76124 feat: 新增上传重试次数限制和上传结果webhook通知 (#1355)
* feat: 新增重试上传次数限制

* feat: 新增上传后WebHook设置选项

* feat: 新增上传webhook逻辑

* mod: 将功能配置移至直播配置中的更多设置

* mod: 修改webhook传输的信息

* mod: 修正错误的数据类型

Refactor webhook upload logic and update build configs

Replaces the 'uploaded_webhook' field with a 'webhook' postprocessor in the upload workflow, updating both backend and frontend to support this change. Updates the Tauri app to use the correct resource path for the sidecar binary, adjusts process management, and modifies build and workflow scripts for improved compatibility. Also bumps the 'stream-gears' crate version to 1.0.1 and adds '_internal' to .gitignore.

Update pyinstaller-publish.yml

Fix pyinstaller copy metadata (#1357)

* Update tauri.conf.json

* Update biliup.spec

Update pyinstaller-publish.yml

feat: 新增上传重试次数限制和上传结果webhook通知 (#1355)

* feat: 新增重试上传次数限制

* feat: 新增上传后WebHook设置选项

* feat: 新增上传webhook逻辑

* mod: 将功能配置移至直播配置中的更多设置

* mod: 修改webhook传输的信息

* mod: 修正错误的数据类型

Refactor webhook upload logic and update build configs

Replaces the 'uploaded_webhook' field with a 'webhook' postprocessor in the upload workflow, updating both backend and frontend to support this change. Updates the Tauri app to use the correct resource path for the sidecar binary, adjusts process management, and modifies build and workflow scripts for improved compatibility. Also bumps the 'stream-gears' crate version to 1.0.1 and adds '_internal' to .gitignore.
2025-07-22 02:02:23 +08:00
XuanRan_NyanandForgQi 45839c7e88 fix(Plugins.Huya): Update HuYaUA (#1291)
* fix(Plugins.Huya): HuYaUA

* add options to disable wup headers

* cleanup

* Update __init__.py

---------

Co-authored-by: ForgQi <34411314+ForgQi@users.noreply.github.com>
2025-05-12 03:58:19 +00:00
⁢4.435km/sandForgQi b61ff5ed08 feat: 适配TwitCasting,TwitCasting添加Cookie,TwitCasting添加画质选择 (#1282)
* feat: 适配TwitCasting,TwitCasting添加Cookie,TwitCasting添加画质选择

* Update __init__.py

---------

Co-authored-by: ForgQi <34411314+ForgQi@users.noreply.github.com>
2025-05-06 03:22:19 +00:00
XuanRan_NyanandForgQi ce66a29bfe feat: 抖音真原画 (#1267)
* feat: 抖音真原画

* add webui option

* Update __init__.py

---------

Co-authored-by: ForgQi <34411314+ForgQi@users.noreply.github.com>
2025-04-27 02:01:11 +00:00
某摆烂咸鱼andxxxxuanran 257453a70b feat: 支持B站完整弹幕录制 (#1186)
* feat: 支持B站完整弹幕录制

* feat: 原始弹幕json编码时不编码中文

* mod: 每五分钟保存一次弹幕文件,减少磁盘IO

* feat: 默认场景10秒保存一次弹幕,原始弹幕5分钟一次

* mod: 修改录制原始弹幕参数名称

* mod: 更新示例配置文件

* refactor(Danmaku): 提升代码可读性

---------

Co-authored-by: xxxxuanran <xxxxuanran@gmail.com>
2025-03-31 02:48:27 +00:00
XiaoMiku01andCopilot eb6b35c93f Fix 修复一些问题 (#1207)
* fix

* 修复虎牙拉流失败异常

* 添加边录边传下载器日志记录

* 修复边录边传投稿标题概率异常

* Update biliup/plugins/huya.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* 添加边录边传的说明链接

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-30 11:13:55 +00:00
XuanRan_Nyan 9404dc4a5c feat: Add override configuration support for streamers (#1151)
* feat: Add override configuration support for streamers

* refactor: Simplify plugin imports and platform matching

* refactor: 支持插件配置覆写

* refactor: 更新 User 块覆写

* fix: type error
2025-02-06 12:07:40 +00:00
XuanRan_Nyan 2ad84afa98 feat: Add Kilakila streaming platform support (#1148)
* feat: Add Kilakila streaming platform support

Integrated Kilakila plugin into the dashboard streaming platforms section

* Improve Kilakila plugin URL support

Add support for additional Kilakila and Hongdoufm domain URLs, and implement URL path validation to prevent unsupported stream types

* 补充信息
2025-02-03 11:21:33 +00:00
XiaoMiku01andxxxxuanran 94b404c57e Dev 适配 biliup/biliup-rs#186 测试边录边上传功能 (#1140)
* fix

* 适配 biliup/biliup-rs#186  extra_fields

* dev 边录边上传功能初版

* 修复下载器错误

* 实现同步编辑投稿功能

* 上传模板标题格式化

* fix

* 默认分p大小2G

* 重写了对列

* 修改输出队列机制

* 多线程上传有bug

* 修复异常阻塞和多线程上传bug

* reset

* fix

* 修复线程池异常

* 添加额外字段支持;增加同步下载器选项;去除无用日志;修复B站FLV流小概率无法获取;去掉B站弹幕重复登录态验证。

* 删除补0测戳

* 调整 ffmpeg header 参数位置

* 添加同步保存到本地的配置项 和 运行分段后自定义命令

* 添加缺失的投稿参数

* 添加边录边传保存目录项

* 格式化

* 修正 webup_sync 上传线路选择

* 修复 webup_sync 的 submit_web

* 修正参数错误

* 删除多余代码

* 删除多余代码

---------

Co-authored-by: xxxxuanran <xxxxuanran@gmail.com>
2025-02-03 11:03:44 +00:00
Monine Melolaris 694d05fac0 Style(webui): 执行前端代码格式化 (#1141)
仅按照配置文件格式化,未进行任何逻辑更改。
2025-01-14 06:35:54 +00:00
某摆烂咸鱼andunknown-o ef24502d17 feat: B站弹幕录制优化 (#1120)
* feat: B站弹幕服务支持传入cookie

* feat: 哔哩哔哩录制弹幕时传入cookie

* feat: 新增针对于B站的上舰、SC、礼物记录

* feat: 支持开关B站完整弹幕录制

* fix: 条件判断错误

* fix: 当尝试使用cookie录制B站失败时自动fallback

* fix: 修正舰长无法录制的问题

* mod: 按照原逻辑写入弹幕

* mod: 修改B站详细弹幕录制开关名称

* fix: B站详细弹幕录制条件错误

* fix: 修正舰长、SC信息没有记录用户名

---------

Co-authored-by: unknown-o <yushen@mr-wu.top>
2025-01-03 12:03:37 +00:00
XuanRan_Nyan dfdd92ae60 fix: dtime (#1121)
* fix dtime

* change npm mirror

* 发布时间离当前时间必须≥4小时且≤15天

* 使用 artplayer 替换 西瓜播放器

* 自动切换播放器

* 控件修改为 ScrollList

* 移除 西瓜播放器
2024-12-31 16:45:21 +00:00
XuanRan_Nyan 4cb56371a6 feat: enhance dashboard and plugin (#1114)
* enhance dashboard and plugin

* update

* update

* fix fallback

* Support short URL of Douyin user page
2024-12-19 17:50:12 +00:00
XuanRan_Nyan 02f8fb5c62 feat: Add cache during runtime (#995)
* feat: Runtime modification of Links

* update

* update

* compatible with python 3.8

* update

* update

* update
2024-07-17 01:45:39 +00:00
XuanRan_Nyan b1f577b2dd fix: 在没有配置最大码率时跳过码率选择 (#993) 2024-07-12 15:58:17 +00:00
XuanRan_Nyan ca714c1c35 feat(Huya): use the api to get live streams (#986)
* feat(Huya): use the api to get live streams

* update webui

* update

* cleanup

* cleanup

* update

* fix the twitch plugin problem

* bumping version
2024-07-10 10:31:46 +00:00
ForgQi 4037f23fe7 Bumping version 2024-06-22 18:59:43 +08:00
XuanRan_Nyan 1ad6522cb5 feat(download): Support hls for huya, douyin (#958)
* feat(download): Support hls for huya, douyin

* update webui

* add global filename_prefix

* update webui

* fix errors

* Update variable names

* update
2024-06-19 15:33:39 +00:00
ForgQi cd353f609d update README.md 2024-06-02 21:33:07 +08:00
ForgQi 4872007adc add upload delay 2024-05-28 23:12:13 +08:00
ForgQi 004f401bc2 type wrangling and gymnastics 2024-05-28 02:29:38 +08:00
XuanRan_Nyan 5acf98773b feat(Douyu): 拒绝互动游戏 (#943) 2024-05-26 15:13:33 +00:00
XuanRan_Nyan 58833f1819 更新 CC 平台 (#936)
* 更新 CC 平台

* 清理调试代码

* 更新虎牙线路,CC直播标题

* 修复虎牙线路屏蔽
2024-05-20 14:03:17 +00:00
XuanRan_Nyan 299dc3b1b0 修正不存在配置时出现的错误引用 (#933)
* 修正不存在配置时出现的错误引用

* 更新 rule

* 更新 rule
2024-05-19 08:53:42 +00:00
XuanRan_Nyan 022ba7216c 行为调整 (#925)
* 修复 链接健康检测

* 遵循旧行为

* 让支持的下载器提前把文件名写入数据库

* 让 httpx 日志仅在 Console 日志为 DEBUG 级别时输出

* 恢复 cn01 替换

* add notes

* 对应 Review 意见

* 对应 Review 意见
2024-05-18 17:41:22 +08:00
XuanRan_Nyan 303019ab65 #909 补充 (#916)
* 修复copyright默认值错误覆盖原有值

* 补充格式说明

* 显示清除
2024-05-05 14:56:52 +00:00
XuanRan_Nyan 6478942518 Patch 20240501 (#909)
* 修复copyright默认值错误覆盖原有值

* 补充格式说明
2024-04-30 17:12:24 +00:00
⁢4.435km/s e44a33f481 下载流程调整 (#906)
* 调整虎牙webui文字

* 下载流程修改
避免短时间弹幕分段覆盖
分段后处理支持串行并行
适配斗鱼彩虹弹幕

* 时间分段默认值
2024-04-28 18:04:28 +00:00
XuanRan_Nyan fb82ff5a68 Webui 优化 (#903)
* 投稿模板默认转载

* 部分 Input 改为 Select

* add

* ffmpeg_segment关闭调试日志

* update
2024-04-27 15:12:52 +00:00
⁢4.435km/s 3a5d1481d0 下载功能调整 (#902)
* 下载功能调整
数据库记录正确的录制文件名
保证弹幕文件名同步录制文件名
修复下载(回放,视频)模式分段问题
修复分段后处理不可用
下载结束时等待分段后处理完成
让ffmpeg or streamlink可以同时使用按时长及大小分段
新增ffmpeg_segment分段下载模式
调整下播延迟检测
修复下载结束时间大于实际下播时间
让Twitch下载视频时可用cookie

* 使下载器正确的获取到bili_cookie_file的cookie

* 使streamlink下载器使用预设header

* 调整stream-gears最低版本

* 指定Youtube默认后戳

* 使streamlink在处理flv时正确的回退到ffmpeg

* 让弹幕在无实际内容时不写入文件

* 检测到suffix不存在时默认为flv

* 使Twitch下载回放时正确的记录已下载

* 更新文档

* 避免小概率文件名重复

* 下载模式跳过下播延迟检测

* 修复Twitch下载模式Cookie

* Revert "检测到suffix不存在时默认为flv"

This reverts commit be43ee7e7f48d6826c8e46af7abbf8ef2e62be17.
2024-04-27 14:51:05 +00:00
ForgQi d4d238e6a7 add login by qrcode 2024-04-24 01:10:33 +08:00
ikun1993 5b951bbf55 Update cookie.tsx (#889)
twitch获取cookie命令有误
2024-04-22 11:53:22 +00:00
ForgQi 4940fceec6 Bumping version 2024-04-17 01:06:07 +08:00
XuanRan_Nyanand4.435km/s 57aed0c937 适配 Twitcasting.TV (#874)
* 适配 Twitcasting.TV

* 适配Twitcasting含有密码的房间

* 为twitcasting添加配置
调整部分配置说明

* 调整stream_gears后戳判定

* 清理调试代码

---------

Co-authored-by: 4.435km/s <54017765+CoolZxp@users.noreply.github.com>
2024-04-16 15:00:18 +00:00
Monine Melolaris 2cfdf8db03 Fix:日志格式以及丢失问题 (#864)
* 录播管理页面卡片样式优化

修复:
直播间标题过长导致上方状态标识、下方按钮消失的问题;
部分浏览器页面宽度下,按钮溢出边框的问题。
调整:
将状态标识按钮调整为与旧版一致。

* Fix:日志格式以及丢失问题

修复因缺失 handlers 参数而导致日志格式丢失,以及无法获取DEBUG以外等级日志的问题。
原理:OnChange属性中调用api添加参数,若之前受到过此bug影响,可尝试切换至其他日志等级。保存后将自动修复。
2024-04-10 15:06:06 +00:00
XuanRan_Nyan 37108828c3 调整功能 (#860)
* 调整功能

* 修正错误的健康检查

* 文件列表黑名单

* "/bili/space/myinfo"接口错误信息优化

* 在 302 之前替换

* 日志编码指定utf-8

* 在 Tags 处支持 {streamer}
2024-04-10 15:04:45 +00:00
XuanRan_Nyan 1aa71b61e8 添加 kuaishou_cookie 格式说明,尝试回避快手风控 (#855)
* 添加 kuaishou_cookie 格式说明,回避快手风控

* clear
2024-04-06 13:53:05 +00:00
XuanRan_Nyan f11dbc59a7 [Fix] Style errors and missing Title (#841)
* Fix wrong printing

* Formatting log

* [Fix] Style errors and missing Title

* 更名

* 错误的 is_check 时机

* 登录校验失败时不再移除 Cookie
2024-03-20 16:01:22 +00:00
ForgQi 9344ab750a Bumping version 2024-03-18 02:08:06 +08:00
XuanRan_Nyan 3062d84621 一些更新 (#837)
* 一些更新

* 支持虎牙CDN回退

* 清理调试代码

* 合并前端修改

* 适配快手API更改

* 推迟 twitcasting,更新 Bililive

* 修正错误的变量名

* Resolve

* 遗漏
2024-03-17 14:08:37 +00:00