Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
spezifisch committed Oct 25, 2023
1 parent 920c903 commit c2bb343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpv/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (p *Player) GetPlayingTrack() (QueueItem, error) {
return QueueItem{}, errors.New("not playing")
}

if len(p.queue) > 0 { // TODO mutex queue access
if len(p.queue) == 0 { // TODO mutex queue access
return QueueItem{}, errors.New("queue empty")
}
currentSong := p.queue[0]
Expand Down

0 comments on commit c2bb343

Please sign in to comment.