mirror of
https://github.com/imsyy/SPlayer.git
synced 2025-11-25 03:14:57 +08:00
feat(lyric): 本地歌词排除设置项
This commit is contained in:
@@ -158,7 +158,9 @@ export interface SettingState {
|
||||
/** 是否启用排除歌词 */
|
||||
enableExcludeLyrics: boolean;
|
||||
/** 「排除歌词」是否适用于 TTML */
|
||||
enableTTMLExclude: boolean;
|
||||
enableExcludeTTML: boolean;
|
||||
/** 「排除歌词」是否适用于本地歌词 */
|
||||
enableExcludeLocalLyrics: boolean;
|
||||
/** 排除歌词关键字 */
|
||||
excludeKeywords: string[];
|
||||
/** 排除歌词正则表达式 */
|
||||
@@ -223,7 +225,8 @@ export const useSettingStore = defineStore("setting", {
|
||||
lyricsScrollPosition: "start",
|
||||
lrcMousePause: false,
|
||||
enableExcludeLyrics: true,
|
||||
enableTTMLExclude: false,
|
||||
enableExcludeTTML: false,
|
||||
enableExcludeLocalLyrics: false,
|
||||
excludeKeywords: keywords,
|
||||
excludeRegexes: regexes,
|
||||
localFilesPath: [],
|
||||
|
||||
Reference in New Issue
Block a user