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

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Do you 'import all' or 'import new' ASR presets?

List of words is saved only if you click 'Proceed' button.

Maleko12

  • Member
  • Sr. Member
  • *****
  • Posts: 658
If I clicked on import all, it says "69 preset(s) was/were successfully imported." But nothing shows up. And a list of words are saved when I click proceed. But when I restart MB, they disappear.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Is there any error messages displayed when you import presets or exit MB (settings are saved to file on MB exit)?

Maleko12

  • Member
  • Sr. Member
  • *****
  • Posts: 658
Hmmmmm, didn't notice this until now. This keeps repeating around the time I use the plugin:

Quote
4/22/2013 8:16:57 AM - 6.1.7601.65536 - 2.1.4848.35226 - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidCastException: Specified cast is not valid.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSavedSettingsType.Write7_SavedSettingsType(Object o)
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
   at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o, XmlSerializerNamespaces namespaces)
   at MusicBeePlugin.Plugin.SaveSettings()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at #=quLLvjgdAE_Nbqv7HRl0cvqQWB2pnoxzHVLUwc4mHJKE=.#=qzRKLcqgbtCzWHxB2sX1UDA==()

boroda

  • Sr. Member
  • ****
  • Posts: 4595
First install latest plugin version, then go to edit>prefs>plugins>additional tagging tools, click 'unistall' and restart MB immediately to clear saved plugin settings.

Maleko12

  • Member
  • Sr. Member
  • *****
  • Posts: 658
I get this error when I try to uninstall it from the plugins section...

Quote
MusicBee v2.1.4860.34625 (Win6.1), 23 Apr 2013 0:46:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: The process cannot access the file 'C:\Users\Mark Jr\AppData\Roaming\MusicBee\mb_TagTools.Settings.xml' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.Delete(String path)
   at MusicBeePlugin.Plugin.Uninstall()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at #=qEZFsCbHjVDNOvCg3YjPCSEtOFBh4LLpcTeHbTs2gLs8=.#=qBET49i1uhGv7Oji4taeuBg==()

boroda

  • Sr. Member
  • ****
  • Posts: 4595
The process cannot access the file 'C:\Users\Mark Jr\AppData\Roaming\MusicBee\mb_TagTools.Settings.xml' because it is being used by another process.
The file is plugin settings. Strange that its locked by another process. Can you delete this file manually (first exit MB)?

Maleko12

  • Member
  • Sr. Member
  • *****
  • Posts: 658
I can delete this manually. But when I restart MB, instead of the plugin being uninstalled, it's still there, just being shown as disabled.
So I manually deleted all traces of this plugin (even went into MB's settings and removed the dll of the plugin), reinstalled it, and it's at the same situation.
Last Edit: April 23, 2013, 03:28:05 PM by Maleko12

boroda

  • Sr. Member
  • ****
  • Posts: 4595

Maleko12

  • Member
  • Sr. Member
  • *****
  • Posts: 658
OK, I uninstalled and reinstalled MB and downloaded your plugin again. Now it works!


VX

  • Guest
There is a bug with the latest stable plugin version and ASR Preset Editor.

I've translated recently added presets into Polish. When updating I clicked 'Save' button after every translated preset. When I finished I clicked 'Save all and Close' button, and then closed MB. After MB restart I can see ASR Preset Editor asking me to click 'OK' button for every preset I've updated.
After a few clicks 'OK' button the following error occurred:

Code
MusicBee v2.1.4870.30402 (Win6.1), 4 maj 2013 15:05:

System.NullReferenceException: Odwo?anie do obiektu nie zosta?o ustawione na wyst?pienie obiektu.
   w MusicBeePlugin.ASRPresetEditor.saveSettings()
   w MusicBeePlugin.ASRPresetEditor.buttonOK_Click(Object sender, EventArgs e)
   w System.Windows.Forms.Control.OnClick(EventArgs e)
   w System.Windows.Forms.Button.OnClick(EventArgs e)
   w System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   w System.Windows.Forms.Control.WndProc(Message& m)
   w System.Windows.Forms.ButtonBase.WndProc(Message& m)
   w System.Windows.Forms.Button.WndProc(Message& m)
   w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I'll send updated presets to you in a while (check your email and confirm please). Not all translations were saved successfully, but I've made a copy in a plain text file so I can fix this easily.

Update:
Looks like the translations were saved, only the translated presets names remained in English, but when I clicked 'Rename/edit...' button both title and the description were in Polish, so I clicked 'OK' for every preset, then 'Save' and 'Save and close' button at the end.
Last Edit: May 04, 2013, 02:25:25 PM by VX

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Cant reproduce this. Seems to be specific for your PC. Try uninstall & reinstall plugin.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
New version of plugin released. See 1st post for details.

VX

  • Guest
I wonder if its possible to use ASR Presets for  batch "Mark as Having No Lyrics".
There are several requests for this feature on the forum:
http://getmusicbee.com/forum/index.php?topic=9207.0
http://getmusicbee.com/forum/index.php?topic=7735.0
http://getmusicbee.com/forum/index.php?topic=6026.0

It would be useful especially for:
audiobooks,
podcasts,
mp3 courses,
instrumental,
relaxation
or classical music.
What do you think  ???