Skip to content

Re-design the behavior of noTunes and explain how noTunes works #63

@fuweichin

Description

@fuweichin

Assuming that in macOS, when PlayPause key pressed and no media session exists then a default behavior (open Apple Music) will be triggered.

Actual Result:
Current behavior of noTunes (I have figured out) is: monitor Apple Music process, if necessary then quit Apple Music.

Expected Result:

While the behavior I expected is: monitor system check if any media sessions 1 exist, when there is no media session then create a dummy media session which will be pure audio, absolute silent, and short in duration. Such that when PlayPause key pressed and no other media session exists, the dummy media session may be triggered without triggering default behavior (open Apple Music).

Note: all above are just assumptions/concepts, verification and feasibility check are needed.

Footnotes

  1. except the dummy media session created by noTunes itself

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions