upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,29 @@
|
||||
using System.Threading;
|
||||
|
||||
namespace VibranceHud.Music;
|
||||
|
||||
internal interface INowPlayingSource
|
||||
{
|
||||
bool NeedsWorker => false;
|
||||
|
||||
NowPlaying? Read()
|
||||
{
|
||||
return NowPlaying.FromSpotifyTitle(SpotifyWindowTitle());
|
||||
}
|
||||
|
||||
NowPlaying? Read(CancellationToken cancellation)
|
||||
{
|
||||
cancellation.ThrowIfCancellationRequested();
|
||||
return Read();
|
||||
}
|
||||
|
||||
bool TryCommand(MediaKey key)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
string? SpotifyWindowTitle()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user