hzeller / timg

A terminal image and video viewer.
GNU General Public License v2.0
1.91k stars 73 forks source link

ipv4 vs. ipv6 #108

Closed Combowombo closed 4 months ago

Combowombo commented 1 year ago

is there a way to force use ipv4? there must be some bug in my archlinux that's defaulting to ipv6 and its making my connections time out. Or, which service does timg use to pull the image from a url?

hzeller commented 1 year ago

Image loading from an URL is delegated to ImageMagick inside timg, so I don't really know an answer to that question. Maybe ImageMagick needs to be compiled with IPv6 support ?

hzeller commented 1 year ago

If ImageMagick can't read the URL, maybe using the video subsystem can help, it also has URL support built-in usually

You can tell timg to just use the video subsystem using the -V option (of course, it needs to be compiled in, but if you use the default cmake settings, it is included)

timg -V https://....
Combowombo commented 1 year ago

okay thanks, I'll look into this!

hzeller commented 1 year ago

Did it work ?

Combowombo commented 4 months ago

i don't think it worked or it may be missing something. i might try a different solution or go without images. Thanks though!