Lister doesn't load our plugin for certain images

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Lister doesn't load our plugin for certain images

Post by *ctiberg »

Having solved the DetectString length problem by limiting the extensions that get registered (and thus limiting the use of the plugin), we promptly ran into the next problem.

For some images - BMP,WMF,ICO as far as we know to date - Lister doesn't even try to load our plugin. The image is just displayed in the normal Lister, which might be fine if we hadn't added some features that go beyond just displaying the image. These features are now not available, because our plugin isn't even loaded.

Does anyone know if it's supposed to work this way? Are there any way to sidestep it, perhaps with some configuration of the Lister?
Best regards,
Christian Tiberg
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Try TC 6.0 - it has a new mechanism to detect multimedia plugins. The string MULTIMEDIA must be present in the detect string. Here is the new description of this string:

This detect string is special: It is always TRUE (also in older TC versions). If it is present in the string, this plugin overrides internal multimedia viewers in TC. If not, the internal viewers are used. Check the example below!

MULTIMEDIA & (EXT="WAV" | EXT="MP3")

Important: MULTIMEDIA is always true, even in TC 5.5x, so you need to AND it with the rest of the string, not OR it!
Author of Total Commander
https://www.ghisler.com
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

ghisler(Author) wrote:Try TC 6.0 - it has a new mechanism to detect multimedia plugins. The string MULTIMEDIA must be present in the detect string. Here is the new description of this string:
Yeah, we'll of course try that - we hadn't noticed that it was released :) We also hope that you'll now have time to review our plugins :) The URL's we sent to you are old, but you can find the current ones in the forum :)
Best regards,
Christian Tiberg
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Could you please e-mail them again? Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply