[PR #548] [MERGED] fix(ttml): 行结束时间过早 #500

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

📋 Pull Request Information

Original PR: https://github.com/imsyy/SPlayer/pull/548
Author: @MoYingJi
Created: 11/11/2025
Status: Merged
Merged: 11/11/2025
Merged by: @imsyy

Base: devHead: fix-ttml


📝 Commits (1)

  • 1744a5a fix(ttml): 行结束时间过早

📊 Changes

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

View changed files

📝 src/utils/lyric.ts (+2 -2)

📄 Description

TTML 有时会为了触发一些效果(比如和下一行连起来)而故意延后行的结束时间(同时词的结束时间不变)

parseTTMLToAMLL 直接忽略了行的开始结束时间而采用词的开始结束时间,会导致和其他播放器的显示不一致


🔄 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/548 **Author:** [@MoYingJi](https://github.com/MoYingJi) **Created:** 11/11/2025 **Status:** ✅ Merged **Merged:** 11/11/2025 **Merged by:** [@imsyy](https://github.com/imsyy) **Base:** `dev` ← **Head:** `fix-ttml` --- ### 📝 Commits (1) - [`1744a5a`](https://github.com/imsyy/SPlayer/commit/1744a5a67892cf854fee6d453932a0f29e66fccb) fix(ttml): 行结束时间过早 ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/utils/lyric.ts` (+2 -2) </details> ### 📄 Description TTML 有时会为了触发一些效果(比如和下一行连起来)而故意延后行的结束时间(同时词的结束时间不变) `parseTTMLToAMLL` 直接忽略了行的开始结束时间而采用词的开始结束时间,会导致和其他播放器的显示不一致 --- <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:05 +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#500
No description provided.