Author Topic: Additional Tagging & Reporting Tools  (Read 936898 times)

fbt78

  • Newbie
  • *
  • Posts: 18
everything is working normally again.
Many thanks and congratulations for your developments

boroda

  • Sr. Member
  • ****
  • Posts: 4642
@zpoison
unfortunatelly .net coloring for buttons, text labels, etc. is very limited. the main problem is disabled controls. try to turn 'use skin colors' option on/off on plugin prefs (edit> prefs> plugins> additional tagging tools> configure).

boroda

  • Sr. Member
  • ****
  • Posts: 4642
@zpoison, also, looking at your screenshots, i see you are not using the latest plugin version.

zpoison

  • Jr. Member
  • **
  • Posts: 37
Excellent, it's working, and looking perfect
Sorry I had forgot that there is a config setting, thank you for your patience
https://imgur.com/a/8K6j2LV

I did the update. Plugin is well maintained!
I see your other plugins will be useful too. Awesome. See you later have a good weekend
Last Edit: July 22, 2022, 05:10:24 PM by zpoison

endelos

  • Newbie
  • *
  • Posts: 6
Hi, I've installed the last version : 5.4.8239 along with MusicBee last version 3.4.8033 and I've noticed a new bug.

In my virtual tags, the $Add() function isn't working anymore. It returns nothing (I've even tried $Add(1,1) to check, the result is nothing).

I've tried a rollback with MusicBee, it didn't help. I've tied a rollback with the Additional Tagging & Reporting Tools v. 5.2.7391 and it this time, the problem disapears. I will stay with this version for now, but if you can correct the bug I'd be happy to use the last version again.

Anyway, thank you for your amazing work, this plugin is a must !
Last Edit: July 23, 2022, 06:19:36 PM by endelos

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34364
$Add is performed by musicbee not this plugin. I have unlocked the other post

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9359
$Add is performed by musicbee not this plugin. I have unlocked the other post
Sorry Steven. I thought the function was something that boroda added.
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

boroda

  • Sr. Member
  • ****
  • Posts: 4642
new virtual tag function is added to plugin (no setup is required to use it, just install plugin and use the function like mb native functions): $DateCreated(<URL>)

type "<URL>" exactly like this, don't use another function argument value. function returns creation date of music file (not last modification date!)

https://www.mediafire.com/file/h2t08o9562efboi/mb_TagTools_latest.zip/file

hiccup

  • Sr. Member
  • ****
  • Posts: 7902
I have updated my virtual tag functions cheat sheet, and added some explanations on additional AT&RT functions.
There are a few I was not able to write a brief explanation or give a short and practical real-world example formula for.
If you (or anyone else) have suggestions for brief explanations and examples I could add for them, let me know.
They are:

$Lg(number)
$Ln(number)
$Log(number,base)
$AddDuration(duration1,duration2)
$AddDurationToDateTime(datetime,duration)
$SubDateTime(datetime1,datetime2)
$SubDuration(duration1,duration2)
$SubDurationFromDateTime(datetime,duration)

boroda

  • Sr. Member
  • ****
  • Posts: 4642
hmm... hiccup, i don't see any explanations on ATT functions in that post.

btw these functions can accept tags if tag types correspond to types in function signature:

$CutLeft(string,count)
$CutRight(string,count)
$SentenceCase(string)
$TitleCase(string)
$Add(number1,number2)
$Sub(number1,number2)
$Mul(number1,number2)
$Div(number1,number2)
$Abs(number)
$Lg(number)
$Ln(number)
$Log(number,base)
$Mod(number1,number2)
$Random(max_number)
$Round(number,number_of_digits_after_decimal_point)
$RoundDown(number,number_of_digits_after_decimal_point)
$RoundUp(number,number_of_digits_after_decimal_point)
$Sqrt(number)
$NumberOfDays(datetime1,datetime2)
$AddDuration(duration1,duration2)
$AddDurationToDateTime(datetime,duration)
$SubDuration(duration1,duration2)
$SubDurationFromDateTime(datetime,duration)
$MulDuration(duration, number)
$SubDateTime(datetime1,datetime2)
$Name(filename)

i mean (this note is just for consistency with other function descriptions in your sheet) that these are valid usage of functions:

$CutLeft(<field1>,<field2>)
$CutRight(<field1>,<field2>)
$SentenceCase(<field>)
$TitleCase(<field>)
$Add(<field1>,<field2>)
$Sub(<field1>,<field2>)
$Mul(<field1>,<field2>)
$Div(<field1>,<field2>)
$Abs(<field>)
$Lg(<field>)
$Ln(<field>)
$Log(<field1>,<field2>)
$Mod(<field1>,<field2>)
$Random(<field>)
$Round(<field1>,<field2>)
$RoundDown(<field1>,<field2>)
$RoundUp(<field1>,<field2>)
$Sqrt(<field>)
$NumberOfDays(<field1>,<field2>)
$AddDuration(<field1>,<field2>)
$AddDurationToDateTime(<field1>,<field2>)
$SubDuration(<field1>,<field2>)
$SubDurationFromDateTime(<field1>,<field2>)
$MulDuration(<field1>, <field2>)
$SubDateTime(<field1>,<field2>)
$Name(<URL>)


here are short description of functions you asked:

$Lg(number) returns number
$Ln(number) returns number
$Log(number,base) returns number

above are just mathematical functions: decimal logarithm of any number (or field containing number) - integer or floating point one, it's actually log(number,10); natural logarithm, it's log(number,e), where 'e' is Euler number (~2.71...); and general logarithm. these functions may be useful for volume analysis, i don't remember who requested them.

$AddDuration(duration1,duration2) returns duration
$AddDurationToDateTime(datetime,duration) returns datetime
$SubDateTime(datetime1,datetime2) returns duration (difference between two dates and/or times)
$SubDuration(duration1,duration2) returns duration
$SubDurationFromDateTime(datetime,duration) returns datetime

above functions are self-explanatory, considering that datatime may be either defined as literal (eg. 07/25/2022 or 07/25/2022 8:31 pm or 8:31:15 pm) or as any date tag in mb (eg. 'year', 'original year', 'date added', etc.). duration can be either defined as literal (eg. 00/00/0001 means 1 year, 5:00 means 5 mins, 00/01/0000 10:05:15 means 1 day 10 hours 5 mins 15 secs, etc.) or it can be obtained by subtracting two dates or two times (or two datetimes in general). also, <Time> tag (track duration) is a valid duration.
Last Edit: July 25, 2022, 06:55:58 PM by boroda

hiccup

  • Sr. Member
  • ****
  • Posts: 7902
hmm... hiccup, i don't see any explanations on ATT functions in that post.

Damn, you're right. (I shouldn't have been making all these changes with tired eyes)
The ones for which I had already created explanations and examples are there now.

Thanks for the extra input. I will try to figure it out and include it in the sheet when I am in a little bit brighter state of mind…

adac

  • Jr. Member
  • **
  • Posts: 34
Problem with Additional Tagging Tools and MB 3.5.8247

There seems to be a problem with the artists (multiple field). After restarting Musicbee, the newly entered fields are deleted again.
Apparently only guest artists are copied, not performers

Apparently the problem only occurs with "Copy Tags To Clipboard" (Additional Tagging Tools). There are no problems with manual copying (display as text).


Please excuse my bad english

boroda

  • Sr. Member
  • ****
  • Posts: 4642
working as usual for me. please provide step-by-step instructions to reproduce issue and screenshots.

adac

  • Jr. Member
  • **
  • Posts: 34
Hi Boroda,

Ok I'll try... :-)

1. I take "Wrong Or Right" from 1977 from "The Babys" and copy the data already there using "Copy Tags To Clipboard" and paste it into the album from 2008.

(Screenshot 1 shows the existing data being copied)




2. After pasting, only the artist (Künstler) and guest artist (Gast-Künstler) are present. Apparently the performers are deleted again. You can see on the left that the performers are still being read out even though they are no longer present in the "Multiple artists field".



3. After I close and restart Musicbee, the performers are no longer available.
Of course, I've also tried this on various other files, always with the same result.
I only noticed it after installing the 3.5.8247 update. I hope the information is enough for now.



Many Thanks
Last Edit: August 01, 2022, 12:21:25 PM by adac

boroda

  • Sr. Member
  • ****
  • Posts: 4642
what happens if you copy/paste only 'Künstler' tag? keep in mind that you must hit F5 after pasting tags to see changes.