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
-11
View File
@@ -99,17 +99,6 @@ export async function GET(request: NextRequest) {
// 处理返回数据,替换播放链接为代理链接
const processedData = processPlayUrls(data, origin);
// 输出处理后的第一个视频的播放信息(用于调试)
if (processedData.list && processedData.list.length > 0) {
const firstItem = processedData.list[0];
console.log('第一个视频处理后的播放信息:', {
vod_name: firstItem.vod_name,
vod_play_from: firstItem.vod_play_from,
vod_play_url_length: firstItem.vod_play_url?.length || 0,
vod_play_url_preview: firstItem.vod_play_url?.substring(0, 200) || '',
});
}
return NextResponse.json(processedData, {
headers: {
'Content-Type': 'application/json; charset=utf-8',