fix mpris bug on macos
This commit is contained in:
parent
21b5e8f011
commit
771682cb78
1 changed files with 3 additions and 0 deletions
|
|
@ -201,6 +201,9 @@ func Start(ctx *context.AppContext) {
|
|||
continue
|
||||
}
|
||||
|
||||
if s.Conn == nil {
|
||||
return
|
||||
}
|
||||
p.metaData.Artist = []string{p.ctx.View.NowPlaying.Track.Artist}
|
||||
p.metaData.Title = p.ctx.View.NowPlaying.Track.Title
|
||||
props := map[string]any{
|
||||
|
|
|
|||
Loading…
Reference in a new issue