Skip to content

Conversation

@sudoAlphaX
Copy link

Pull Request Template

Description

Send informations like "Checking dependencies", "Playing Episode n", etc
to stderr so it can be routed easily to /dev/null if needed.

Clear screen using tput clear only if player_function is not dump or
download so debug/download statuses are preserved.

Send informations like "Checking dependencies", "Playing Episode n", etc
to stderr so it can be routed easily to /dev/null if needed.

Clear screen using tput clear only if player_function is not dump or
download so debug/download statuses are preserved.
@sudoAlphaX sudoAlphaX requested a review from Derisis13 as a code owner July 15, 2025 08:25
@Derisis13
Copy link
Collaborator

I like the tput part, not sure about the stderr... Is it common to print info messages to stderr?
Also, may we know what the main purpose of this change is?

@sudoAlphaX
Copy link
Author

The main purpose of this patch is:

  1. I wanted to view the errors of previous downloads
  2. I wanted to dump the direct download links so i can download them later/using another tools.

@sudoAlphaX
Copy link
Author

Hmm. Maybe routing info messages to stderr is not a good idea. Shall i revert that?

@port19x
Copy link
Collaborator

port19x commented Jul 25, 2025

I mean I guess you don't really violate any rules by writing to stderr, but I don't see a point either, as for debugging we advise sh -x
https://pubs.opengroup.org/onlinepubs/9699919799/

Closing this because I don't see any point

@port19x port19x closed this Jul 25, 2025
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.

3 participants