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

boroda

  • Hero Member
  • *****
  • Posts: 5239
Hey! I have the weirdest glitch (I think) about as long as I remember with AT&RT. When I try to use "Copy tags to clipboard" by using the context menu (Right click) on a album on my Music tab and past it to an other album on for example my Inbox tab, AT&RT in the context menu will disappear completely. I don't quit have the exact pattern to reproduce this bug, but sometime it disappear only on my Music tab, sometime on my Inbox tab, and sometimes on both. What do work is actually closing the tabs and create them again.

couldn't you recall if you renamed tag set(s) when context menu disappeared?

boroda

  • Hero Member
  • *****
  • Posts: 5239
new version v9.3 beta 2:

https://www.mediafire.com/file/ex95elsmtc3n67s/mb_TagTools_debug.zip/file

* "*RN" for Roman Numerals is changed to "#RN" in the exception word list
+ The exception word list now supports regex matching (but only for entire words, not for phrases). Regex must be preceded by * and included in curly brackets, e.g., *{CD[0-9]+} for matching CD1, CD2, CD312, CD55, etc.

hiccup

  • Hero Member
  • *****
  • Posts: 9126
* now all tags are sorted alphabetically with a few exceptions, and real tags are sorted 1st with track properties (e.g. track duration) after them.
Thanks, this is much better.
(now only waiting for the first person to complain that 'Virtual15' comes before 'Virtual5'  ;-)

boroda

  • Hero Member
  • *****
  • Posts: 5239
Can someone walk me through printing a list of albums, I've installed the "Additional Tagging & Reporting Tools" (version 9.2.9193.30430) (MB Version 3.6.9202) but I'm lost as to how to set up the report.

I assume I would start with "Library Reports" and choose either Albums & Tracks or Album Grid (Album List)? After that I'm lost.

I tried to just click preview after selecting Album & Tracks and Album Grid but got an error message. I'm sure the basic setup to generate the list is easy but i can't figure it out.

Please any step by step would be appreciated. Thank you.

Below is the error message hiccup suggested I send.

MusicBee v3.6.9202.37404D  (Win10.0), 14 May 2025 16:17:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.String.Join(String separator, String[] value, Int32 startIndex, Int32 count)
   at System.String.Join(String separator, String[] value)
   at MusicBeePlugin.LibraryReports.AggregatedTags.GetComposedGroupingTags(List`1[] groupingValuesLists, Int32[] dependentGroupingColumns, Boolean totals)
   at MusicBeePlugin.LibraryReports.processFileGroupings(SortedDictionary`2 queriedFilesDict, Boolean interactive, Boolean queryOnlyGroupings, PresetColumnAttributesDict groupings, Boolean
...

i think i know what the issue is. try the new version:

Version 9.3 Prerelease 1 (9.3.9301)

* LR bugfixes
+ Minor enhancements

https://www.mediafire.com/file/ntrp91845tcxdtg/mb_TagTools_9.3.prerelease.zip/file
Last Edit: June 19, 2025, 09:47:36 PM by boroda

eugenesv

  • Newbie
  • *
  • Posts: 16
I don't understand why my simple rule fails and inserts duplicate the ampersand text in a single replacement rule that should append album artist to the beginning of artist and add a separator
Code
(.*) search in Album artist
$1 &  replace in Artist (appended via +> flag set)

So the album artist is appended once (as expected), but the separator ampersand is appended twice (not expected)
What am I doing wrong? Thanks!

boroda

  • Hero Member
  • *****
  • Posts: 5239
I don't understand why my simple rule fails and inserts duplicate the ampersand text in a single replacement rule that should append album artist to the beginning of artist and add a separator
Code
(.*) search in Album artist
$1 &  replace in Artist (appended via +> flag set)

So the album artist is appended once (as expected), but the separator ampersand is appended twice (not expected)
What am I doing wrong? Thanks!

i think it's well known some kind of bug which is present in all regex engines. try to insert ^ before .* in search pattern:

Code
^(.*) search in Album artist
$1 &  replace in Artist (appended via +> flag set)

eugenesv

  • Newbie
  • *
  • Posts: 16
Thanks, this works!
And as far as I understand you can't use <Artist> "variables" directly, right, it's all exclusively regex, so you must only do it via matches and inserts?

By the way, is there any way to see changes in real time instead of having to click on the rule to edit, edit it, exit, hit preview, see the fail and do all the needless steps again? Or at least make the rule editing window non-modal so you can edit it and hit "Preview" in the main window


boroda

  • Hero Member
  • *****
  • Posts: 5239
Thanks, this works!
And as far as I understand you can't use <Artist> "variables" directly, right, it's all exclusively regex, so you must only do it via matches and inserts?

you can use \@eval[[<Artist>]] in substitution field, but you MUST match something (doesn't matter what exactly if you don't intend to use $1, $2, etc.) in search field. e.g.search title for ^(.*) and ignore it using \@eval[[...]] instead. you can use ANY VT expression inside \@eval[[...]]. see here quick reference.
 
By the way, is there any way to see changes in real time instead of having to click on the rule to edit, edit it, exit, hit preview, see the fail and do all the needless steps again? Or at least make the rule editing window non-modal so you can edit it and hit "Preview" in the main window

unfortunately, no.


boroda

  • Hero Member
  • *****
  • Posts: 5239
Version 10.0 Beta 1 (10.0.9304)

* Various bug fixes
+ ASR presets can be auto-executed once a month on the first MB start in the new month
+ New ASR preset “Write play & skip counts monthly” (write play count history to custom tag). You must manually tick the checkbox “Run monthly” if you want to use this preset
+ New LR preset “Play & skip count statistics” which shows play count history/statistics. First turn mentioned ASR preset on to write periodically write the statistics to custom tag

https://www.mediafire.com/file/c9m7nbp4a7hyfuo/mb_TagTools_beta.zip/file