lordmauve / lordmauve/pgzero

music.is_playing() appears to require an argument

Open
#289 1 comment 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
Python
Stars
611
Forks
211
PR merge metrics
No merged PRs in 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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the music.is_playing() implementation and its documentation, then compare the documented signature with the source behavior. Resolve whether the argument should be optional or identify the intended semantics, update the documentation and relevant tests, and verify that the resulting API behavior is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.