Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of fixes for MP3 quark subprocesses #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jamshark70
Copy link

pidRunning has existed for 10 years.

isPIDRunning is gone -- "not understood."

Tested, works.

@jamshark70
Copy link
Author

Added another commit to post a warning if the subprocess crashes.

In the current development branch, SC does not post RESULT = x anymore. It's the unixCmd caller's responsibility to report problems to the user.

I know it's not directly related to the first commit, but I'm busy, and it's really complicated to separate these. I don't have time to do anything more than this.

@jamshark70 jamshark70 changed the title Replace isPIDRunning (old method) with pidRunning Couple of fixes for MP3 quark subprocesses May 19, 2018
m = MP3(...);
m.start;

m.stop;
m.stop;

Second stop posts "MP3.stop - unable to stop automatically, PID not
known" -- but it was already stopped! Should check playing status
before this.
@albertorizzo
Copy link

please commit

Copy link
Contributor

@dyfer dyfer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this was never attended to.

@jamshark70 if this is still valid, feel free to merge.

@dyfer
Copy link
Contributor

dyfer commented Jun 21, 2023

Also note, SC 3.13 includes native support for mp3. This works out of the box on macOS and Windows, but on Linux SC needs to be compiled against libsndfile >= 1.1.0 which itself was compiled with mpeg support.

@dyfer dyfer linked an issue Jun 21, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MP3.playing method throws an error
3 participants