[PR #719] [MERGED] fix(lyric): 修复 TTML 多语言翻译 #602

Closed
opened 2026-02-27 07:12:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imsyy/SPlayer/pull/719
Author: @MoYingJi
Created: 1/6/2026
Status: Merged
Merged: 1/7/2026
Merged by: @imsyy

Base: devHead: pr/p


📝 Commits (2)

  • a29869a fix(lyric): 修复 TTML 多语言翻译
  • 99084df Update src/core/player/LyricManager.ts

📊 Changes

1 file changed (+57 additions, -2 deletions)

View changed files

📝 src/core/player/LyricManager.ts (+57 -2)

📄 Description

增加 sortTTMLTranslations 函数来排序翻译(此函数包含 AI 生成部分),可能确实有些问题,但也是作为临时解决方案,应该在 AMLL 的 TTML 解析器支持多语言翻译后删除

fix #718


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/imsyy/SPlayer/pull/719 **Author:** [@MoYingJi](https://github.com/MoYingJi) **Created:** 1/6/2026 **Status:** ✅ Merged **Merged:** 1/7/2026 **Merged by:** [@imsyy](https://github.com/imsyy) **Base:** `dev` ← **Head:** `pr/p` --- ### 📝 Commits (2) - [`a29869a`](https://github.com/imsyy/SPlayer/commit/a29869aa4beffe85a3d3cda3bb8794a1898776b4) fix(lyric): 修复 TTML 多语言翻译 - [`99084df`](https://github.com/imsyy/SPlayer/commit/99084dfe79d933eaa89839a56bbc085d3052525e) Update src/core/player/LyricManager.ts ### 📊 Changes **1 file changed** (+57 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/core/player/LyricManager.ts` (+57 -2) </details> ### 📄 Description 增加 `sortTTMLTranslations` 函数来排序翻译(此函数包含 AI 生成部分),可能确实有些问题,但也是作为临时解决方案,应该在 AMLL 的 TTML 解析器支持多语言翻译后删除 fix #718 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:12:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SPlayer#602
No description provided.