Ann: id3, exif content plugins and plugin guide released

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

Moderators: Hacker, petermad, Stefan2, white

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

Ann: id3, exif content plugins and plugin guide released

Post by *ghisler(Author) »

The following is now available on:
http://www.ghisler.com/plugins.htm#content

id3: A small plugin to show mp3-id3 v1 tags.
exif: Show photo camera information from JPG and Canon RAW image files
Plugin writer's guide: HELP file and headers to write content plugins
Sample plugin: Plugin similar to Total Commander's internal content plugin
Author of Total Commander
https://www.ghisler.com
chrabros
Junior Member
Junior Member
Posts: 19
Joined: 2004-08-16, 11:43 UTC
Location: Prague, Czech Republic

Wrong link

Post by *chrabros »

Hello,
the link to the source code of wdx_exif is wrong.
It should point to https://plugins.ghisler.com/content/wdx_exif_src.zip

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

Post by *ghisler(Author) »

Fixed it, thanks!
Author of Total Commander
https://www.ghisler.com
titanium
Junior Member
Junior Member
Posts: 51
Joined: 2003-11-07, 10:37 UTC
Location: Israel

Small Problem with installing EXIF plug-in

Post by *titanium »

When I click the zip file I am asked to confirm the installation. After the confirmation I'm asked to enter the path to which to install the plug-in. If you chose a folder other than the default one presented TC will freeze for a few seconds (even a minute in one case). The first times I had to kill TC because I though it was completely stuck. :( Did anyone else experienced such a problem ?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This shouldn't happen - what folder did you specify?

Edit: If you specify a directory like c:\wdx\<pluginname>, TC will search the entire C: drive for other plugins - which will take a while! I will try to find a workaround.
Author of Total Commander
https://www.ghisler.com
titanium
Junior Member
Junior Member
Posts: 51
Joined: 2003-11-07, 10:37 UTC
Location: Israel

Post by *titanium »

I tried installing it in various folders. First I tried to my general plugin folder (C:\totalcmd\plugins) and it got stuck for a minute. Next I tried the default path and it worked perfectly. I uninstalled it and tried to install it in various places like c:\totalcmd\exif ; c:\exif etc. Almost all reproduced the problem.

I have now encountered a new thing. The default location' the installation procedure suggest, is changing with each intallation and refers somehow to the last installation path (but not exactly the same path... strange . :? .
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

I have now encountered a new thing. The default location' the installation procedure suggest, is changing with each intallation and refers somehow to the last installation path (but not exactly the same path... strange .
That's probably a feature you encountered. If you install your first plugin to c:\progs\TC\plugins\name_of_first_plugin\ then upon installing your second plugin TC should suggest a path like c:\progs\TC\plugins\name_of_second_plugin\ - ie TC takes "c:\progs\TC\plugins\" as the plugin base dir.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's correct - TC searches for other plugins to determine what to use as the base path - either a two step path plugins\wcx\<pluginname>, or a ingle step path plugins\<pluginname> . A 0 step path (all in plugins dir) wasn't planned...
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5764
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Errors in contentpluginhelp2.1se.zip found on http://ghisler.com/plugins.htm#content
contentplugin.HLP (page ContentGetValue) wrote:flags Currently only one flag is defined:
CONTENT_DELAYIFSLOW: If this flag is set, ...
CONTENT_PASSTHROUGH: If this flag is set, ...
I count two flags..
contentplugin.HLP (page ContentGetValue) wrote:ft_boolean: FieldValue points to a 32-bit number. 0 neans false, anything else means true.
...
The plugin may also reutrn ft_ondemand if CONTENT_DELAYIFSLOW is set.
...
Once there is no more data, the plugin needs to retrun ft_fieldempty.
neans -> means
reutrn -> return
retrun -> return
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks.
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

On page ContentCompareFiles it is
contentplugin.HLP (page ContentCompareFiles) wrote:Example_ See our "filesys" sample content plugin (text comparison), which makes a binary comparison until it finds the first difference, and then continues with using its text comparison method.
Example_ -> Example:

On page ContentSetValue it is
contentplugin.HLP (page ContentSetValue) wrote:ft_delayed, ft_ondemand: You may return a zero-terminated string as in ft_string, which will be shown until the actual value has been extracted. Requires plugin version>=1.4.
This is copy'n'paste from ContentGetValue and not apllicable for ContentSetValue.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Post Reply