File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2626 <PlatformTarget >AnyCPU</PlatformTarget >
2727 <DebugType >pdbonly</DebugType >
2828 <Optimize >true</Optimize >
29- <OutputPath >bin\ Release\</OutputPath >
29+ <OutputPath >..\Sync\ Release\Plugins \</OutputPath >
3030 <DefineConstants >TRACE</DefineConstants >
3131 <ErrorReport >prompt</ErrorReport >
3232 <WarningLevel >4</WarningLevel >
Original file line number Diff line number Diff line change 1414
1515namespace LyricDisplayerPlugin
1616{
17-
18- [ SyncRequirePlugin ( typeof ( OsuLiveStatusPanelPlugin ) , typeof ( OsuRTDataProviderPlugin ) ) ]
17+ [ SyncRequirePlugin ( typeof ( OsuLiveStatusPanelPlugin ) , typeof ( OsuRTDataProviderPlugin ) ) ]
1918 public class LyricDisplayerPlugins : Plugin , IConfigurable
2019 {
2120 public ConfigurationElement LyricsSource { get ; set ; } = "auto" ;
@@ -294,8 +293,8 @@ private Lyrics GetLyric()
294293 }
295294
296295 //获取基本数据
297- string artist = olsp_plugin . GetData ( "artist_avaliable" ) ;
298- string title = olsp_plugin . GetData ( "title_avaliable" ) ;
296+ string artist = olsp_plugin . GetData ( "artist_avaliable" ) . ToString ( ) ;
297+ string title = olsp_plugin . GetData ( "title_avaliable" ) . ToString ( ) ;
299298 int time = GetDurationTime ( current_osu_file_path ) ;
300299
301300 Utils . Debug ( $ "artist:{ artist } title:{ title } time:{ time } ") ;
You can’t perform that action at this time.
0 commit comments