lordmauve/pgzero

music.is_playing() appears to require an argument

Open

#289 aperta il 28 mar 2022

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (185 fork)batch import
buggood first issue

Metriche repository

Star
 (472 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi, It would appear that music.is_playing() requires an argument. The argument is not mentioned in the documentation and in the source it appears to be ignored. If the intention is to be able to ask whether a particular music file is currently playing (which would be nice seeing as though you can queue multiple files) then can I suggest the argument is optional and if not passed means ANY music file is playing.

Guida contributor