mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-30 03:36:37 +08:00
feat: Emby 远程挂载(联邦聚合)功能 beta
- 新增 emby_remote 提供方:通过 STRM 账号体系配置远程 Emby 地址/用户名/密码
- EmbyService 聚合远程媒体库 Views/Items/详情/最近添加/全局搜索,远程数据不落库
- 条目 ID 统一伪装为 embyremote~{account}~{id},请求按账号路由回远程
- 播放支持账号级 proxy_play 配置:默认客户端直连远程;开启后由 MMTL 反向代理流/字幕
- 图片/元数据全部实时透传远程,播放状态(已看/收藏)透传回远程 Emby
- cloud 包新增 emby Provider(Ping/List/Resolve),账号测试/目录浏览自动生效
- 前端 STRM 页面支持 Emby 远程挂载账号(地址+凭据+代理开关)
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
// STRM 管理相关类型定义(与后端 internal/model/strm.go 对应)。
|
||||
export type StrmProvider = 'cloud115' | 'clouddrive2' | 'openlist' | 'local'
|
||||
export type StrmProvider = 'cloud115' | 'clouddrive2' | 'openlist' | 'local' | 'emby_remote'
|
||||
|
||||
export const STRM_PROVIDER_LABELS: Record<StrmProvider, string> = {
|
||||
cloud115: '115 网盘',
|
||||
clouddrive2: 'CloudDrive2',
|
||||
openlist: 'OpenList',
|
||||
local: '本地目录',
|
||||
emby_remote: 'Emby 远程挂载',
|
||||
}
|
||||
|
||||
export interface StrmAccount {
|
||||
|
||||
Reference in New Issue
Block a user