Fix message handler registration and advanced README example

This commit is contained in:
jaseg 2017-07-13 00:37:25 +02:00
parent cb0cfd07c9
commit e52a9545f7
2 changed files with 2 additions and 3 deletions

View file

@ -78,7 +78,7 @@ Advanced Usage
def time_observer(_name, value):
# Here, _value is either None if nothing is playing or a float containing
# fractional seconds since the beginning of the file.
print('Now playing at {:.2f}s'.format(value)))
print('Now playing at {:.2f}s'.format(value))
player.fullscreen = True
player.loop = 'inf'