lordmauve/pgzero

music.is_playing() appears to require an argument

Open

#289 aberto em 28 de mar. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Python (185 forks)batch import
buggood first issue

Métricas do repositório

Stars
 (472 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador