Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
XMTTV: allow to specify arguments for grabbers, fixes #2516
- Loading branch information
Showing
2 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6b152b9There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does one specify the arguments? It's still sending --quiet and for the life of me I can't see where to change that either in the UI or on the command line.
6b152b9There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create 'tv_find_grabbers' executable which will sent this to stdout:
PRG ARG1 ARG2 ...|Grabber description
When ARG1 == '--' no arguments will be used for the executable.
6b152b9There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That might break xmltv for any other applications besides tvh one might use it with. Do you really want to tell people that they have to rewrite xmltv on their system every time someone writes in and complains they can't get a grabber to work with tvh? It would probably work better to have people who want to run --quiet rewrite their xmltv instead. That way nothing gets broken.
6b152b9There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like this ping-pong (frustrated enough to convice people that --quiet is good thing to distintct between the standard command line run and the application run). I removed --quiet - 7db9f44 which will mean another bug-reports that xmltv grabbers are noisy on stderr ....
6b152b9There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yah, it was worth a shot. Noisy xmltv grabbers is not a TVH bug. Adding --quiet would probably be a nice feature but there is no way to control which grabbers support --quiet now or in the future. To safely add it in would need new feature in UI to allow extra args to be specified or if you just want to support --quiet only then an on/off toggle in the UI.