mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 19:01:47 +00:00
32 lines
849 B
TypeScript
32 lines
849 B
TypeScript
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,
|
|
} satisfies SyncedLyricsPluginConfig as SyncedLyricsPluginConfig,
|
|
|
|
menu,
|
|
renderer,
|
|
backend,
|
|
stylesheets: [style],
|
|
});
|