From 7457cb11393677f3586b6bb93bef7020a175dbb1 Mon Sep 17 00:00:00 2001 From: Zhe Fang Date: Sun, 11 Jan 2026 22:36:36 -0500 Subject: [PATCH] Change interface from ILyricsProvider to ILyricsSearchPlugin Updated interface implementation reference from ILyricsProvider to ILyricsSearchPlugin. --- docs/PLUGIN_DEV.CN.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/PLUGIN_DEV.CN.md b/docs/PLUGIN_DEV.CN.md index 24b0665..71e67f9 100644 --- a/docs/PLUGIN_DEV.CN.md +++ b/docs/PLUGIN_DEV.CN.md @@ -96,7 +96,7 @@ * **如果是私有库**(如 `MeCab`):脚本检测到主程序没有,会将其保留在你的插件目录里。 ### 2. 实现接口 -在代码中实现 `BetterLyrics.Core` 提供的接口(例如 `ILyricsProvider`)。 +在代码中实现 `BetterLyrics.Core` 提供的接口(例如 `ILyricsSearchPlugin`)。 ```csharp using BetterLyrics.Core; @@ -117,7 +117,6 @@ public class MyLyricsSearchPlugin : ILyricsSearchPlugin { // Do something if necessary ... // string? pluginPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); - // Do something if necessary ... } public async Task GetLyricsAsync(string title, string artist, string album, double duration)