lordmauve / pgzero

A zero-boilerplate games programming framework for Python 3, based on Pygame.
https://pygame-zero.readthedocs.io/
GNU Lesser General Public License v3.0
538 stars 188 forks source link

music.is_playing() appears to require an argument #289

Open steam21 opened 2 years ago

steam21 commented 2 years ago

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.

lordmauve commented 2 years ago

I think that is just a bug; it doesn't use the argument. We should remove it.