feat: romaji plugin (without dict)

This commit is contained in:
Zhe Fang
2026-01-10 18:07:57 -05:00
parent fea7367671
commit d042993eb7
53 changed files with 2391 additions and 299 deletions

View File

@@ -5,12 +5,8 @@ using System.Text;
namespace BetterLyrics.Core.Interfaces
{
public interface ILyricsProvider
public interface ILyricsSearchPlugin : IPlugin
{
string Id { get; }
string Name { get; }
string Author { get; }
Task<LyricsSearchResult> GetLyricsAsync(string title, string artist, string album, double duration);
}
}

View File

@@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace BetterLyrics.Core.Interfaces
{
public interface ILyricsTransliterationPlugin : IPlugin
{
Task<string?> GetTransliterationAsync(string text, string targetLangCode);
}
}

View File

@@ -0,0 +1,17 @@
using BetterLyrics.Core.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace BetterLyrics.Core.Interfaces
{
public interface IPlugin
{
string Id { get; }
string Name { get; }
string Description { get; }
string Author { get; }
void Initialize();
}
}