Closed Asteriskx closed 1 year ago
以下で初回の CurrentlyPlaying を取得 https://github.com/Sagiri-Dev/Sagiri/blob/feature-misskey-nowplaying/Sagiri/Services/Spotify/SpotifyService.cs#L77
以降は1s毎にポーリング実施しているが、 "再生中のみ" しか CurrentlyPlaying
を更新しないので、
停止→再生を行ったときは、CurrentlyPlaying
が 更新されなくなってしまう。
取り急ぎは、ポーリング部分の Observer 処理を見直す必要あり。 https://github.com/Sagiri-Dev/Sagiri/blob/feature-misskey-nowplaying/Sagiri/Services/Spotify/SpotifyService.cs#L90-L97
停止しているときも CurrentlyPlaying を監視する。
v1.2.0 で WPF 化もして、1件不具合も Fix 予定なので、そこに突っ込む
大元の SpotifyAPI-NET 側というか、Spotify API の作り的な問題っぽい?