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

boroda

  • Sr. Member
  • ****
  • Posts: 4659
MSR preset is no longer working. And MSR command window doesn't work for multiple files. Can you reproduce this?
i've found several bugs. cant reproduce that MSR doesn't work for multiple files, but it wont display tracks without changes.

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

redwing

  • Guest
MSR preset adds "@restoreparenthesis" to any new values.

redwing

  • Guest
It seems most of the recent bugs are about the parentheses handling and it keeps occurring one after another.
I am not even sure how many presets might have similar issues since I'm using only a few of them.
If it's about you're using parentheses as a meta-character in your inner code, can't you change it to more rarely used ones like [[ ]] instead of ( )?

boroda

  • Sr. Member
  • ****
  • Posts: 4659
it was my initial mistake trying to foresee any char combinations in tags, though its obvious that something like [[ or ]] or ;; hardly will be used in tags. for now i leaved syntax as is, but i'll follow your advice if there are still bugs.

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

redwing

  • Guest
MSR command and presets are now working.
But if you hide MSR window and rerun the command, you get this error:

MusicBee v3.2.6671.32617 (Win10.0)
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.ArrayList.get_Item(Int32 index)
   at System.Windows.Forms.DataGridViewColumnCollection.get_Item(Int32 index)
   at System.Windows.Forms.DataGridView.FlushDisplayedChanged()
   at System.Windows.Forms.DataGridView.PerformLayoutPrivate(Boolean useRowShortcut, Boolean computeVisibleRows, Boolean invalidInAdjustFillingColumns, Boolean repositionEditingControl)
   at System.Windows.Forms.DataGridView.OnColumnCollectionChanged_PreNotification(CollectionChangeEventArgs ccea)
   at System.Windows.Forms.DataGridViewColumnCollection.Clear()
   at System.Windows.Forms.DataGridView.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.Windows.Forms.Form.Dispose(Boolean disposing)
   at MusicBeePlugin.MultipleSearchReplaceCommand.Dispose(Boolean disposing)
   at System.Windows.Forms.Form.Close()
   at MusicBeePlugin.PluginWindowTemplate.display(Boolean modalForm)
   at MusicBeePlugin.Plugin.multipleSearchReplaceEventHandler(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

redwing

  • Guest
BTW I have lots of custom presets, and it's really pain to recreate all of them whenever you update ASR presets.
I think something is wrong here. Updating dll file alone should address the issue, or there should be a support to re-import custom presets to new format without having to re-create all of them manually.

boroda

  • Sr. Member
  • ****
  • Posts: 4659
i dont understand, reimporting 'official' presets will delete custom presets? if so, its a bug. as for error message i'll check this.

redwing

  • Guest
No, that's not what I meant. You said old presets shouldn't be used when presets get updated.
So I am re-creating custom presets using new presets whenever presets get updated.

redwing

  • Guest
"Split <Tag 1> to tags <Tag 2>, <Tag 3>, <Tag 4>" preset doesn't work.
I have to use "Split <Tag 1> to tags <Tag 2>, <Tag 3>" preset twice.
If that's also about the parentheses handling, will you fix the issue by changing the meta-character?

boroda

  • Sr. Member
  • ****
  • Posts: 4659
MSR command and presets are now working.
But if you hide MSR window and rerun the command, you get this error:

MusicBee v3.2.6671.32617 (Win10.0)
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.ArrayList.get_Item(Int32 index)
   at System.Windows.Forms.DataGridViewColumnCollection.get_Item(Int32 index)
   at System.Windows.Forms.DataGridView.FlushDisplayedChanged()
   at System.Windows.Forms.DataGridView.PerformLayoutPrivate(Boolean useRowShortcut, Boolean computeVisibleRows, Boolean invalidInAdjustFillingColumns, Boolean repositionEditingControl)
   at System.Windows.Forms.DataGridView.OnColumnCollectionChanged_PreNotification(CollectionChangeEventArgs ccea)
   at System.Windows.Forms.DataGridViewColumnCollection.Clear()
   at System.Windows.Forms.DataGridView.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.Windows.Forms.Form.Dispose(Boolean disposing)
   at MusicBeePlugin.MultipleSearchReplaceCommand.Dispose(Boolean disposing)
   at System.Windows.Forms.Form.Close()
   at MusicBeePlugin.PluginWindowTemplate.display(Boolean modalForm)
   at MusicBeePlugin.Plugin.multipleSearchReplaceEventHandler(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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

redwing

  • Guest

boroda

  • Sr. Member
  • ****
  • Posts: 4659
"Split <Tag 1> to tags <Tag 2>, <Tag 3>, <Tag 4>" preset doesn't work.
I have to use "Split <Tag 1> to tags <Tag 2>, <Tag 3>" preset twice.
If that's also about the parentheses handling, will you fix the issue by changing the meta-character?

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

redwing

  • Guest
Thanks! that preset is now working properly.
But there are more issues. The two performer presets have not been working for some time. Don't know when it worked last time.
Also msr command and preset were broken but now start working again. Still there's some issue when parentheses are used.

Try this:
*^(.*?)b/$1c

It works with msr command, but not with msr preset.

redwing

  • Guest
Now MB supports 32 virtual tags. Can you support those additional tags with copy tag & ASR coammnd?

Also "Folder name" and "Path" are missing from read-only tag list. Can you add them as part of that value can be used for other tags?

boroda

  • Sr. Member
  • ****
  • Posts: 4659