-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathindex.ts
More file actions
33 lines (29 loc) · 916 Bytes
/
index.ts
File metadata and controls
33 lines (29 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import style from './style.css?inline';
import { createPlugin } from '@/utils';
import { t } from '@/i18n';
import { menu } from './menu';
import { renderer } from './renderer';
import { backend } from './backend';
import type { SyncedLyricsPluginConfig } from './types';
export default createPlugin({
name: () => t('plugins.synced-lyrics.name'),
description: () => t('plugins.synced-lyrics.description'),
authors: ['Non0reo', 'ArjixWasTaken', 'KimJammer', 'Strvm'],
restartNeeded: true,
addedVersion: '3.5.X',
config: {
enabled: false,
preciseTiming: true,
showLyricsEvenIfInexact: true,
showTimeCodes: false,
defaultTextString: '♪',
lineEffect: 'fancy',
romanization: true,
autoSkipLanguages: '',
autoDislikeSkippedLanguages: false,
} satisfies SyncedLyricsPluginConfig as SyncedLyricsPluginConfig,
menu,
renderer,
backend,
stylesheets: [style],
});