lordmauve/pgzero

music.is_playing() appears to require an argument

オープン

#289 opened on 2022/03/28

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (211 件のフォーク)batch import
buggood first issue

Repository metrics

Stars
 (608 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド