I'm running the 'playerGUI.py' (at https://github.com/mjbrusso/AudioPlayer/blob/master/example/playerGUI.py).
I will not including the whole script here, but only the part in which the error is produced
`
def tooglepause():
global player, paused
if not player is None:
if paused:
player.resume()
else:
player.pause()
print(player.state) # <<< I have added this check
paused = not paused
print(player.state) # <<< I have added this check
paused = not paused
`
When player.state is excuted, it produces "AttributeError: 'AudioPlayerWindows' object has no attribute 'state'".
According to the documentation, it is suppoesed to show the current playing state (playing, stopped, paused, ...)
What is the problem here?
`
I'm running the 'playerGUI.py' (at https://github.com/mjbrusso/AudioPlayer/blob/master/example/playerGUI.py).
I will not including the whole script here, but only the part in which the error is produced
`
`
When
player.stateis excuted, it produces "AttributeError: 'AudioPlayerWindows' object has no attribute 'state'".According to the documentation, it is suppoesed to show the current playing state (playing, stopped, paused, ...)
What is the problem here?
`