tvbox兼容emby

This commit is contained in:
mtvpls
2026-01-03 22:21:08 +08:00
parent 6d046aea0a
commit ba8528c12e
8 changed files with 200 additions and 21 deletions
+2 -2
View File
@@ -90,8 +90,8 @@ const MobileBottomNav = ({ activePath }: MobileBottomNavProps) => {
},
];
// 如果配置了 OpenList,添加私人影库入口
if (runtimeConfig?.OPENLIST_ENABLED) {
// 如果配置了 OpenList 或 Emby,添加私人影库入口
if (runtimeConfig?.PRIVATE_LIBRARY_ENABLED) {
items.push({
icon: FolderOpen,
label: '私人影库',
+2 -2
View File
@@ -181,8 +181,8 @@ const Sidebar = ({ onToggle, activePath = '/' }: SidebarProps) => {
},
];
// 如果配置了 OpenList,添加私人影库入口
if (runtimeConfig?.OPENLIST_ENABLED) {
// 如果配置了 OpenList 或 Emby,添加私人影库入口
if (runtimeConfig?.PRIVATE_LIBRARY_ENABLED) {
items.push({
icon: FolderOpen,
label: '私人影库',