File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# LycheeLib
2+ ⌈R0.11⌋
3+
24这是一个用于歌词接口提供的前置插件
35
6+ 目前支持LyricsIsland协议(BetterNCM/SimMusic) 和 LXMusic协议
7+
48* 暂时没有插件使用本前置*
59
610* (ExtraIsland将在下个版本将其作为对于歌词功能的可选前置)*
711
8- 如果您是插件开发者,推荐您等到下一个版本再行开发,届时接口将会发生些许变动.
9-
10- 如果您实在想要尝试本前置,请为您的项目引入Nuget包 [ LycheeLib.Interface] ( https://www.nuget.org/packages/LycheeLib.Interface/ )
12+ 如果您想要尝试本前置,请为您的项目引入Nuget包 [ LycheeLib.Interface] ( https://www.nuget.org/packages/LycheeLib.Interface/ )
1113
1214完成后,在插件入口使用以下代码来进行初始化
1315``` csharp
@@ -20,13 +22,15 @@ public class Plugin : PluginBase
2022{
2123 public override void Initialize (HostBuilderContext context ,IServiceCollection services )
2224 {
25+ // ...
2326 AppBase .Current .AppStarted += (_ , _ ) => {
2427 Rendezvous .Load (IAppHost .GetService <ILycheeLyrics >());
2528 };
29+ // ...
2630 }
2731}
2832```
29- 完成后,您可以使用 ` Rendezvous ` 静态类进行歌词操作
33+ 您可以在程序各处使用 ` Rendezvous ` 静态类进行歌词操作
3034
3135该类的核心为事件 ` Rendezvous.OnLyricsChanged ` ,其传出一个 ` List<string> ` 参数
3236
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: LycheeLib
33description : 为ClassIsland插件提供统一的歌词接口
44entranceAssembly : " LycheeLib.Island.dll"
55url : https://github.com/LiPolymer/LycheeLib
6- version : 0.1.0 .0
6+ version : 0.1.1 .0
77apiVersion : 1.6.0
88author : LiPolymer
99repoOwner : LiPolymer
Original file line number Diff line number Diff line change 11# LycheeLib
22这是一个用于歌词接口提供的前置插件
33
4+ 目前支持LyricsIsland协议(BetterNCM/SimMusic) 和 LXMusic协议
5+
46_ 暂时没有插件使用本前置_
57
68_ (ExtraIsland将在下个版本将其作为对于歌词功能的** 可选** 前置)_
79
8- 如果您是插件开发者,推荐您等到下一个版本再行开发,届时接口将会发生些许变动.
9-
10- 如果您实在想要尝试本前置,请为您的项目引入Nuget包 [ ` LycheeLib.Interface ` ] ( https://www.nuget.org/packages/LycheeLib.Interface/ )
10+ 如果您想要尝试本前置,请为您的项目引入Nuget包 [ LycheeLib.Interface] ( https://www.nuget.org/packages/LycheeLib.Interface/ )
1111
1212完成后,在插件入口使用以下代码来进行初始化
1313``` csharp
@@ -20,13 +20,15 @@ public class Plugin : PluginBase
2020{
2121 public override void Initialize (HostBuilderContext context ,IServiceCollection services )
2222 {
23+ // ...
2324 AppBase .Current .AppStarted += (_ , _ ) => {
2425 Rendezvous .Load (IAppHost .GetService <ILycheeLyrics >());
2526 };
27+ // ...
2628 }
2729}
2830```
29- 完成后,您可以使用 ` Rendezvous ` 静态类进行歌词操作
31+ 您可以在程序各处使用 ` Rendezvous ` 静态类进行歌词操作
3032
3133该类的核心为事件 ` Rendezvous.OnLyricsChanged ` ,其传出一个 ` List<string> ` 参数
3234
You can’t perform that action at this time.
0 commit comments