Skip to content

Commit

Permalink
try to fix macos get property
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceZhang1993 committed Feb 7, 2024
1 parent a1fb454 commit b1b01e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aionowplaying/interface/macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_playback_property(self, name: PlaybackPropertyName) -> Any:
if name == PlaybackPropertyName.Position:
return self._get_property(MPNowPlayingInfoPropertyElapsedPlaybackTime)
if name == PlaybackPropertyName.Rate:
return self._get_property(MPNowPlayingInfoPropertyDefaultPlaybackRate)
return self._get_property(MPNowPlayingInfoPropertyPlaybackRate)

def set_playback_property(self, name: PlaybackPropertyName, value: Any):
if name == PlaybackPropertyName.Metadata:
Expand Down

0 comments on commit b1b01e7

Please sign in to comment.