azuravian / cbz_jpg-to-webp

Convert cbz files that contain jpg images to webp images.
MIT License
11 stars 2 forks source link

run in console #5

Open dncpax opened 2 years ago

dncpax commented 2 years ago

Would be awesome if it run as console command. As it is, it does not: _tkinter.TclError: no display name and no $DISPLAY environment variable

That way it could be scripted.

azuravian commented 2 years ago

Apologies for leaving this for so long. Back and looking at cleaning this up now. Just so I understand, are you trying to run this scripted on a server with no display? If that is the case, I have a snippet I can add to fix this. If not, please explain what you are trying to do in console when you get that error?

notHiks commented 1 year ago

it would be good if you could add that feature

dncpax commented 1 year ago

Sorry for missing your comment @azuravian!!! Yes, I'm trying to run on a cli only environment. No GUI.

Thanks.

azuravian commented 1 year ago

@dncpax , Let me know if the latest commit fixed your issue.

dncpax commented 1 year ago

hey @azuravian that's great news. let me see and get back to you. I may take a bit since haven't looked into this for a while...