[PR #507] [MERGED] feat: 优化启用 TTML 选项的逻辑 #490

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

📋 Pull Request Information

Original PR: https://github.com/imsyy/SPlayer/pull/507
Author: @MoYingJi
Created: 10/22/2025
Status: Merged
Merged: 10/23/2025
Merged by: @imsyy

Base: devHead: feat


📝 Commits (1)

  • d257a44 feat: 优化启用 TTML 选项的逻辑

📊 Changes

3 files changed (+6 additions, -6 deletions)

View changed files

📝 src/components/Setting/LyricsSetting.vue (+2 -2)
📝 src/stores/setting.ts (+1 -1)
📝 src/utils/player-utils/lyric.ts (+3 -3)

📄 Description

原先的逻辑不太统一,一边受选项控制,一边不受选项控制

现在将所有的本地 TTML 加载都改为不受选项控制,只要本地文件存在则始终启用,且将设置项「启用 TTML 歌词」更名为「启用在线 TTML 歌词」


🔄 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/507 **Author:** [@MoYingJi](https://github.com/MoYingJi) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/23/2025 **Merged by:** [@imsyy](https://github.com/imsyy) **Base:** `dev` ← **Head:** `feat` --- ### 📝 Commits (1) - [`d257a44`](https://github.com/imsyy/SPlayer/commit/d257a441c2a02c9b7f54c324a59c8465ef3c1b17) feat: 优化启用 TTML 选项的逻辑 ### 📊 Changes **3 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/components/Setting/LyricsSetting.vue` (+2 -2) 📝 `src/stores/setting.ts` (+1 -1) 📝 `src/utils/player-utils/lyric.ts` (+3 -3) </details> ### 📄 Description 原先的逻辑不太统一,一边受选项控制,一边不受选项控制 现在将所有的本地 TTML 加载都改为不受选项控制,只要本地文件存在则始终启用,且将设置项「启用 TTML 歌词」更名为「启用在线 TTML 歌词」 --- <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:03 +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#490
No description provided.