-[8.50b7] WLX plugin doesn't work for some file extensions

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
taohe
Junior Member
Junior Member
Posts: 47
Joined: 2004-12-26, 06:57 UTC

-[8.50b7] WLX plugin doesn't work for some file extensions

Post by *taohe »

Hi,

I have been using a private WLX plugin for MPlayer/MPlaer2/MPV to watch multi-media files. The "ListGetDetectString" returns a string defined as follows:
#define parsefunction "MULTIMEDIA & (ext=\"MPG\" | ext=\"AVI\" | ext=\"WMV\" | ext=\"RM\" | ext=\"RMVB\" | ext=\"3GP\" | ext=\"MP4\" | ext=\"MP3\" | ext=\"MOV\")"
It used to work properly with files of those extensions before TC 8.5. But recently, probably starting from TC 8.5beta1 to TC 8.5Beta7, if I press "F3" on "MP4" and "MKV" files, they are loaded into TC's Lister window as a kind of normal files. I have to press "4" then the files will be loaded by my WLX plugin. Other file types like "AVI", "WMV" work as expected with the plugin in TC 8.5 beta7.

I am using TC x64 on a Win8.1 x64.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, nothing was changed in this function. Try moving you plugin to the first plugin position in the list in Configuration - Options - Plugins - Lister plugins (with Drag&Drop).
Author of Total Commander
https://www.ghisler.com
taohe
Junior Member
Junior Member
Posts: 47
Joined: 2004-12-26, 06:57 UTC

Post by *taohe »

It's the first one in the list of wlx plugins in the list. Actually I only have two wlx plugins installed at the moment.

I use this plugin quilt a lot every day. Now it doesn't work properly with TC 8.5 for mp4 and mkv files. It's really annoying.

If it's attributed to the plugin, what could be the reason for it? The code has already been upgraded to the latest WLX APIs and it supports UNICODE.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are you sure that your plugin gets loaded at all? Can you try to debug your plugin with TC as the host program?
Author of Total Commander
https://www.ghisler.com
taohe
Junior Member
Junior Member
Posts: 47
Joined: 2004-12-26, 06:57 UTC

Post by *taohe »

I found it! My plugin is always loaded. But there is an issue when checking the file extension which is incomplete probably something went wrong when I upgraded to the latest wlx apis.

It works properly now. Thank you for your time.
Post Reply