Ann: anytag.wdx content plugin released!

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

Moderators: white, Hacker, petermad, Stefan2

facinlaburo
Junior Member
Junior Member
Posts: 9
Joined: 2006-06-08, 19:28 UTC

Post by *facinlaburo »

I have an mp3 file that has ID3v1 and APEv2 tags.
The APEv2 fields are MP3GAIN_MINMAX, MP3GAIN_UNDO, REPLAYGAIN_TRACK_GAIN, REPLAYGAIN_TRACK_PEAK
The ID3v1 fields are TITLE, ARTIST, ALBUM, YEAR, TRACK.

I made a custom field as follows

Code: Select all

[=anytag.Mode]\n[=anytag.Samplerate]\n[=anytag.Bitrate]\n[=anytag.Extra information]\n[=anytag.Length]\n[=anytag.Artist]\n[=anytag.Title]\n[=anytag.Album]\n[=anytag.Year]\n[=anytag.Tag]\n[=anytag.Tag Read]\n[=anytag.Comment]
As the plugin reads the APEv2 tag, it doesn't show any information in the fields about TITLE, ARTIST and ALBUM.
I couldn't figure out how to order the plugin that it must read the ID3v1 tag instead of the APEv2. ¿Is it possible?.

I have a similar problem with anytag.wlx plugin, that in the "All metadata" section just shows the contents of the APEv2 tag.
i am a newbie, and i speak spanish; thanks for your patience.
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *fnheiden »

OK, this might come as a surprise for some, but I've just released anytag.wdx v1.00!

Changes since v0.98 include:
  • Added: support for 64-bit.
  • Added: support for Unicode.
  • Added: support for Audio Interchange File Format (aif / aifc / aiff).
  • Added: support for Direct Stream Digital Audio (dsf).
  • Added: support for Matroska (mka / mkv).
  • Added: support for MPEG-4 video (m4v)
  • Added: support for Opus Interactive Audio Codec (opus)
  • Added: support for True Audio (tta)
  • Added: support for WAV (wav)
  • Added: support for WebM (webm)
  • Added: support for all fields listed at https://docs.mp3tag.de/mapping
  • Added: support for all scripting functions listed at https://docs.mp3tag.de/scripting
You can download it from
https://www.mp3tag.de/en/tc.html

Kind regards
— Florian
User avatar
white
Power Member
Power Member
Posts: 4593
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Ann: anytag.wdx content plugin released!

Post by *white »

2fnheiden
Can you update the first post of the thread, change http into https and mention the latest version?
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *fnheiden »

white wrote: 2022-05-06, 11:58 UTC Can you update the first post of the thread, change http into https and mention the latest version?
Yes! I've updated the OT, thanks for pointing.
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *nsp »

Hi Florian:
In mp3tag 3.14d i have all i need but with anytag.wdx 1.00 :
I cannot get %year%,%track% to return values
I do not see any tag for dsf and dff file

For both 32bit and 64bit.
Do you have a full anytag.any with more tags and variation, can you describe how to build it ?
(Can you also show all possible tags if no config file is provided ?)
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *fnheiden »

nsp wrote: 2022-05-06, 12:12 UTC I cannot get %year%,%track% to return values
Can you check your anytag.any and see if it's correctly formatted? If you're unsure, can you show the configuration in anytag.any and the column configuration in TC?
nsp wrote: 2022-05-06, 12:12 UTC I do not see any tag for dsf and dff file
My test files show tags for dsf. Not for dff as it doesn't support any type of metadata (please check the ReadMe for supported file formats).
Do you have a full anytag.any with more tags and variation, can you describe how to build it ?
(Can you also show all possible tags if no config file is provided ?)
You can build it yourself using the provided anytag.any as template and all of the fields listed at https://docs.mp3tag.de/mapping
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Ann: anytag.wdx content plugin released!

Post by *Usher »

2fnheiden
Two questions:
1. Would you be so kind and keep 32-bit version compatible with Windows XP, please?
2. What about anytag.wlx update?
Andrzej P. Wozniak
Polish subforum moderator
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *fnheiden »

Usher wrote: 2022-05-06, 13:11 UTC 1. Would you be so kind and keep 32-bit version compatible with Windows XP, please?
No, I've also moved on from supporting Windows XP in my internal libraries. I've left the previous version for download on the website.
Usher wrote: 2022-05-06, 13:11 UTC 2. What about anytag.wlx update?
Not sure yet. It uses an external DLL (htmllayout.dll) for displaying the generated content and this library is apparently no longer developed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *ghisler(Author) »

fnheiden wrote: 2022-05-06, 09:56 UTCI've just released anytag.wdx v1.00!
That's great news! I have added some basic tag support to my internal "tc" plugin because I needed to extract tags for the internal media player, so it was only a small step to add them to the content plugin. But your plugin offers a lot more tags.

I wonder how you get [=anytag.Bitrate], there doesn't seem to be a bit rate field in the tags of the files I have. Do you determine the actual bit rate from the track itself? If yes, how do you handle variable bit rates, do you decode the entire file?
Author of Total Commander
https://www.ghisler.com
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *fnheiden »

ghisler(Author) wrote: 2022-05-06, 14:43 UTC That's great news!
Thank you!
ghisler(Author) wrote: 2022-05-06, 14:43 UTC I wonder how you get [=anytag.Bitrate], there doesn't seem to be a bit rate field in the tags of the files I have. Do you determine the actual bit rate from the track itself? If yes, how do you handle variable bit rates, do you decode the entire file?
You're probably referring to MP3 files. I calculate the bitrate by inspecting the MPEG frame headers as described here:
http://www.mp3-tech.org/programmer/frame_header.html

In addition, for variable bitrates there might be a Xing header or a VBRI header, so decoding the entire file is not needed.
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *nsp »

fnheiden wrote: 2022-05-06, 12:53 UTC
nsp wrote: 2022-05-06, 12:12 UTC I cannot get %year%,%track% to return values
Can you check your anytag.any and see if it's correctly formatted? If you're unsure, can you show the configuration in anytag.any and the column configuration in TC?
nsp wrote: 2022-05-06, 12:12 UTC I do not see any tag for dsf and dff file
My test files show tags for dsf. Not for dff as it doesn't support any type of metadata (please check the ReadMe for supported file formats).
Do you have a full anytag.any with more tags and variation, can you describe how to build it ?
(Can you also show all possible tags if no config file is provided ?)
You can build it yourself using the provided anytag.any as template and all of the fields listed at https://docs.mp3tag.de/mapping
The anytag.any, is the one provided with the plugin, and just added a field disc number like 21=8|DiscNumber|%discnumber%
What the 8 stand for and what are the available values ?

About dsf It is a problem with TC Beta 10.5 and current config as it works with TC10 on same machine.

About %year% and %track% It seems that is is not extracted for my flac files. But it is for mp3 and wav files ???
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *fnheiden »

nsp wrote: 2022-05-06, 15:05 UTC The anytag.any, is the one provided with the plugin, and just added a field disc number like 21=8|DiscNumber|%discnumber%
What the 8 stand for and what are the available values ?
This is a Total Commander content-plugin related value that indicates a string result type. Other supported types are 1 (numeric 32-bit) and 2 (numeric 64-bit). You probably don't need to use those.
nsp wrote: 2022-05-06, 15:05 UTC About dsf It is a problem with TC Beta 10.5 and current config as it works with TC10 on same machine.
OK, thanks for the follow-up.
nsp wrote: 2022-05-06, 15:05 UTC About %year% and %track% It seems that is is not extracted for my flac files. But it is for mp3 and wav files ???
FLAC often uses TRACKNUMBER and DATE instead of TRACK and YEAR. I'm using a mapping in Mp3tag (see "Options → Tags → Mapping") but anytag.wdx doesn't have any mapping of tag fields (yet).
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Ann: anytag.wdx content plugin released!

Post by *nsp »

Many thanks for the explanation !

Adding a manual mapping as done in mp3tag, it works also on flac :)

About Tags, it could be great to have a special function like $alltags() listing of all populated tags for a file.
Additionally, a way to turn debug log from the plugins to understand what is going on could be a plus. Using file or adding OutputDebugString from win32 API.
Cormy1
Junior Member
Junior Member
Posts: 5
Joined: 2020-11-15, 01:30 UTC

Re: Ann: anytag.wdx content plugin released!

Post by *Cormy1 »

ReadMe.txt suggests the anytag.any template file can be modified to map fields, but I can't seem to get it to work.
I just want to add the track number of FLAC files to their filenames in the multi-rename tool.
I'm sure I've done this before but I can't seem to do it right now.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Ann: anytag.wdx content plugin released!

Post by *Fla$her »

2Cormy1
These tags are probably not written to these files. I checked the plugin with some flacs and it displays the track number for them.
I advise you to check with [=tc.Track Nr].
Overquoting is evil! 👎
Post Reply