Skip to content

Commit

Permalink
Update the play OpenURI path to match casing
Browse files Browse the repository at this point in the history
* the Go pattern for casing of URI differs from the format expected by mpris,
  causing the OpenURI function not to work properly
  • Loading branch information
rmrobinson committed Oct 26, 2024
1 parent 6b3fc13 commit 5942c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
playerPlayMethod = playerInterface + ".Play"
playerSeekMethod = playerInterface + ".SeekTo"
playerSetPositionMethod = playerInterface + ".SetPosition"
playerOpenURIMethod = playerInterface + ".OpenURI"
playerOpenURIMethod = playerInterface + ".OpenUri"
playerPlaybackStatusProperty = playerInterface + ".PlaybackStatus"
playerLoopStatusProperty = playerInterface + ".LoopStatus"
playerRateProperty = playerInterface + ".Rate"
Expand Down

0 comments on commit 5942c15

Please sign in to comment.