lordmauve/pgzero

music.is_playing() appears to require an argument

Open

#289 建立於 2022年3月28日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (185 fork)batch import
buggood first issue

倉庫指標

Star
 (472 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南