[bug?] IviewAdditionalTypes doesn't work for all extensions

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

[bug?] IviewAdditionalTypes doesn't work for all extensions

Post by *DrShark »

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is not a bug. IviewAdditionalTypes is just for ADDITIONAL file types not detected internally. Files which do not have a valid header for that file type will not be passed to Irfanview.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

How about some solution for problems alike form above link?
I think, TC should allow user to change something of this:
1) default lister supported file types (enable/disable them by extension);
2) possibility to add new header (hex string) for recognizing default supported formats;
As I understsnd, Lister in now checking header if file has supported extension.
3) allow to change priority between internal supported formats, IviewAdditionalTypes and plugins (like this implemented in Universal Viewer by Alextp);
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will try to find a solution, thanks for your suggestion.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2DrShark
Should be fixed now, please test!
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Works fine for me in TC 7.01.

DrShark, do you agree?
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Yes, it works!
I created this parameter for test:
IviewAdditionalTypes=*.jpg *.swf *.dxf *.djvu
Only *.swf wasn't shown. Maybe the reason is that this IrfanView plugin creates it's own window for player...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed you can only show image formats where irfanview converts the file to a bitmap and then displays it. It can then also send that image to Lister. SWF isn't a single image, it's more like a video...
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

How TC/Lister detect what format is a picture and what is movie/music/etc? I mean... IrfanView supports a lot of formats... and often some new formats with new versions!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It doesn't - if you use IViewAdditionalTypes, TC passes the file to Irfanview, and if it gets back a bmp, it displays it. So it all depends on Irfanview (or Xnview) whether you will get an image back or not.
Author of Total Commander
https://www.ghisler.com
crespowu
New Member
New Member
Posts: 1
Joined: 2008-01-23, 07:14 UTC
Contact:

Post by *crespowu »

The bug is fixed now.Thanks for your effort.
Post Reply