Fix message handler registration and advanced README example
This commit is contained in:
parent
cb0cfd07c9
commit
e52a9545f7
2 changed files with 2 additions and 3 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue