Skip to content

Use mpg123 --remote-err, drop errorLoop thread. - #136

Merged
galenhuntington merged 1 commit into
masterfrom
remote-err
Jun 18, 2026
Merged

Use mpg123 --remote-err, drop errorLoop thread.#136
galenhuntington merged 1 commit into
masterfrom
remote-err

Conversation

@galenhuntington

Copy link
Copy Markdown
Owner

Closes #99. This is the recommended approach per that issue, and, as far as I can tell, without this option stderr is not used at all, so errorLoop wasn't doing anything. I tried commenting out the @E parsing and inducing an error (seeking in a stopped state), and nothing showed up via errorLoop. So it may have been effectively dead code.

I do worry there might still be something irregularly emitted on stderr, but I'm deferring to the documentation saying this is the right way to do it.

We no longer need the read handle at all anymore.

Finally, there was a - argument also sent to mpg123. It may have once done something (or not), but it is apparently irrelevant now.

@galenhuntington
galenhuntington merged commit 292bfd7 into master Jun 18, 2026
5 checks passed
@galenhuntington
galenhuntington deleted the remote-err branch June 18, 2026 06:31
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.

Should we use mpg123's remote-err?

1 participant