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

wonderdog

  • Newbie
  • *
  • Posts: 5
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 totals, MetaDataType[] queriedActualGroupingsTagIds, FilePropertyType[] queriedActualGroupingsPropIds, List`1[] actualSplitGroupingTagsList, SortedDictionary`2 cachedFilesActualComposedSplitGroupingTagsList, SortedDictionary`2 cachedFilesActualGroupingTags, SortedDictionary`2 cachedFilesActualGroupingTagsRaw, Int32[] dependentGroupingColumns, SortedDictionary`2[] queriedGroupingTagsRaw, SortedDictionary`2[] queriedActualGroupingTags, SortedDictionary`2[] queriedActualGroupingTagsRaw, String[] queriedNativeTagNames)
   at MusicBeePlugin.LibraryReports.executePreset(String[] queriedFiles, Boolean interactive, Boolean saveResultsToTags, String functionId, Boolean filterResults, Boolean forceCacheUpdate, SortedDictionary`2[] queriedGroupingTagsRaw, SortedDictionary`2[] queriedActualGroupingTags, SortedDictionary`2[] queriedActualGroupingTagsRaw, Nullable`1 readOtherwiseProcessExcludedGroupingTags)
   at MusicBeePlugin.LibraryReports.previewReport()
   at MusicBeePlugin.PluginWindowTemplate.serializedOperation()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()





hamlet35

  • Newbie
  • *
  • Posts: 6
I am receiving the following error message when I try to configure the plugin:

Quote
MusicBee v3.6.9202.37404P  (Win10.0), 17 May 2025 8:21:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at MusicBeePlugin.PluginWindowTemplate.Display(PluginWindowTemplate newForm, Boolean modalForm)
   at MusicBeePlugin.Plugin.Configure(IntPtr panelHandle)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at #=zl6ttC0IWy5eCK5spaA==.#=zwf7rfs4=(IntPtr #=zMxLmyMTQlCb$)

Dizza17

  • Full Member
  • ***
  • Posts: 186
It seems Boorda isn’t active on the forum at this time, hopefully everything is okay with him and I’m sure he will address these issues when he gets time too.
When the rich wage war, it’s the poor who suffer.

PWN3D_

  • Jr. Member
  • **
  • Posts: 23
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.

Dzib

  • Jr. Member
  • **
  • Posts: 21
Hi,
Sorry if this question has already been asked, but I couldn’t find an answer.
I’m trying to automatically remove the line starting with "Source: ..." at the end of the embedded lyrics in all my music files. Ideally, I’d also like to delete the empty line that comes before it.

I tried using the Advanced Search & Replace function with the expression \r?\nSource:.*$ to replace it with nothing, but unfortunately it doesn’t work.

I also tried using Mp3tag with a Replace with regular expression action, but that didn’t work either.

Does anyone have an idea?
Thanks in advance!
Last Edit: June 06, 2025, 06:54:37 AM by Dzib

hiccup

  • Hero Member
  • *****
  • Posts: 9106
I tried using the Advanced Search & Replace function with the expression \r?\nSource:.*$ to replace it with nothing, but unfortunately it doesn’t work.
Does this work?:
Code
\r?\n\s*\r?\nSource:.*$
If it does, thank Grok.
If it doesn't, blame me  ;-)

edit
What can help figuring stuff like this out is looking at the text in a text editor showing all characters including spaces, new lines etc.:



So I think this will work too:
Code
\r\n\r\nSource:.*$
edit2
and this may work also?:
Code
\s*Source:.*$
Last Edit: June 06, 2025, 08:08:33 AM by hiccup

Dzib

  • Jr. Member
  • **
  • Posts: 21
Does this work?:
Code
\r?\n\s*\r?\nSource:.*$
If it does, thank Grok.
If it doesn't, blame me  ;-)

Works like a charm :)
Thanks Grok but thanks to you anyway ;)

hiccup

  • Hero Member
  • *****
  • Posts: 9106
I’m trying to automatically remove the line starting with "Source: ..." at the end of the embedded lyrics in all my music files. Ideally, I’d also like to delete the empty line that comes before it.
For future people running into this thread and wanting to remove 'Provider: ...' from the lyrics:

This regex will remove that (including preceding or succeeding blank lines) regardless if it is at the top or the bottom of the lyrics:

Code
\s*Source:.*\s*
Last Edit: June 07, 2025, 08:22:34 AM by hiccup

Dzib

  • Jr. Member
  • **
  • Posts: 21
Hi,

I'm now facing another issue: I created an autoplaylist with the condition Lyrics contains "Source:", and while it returned a good portion of my tracks, it didn't catch them all.
I also tried Lyrics match Regex \s*Source:.*\s*, but that didn’t yield better results.
Of course, I also attempted a regular search.

Is it normal that lyric-based searches aren't entirely reliable?
Is there a more accurate way to perform this kind of search using Additional Tagging & Reporting Tools?

Thanks ;)

hiccup

  • Hero Member
  • *****
  • Posts: 9106
Is it normal that lyric-based searches aren't entirely reliable?
1.
Do the same songs consistently don't show up?
Meaning that after you have cleared 'Source:' from the files that were found earlier,  at a next search do files now show up that didn't earlier?

2.
When you use MusicBee's search function, does that find all (or more) songs?

I can imagine there maybe being some sort of limitation in searching vast amounts of texts through many files.

Dzib

  • Jr. Member
  • **
  • Posts: 21
I searched through my entire music collection and initially found more than 10,000 tracks with "Source:" in the lyrics. After removing "Source:" from the lyrics of those tracks, the search no longer returns any results — even though there are still several thousand songs that clearly have "Source:" in their lyrics.

hiccup

  • Hero Member
  • *****
  • Posts: 9106
After removing "Source:" from the lyrics of those tracks, the search no longer returns any results — even though there are still several thousand songs that clearly have "Source:" in their lyrics.
Could you try this?