Skip to content

Commit a6e0909

Browse files
committed
Update renderer.ts to import and register SimpMusicLyrics provider
1 parent a8dee67 commit a6e0909

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
import { ProviderNames } from './index';
2-
import { YTMusic } from './YTMusic';
3-
import { LRCLib } from './LRCLib';
4-
import { MusixMatch } from './MusixMatch';
5-
import { LyricsGenius } from './LyricsGenius';
1+
import { SimpMusicLyrics } from 'simp-music-lyrics';
62

7-
export const providers = {
8-
[ProviderNames.YTMusic]: new YTMusic(),
9-
[ProviderNames.LRCLib]: new LRCLib(),
10-
[ProviderNames.MusixMatch]: new MusixMatch(),
11-
[ProviderNames.LyricsGenius]: new LyricsGenius(),
12-
// [ProviderNames.Megalobiz]: new Megalobiz(), // Disabled because it is too unstable and slow
13-
} as const;
3+
// Register the SimpMusicLyrics provider
4+
const provider = new SimpMusicLyrics();
5+
provider.register();

0 commit comments

Comments
 (0)