Page 1 of 1

[2.31] 'Recognize by extension..' for user plugins

Posted: Mon Mar 09, 2015 5:53 pm
by Arty
Hi, Pierre.

Disabling "Recognize only by extension" option doesn't work for user plugins in XnView v2.31. Could you please enable using it for user plugins? I have my own plugin for PVR files and sometimes I need to view them with different extension but I can't.

Thanks!

Re: [2.31] 'Recognize by extension..' for user plugins

Posted: Tue Mar 10, 2015 7:50 am
by xnview
new bug??

could you send me a sample file and the plugin?

Re: [2.31] 'Recognize by extension..' for user plugins

Posted: Tue Mar 10, 2015 8:05 am
by Arty
Plugin is here: http://newsgroup.xnview.com/viewtopic.php?f=35&t=27877
You can get sample pvr file from plugin archive in "test" folder. To reproduce bug: change test file extension for example from .pvr to .bytes

P.S. I think it's an old bug. Previous versions did not work as well.

Re: [2.31] 'Recognize by extension..' for user plugins

Posted: Tue Mar 10, 2015 12:21 pm
by xnview
Arty wrote:Plugin is here: http://newsgroup.xnview.com/viewtopic.php?f=35&t=27877
You can get sample pvr file from plugin archive in "test" folder. To reproduce bug: change test file extension for example from .pvr to .bytes

P.S. I think it's an old bug. Previous versions did not work as well.
yes xnview use always extension for user plugin.
could you rebuild the plugin, and modify extension for "pvr;*"?

Re: [2.31] 'Recognize by extension..' for user plugins

Posted: Tue Mar 10, 2015 1:11 pm
by Arty
I've already try this. But it looks like XnView get plugin supported extension from plugin dll name! It don't use information from gfpGetPluginInfo().

Re: [2.31] 'Recognize by extension..' for user plugins

Posted: Tue Mar 10, 2015 2:28 pm
by xnview
Arty wrote:I've already try this. But it looks like XnView get plugin supported extension from plugin dll name! It don't use information from gfpGetPluginInfo().
please send me it?

Re: [2.31] 'Recognize by extension..' for user plugins

Posted: Tue Mar 10, 2015 2:40 pm
by Arty
Here is it https://dl.dropboxusercontent.com/u/37559409/xpvr.usr
It return "pvr;*" in extension parameter for gfpGetPluginInfo()

Re: [2.31] 'Recognize by extension..' for user plugins

Posted: Wed Mar 11, 2015 8:02 am
by xnview
ok, will be added in next version