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

M.O.Z.G

  • Newbie
  • *
  • Posts: 5
Some bugs with TagTool plugin when MB start minimized to Mini/Compact Player. After it the configuration window, creating presets, and may be something else that I didn't check, doesn't work. Each module had launched with errors also. I place some logs from different versions below:

Code: "AT&RT 4.18.6162.4867 on MusicBee 3.0.X.X"
3/21/2017 8:55:08 AM - 6.1.7601.65536 - 3.0.6132.15853 - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   at System.Windows.Forms.Control.Invoke(Delegate method)
   at MusicBeePlugin.Plugin.ReceiveNotification(String sourceFileUrl, NotificationType type)
   --- 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 MusicBee.Plugin.#=q8RoorlQ8HIg85T6khe4eDptctZs9uZqlk1FqeoNVSVs=()


Code: "AT&RT 4.18.6270.19414 on MusicBee 3.1.X.X"
3/21/2017 7:19:27 PM - 6.1.7601.65536 - 3.1.6287.39764 - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ObjectDisposedException: Cannot access a disposed object.
Object name: '#=qd3gb_2djDMcwA57Pndq3gxbiMU3kKCarJlFTyaaZXsY='.
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Form.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Form.UpdateHandleWithOwner()
   at System.Windows.Forms.Form.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.Form.ShowDialog()
   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 MusicBee.Plugin.#=qyt0FUH9HPXzxojc6MBE8Jw==(IntPtr #=qepWpJlE8RxvBAk$uFMD8oQ==)

When MB start in Normal view or minimized to Tray/TaskBar - no errors. After manual minimization to Mini/Compact Player - too.

cublikefoot

  • Newbie
  • *
  • Posts: 2
I'm getting an error when trying to paste tags from clipboard. I'm trying to copy tags from MP3 files and paste them onto FLAC files (just tested FLAC to FLAC and same issue). It only manages to paste the tags of the first file before giving this error:

Code
MusicBee v3.1.6275.38881 (Win10.0), 21 Mar 2017 15:19:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at MusicBee.Plugin.#=qjKWbvhPGx5RULOcCYsjzzEuaNdPK_prWLbOIScrjDgI=(String #=qRgLyhqFOcd1lxTyMriCq$A==, Int32 #=qAzAgFwi$uZV1l0Hr_0$Luw==, String #=qLXYFnmDm856gHOeOJD6u3Q==)
   at MusicBeePlugin.Plugin.SetFileTag(String sourceFileUrl, MetaDataType tagId, String value, Boolean updateOnlyChangedTags)
   at MusicBeePlugin.PasteTagsFromClipboardPlugin.pasteTagsFromClipboard()
   at MusicBeePlugin.PasteTagsFromClipboardPlugin.PasteTagsFromClipboardPlugin_Shown(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   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.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

I'm using the default fields for "tag set 1" when copying the tags.
Last Edit: March 21, 2017, 10:49:21 PM by cublikefoot

boroda

  • Sr. Member
  • ****
  • Posts: 4595
sorry for being late. will look at new issues during couple of days.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
some bug fixes:

http://www.mediafire.com/file/43gqu2dgqgfo3b5/mb_TagTools_2017-03-24.zip

@cublikefoot
its mb bug. unselect all new sort-tags and "original year", "original artist" tags until its fixed.




M.O.Z.G

  • Newbie
  • *
  • Posts: 5
try this version:

http://www.mediafire.com/file/y4738budi6rtgax/mb_TagTools_2017-03-28.zip


Thank you for the reply! It works after minimized start now. But tagTool works only when MB is maximized. When we try to run some module (or open config window) from context menu in Compact/Minimized view - it still shows the error.

Code
MusicBee v3.1.6293.19583 (Win6.1), 28 Mar 2017 15:37:

System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture)
   at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName)
   at MusicBeePlugin.AdvancedSearchAndReplacePlugin.InitializeComponent()
   at MusicBeePlugin.AdvancedSearchAndReplacePlugin..ctor(Plugin tagToolsPluginParam)
   at MusicBeePlugin.Plugin.asrEventHandler(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)


boroda

  • Sr. Member
  • ****
  • Posts: 4595
new plugin beta version:

http://www.mediafire.com/file/pjwa895r2rnuke7/mb_TagTools_2017-04-03.zip

now any asr preset can be used as virtual tag function (also as a function in file organization templates, etc.).

go to main asr window, select preset and define virtual tag function id (any string containing a-z chars, numbers and symbols . : - _ ).

then use function

Code
$ASR(<URL>,preset_id)

where preset id is the id entered in asr window. asr preset function will return last written tag in preset. to see last written tag click 'edit/rename' button in asr window or (if 'edit/rename' is disabled) click 'copy' button and view the content of preset copy. most preset functions will return exactly what you expect.

still to do: add support for auto library report presets.

p.s. you need mb latest patch.
Last Edit: April 05, 2017, 12:14:43 PM by boroda74

Bee-liever

  • Member
  • Sr. Member
  • *****
  • Posts: 3830
  • MB Version: 3.6.8830 P
I've never been sure if this is a bug or not, so I finally decided to just post this  :-\
When you 'Preview' an ASR on selected files

The checkboxes on the LH side can't be un-ticked for individual tracks.
It's either all ticked or all un-ticked
MusicBee and my library - Making bee-utiful music together

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Bee-liever, i already don't remember this, but i would say its a bug. will look into it.


Bee-liever

  • Member
  • Sr. Member
  • *****
  • Posts: 3830
  • MB Version: 3.6.8830 P
Thank you boroda74
MusicBee and my library - Making bee-utiful music together

sashi79

  • Newbie
  • *
  • Posts: 3
Today I tried to download the tagging tool of the above named and everytime I clicked on download a new advertising page oben in the end I had 5 ad pages for each click. Hence I gave up.
I find this not to be very professional and as a negative touch to it. I therefore advice to change the download options in a way that is acceptable. Thanks!