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

Save in Log File? #3

Closed
gelsas opened this issue Mar 2, 2022 · 2 comments
Closed

Save in Log File? #3

gelsas opened this issue Mar 2, 2022 · 2 comments

Comments

@gelsas
Copy link

gelsas commented Mar 2, 2022

Hi is it possible to save the output in a logfile?

When using this script when I am connected via Putty to my Server then it generates the whole info but I can not scroll fully up anymore to see the info for all shows.

Would love to be able to just add something like this to the command: --logfile /location/folder/intro-detection-info.log

@gelsas
Copy link
Author

gelsas commented Mar 2, 2022

I tried it like this:
./intro-detection-info http://DOMAIN:32400/ TOKEN > introinfo.log

But the result is like this and sadly not really readable:

+--------------------------------+--------+----------+--------------------------------+
| SHOW | SEASON | DETECTED | COMMENT |
+--------------------------------+--------+----------+--------------------------------+
| Show 1 | 1 | �[0;33mPartial�[0m | Episodes 1, 10, 11 and 13 do |

@jyggen
Copy link
Owner

jyggen commented Mar 3, 2022

I've released a new version that allows you to run the application with --colors=false. There's also --format=csv to get a more machine-friendly output.

@jyggen jyggen closed this as completed Mar 3, 2022
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

No branches or pull requests

2 participants