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


Pingaware

  • Sr. Member
  • ****
  • Posts: 1110
Sorry boroda, got what I assume is the same report again -

MusicBee v2.4.5330.22939 (Win6.1), 6 Aug 2014 11:47:

System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at System.Drawing.Image.Save(MemoryStream stream)
   at System.Drawing.ImageConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType)
   at System.ComponentModel.TypeConverter.ConvertTo(Object value, Type destinationType)
   at MusicBeePlugin.LibraryReportsPlugin.previewTrackList()
   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()
Bold words in my posts are links unless expressly stated otherwise.


Pingaware

  • Sr. Member
  • ****
  • Posts: 1110
Sorry boroda! This is the error report from the one without artwork resizing:

MusicBee v2.4.5331.30657 (Win6.1), 7 Aug 2014 13:57:

System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at System.Drawing.Image.Save(MemoryStream stream)
   at System.Drawing.ImageConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType)
   at System.ComponentModel.TypeConverter.ConvertTo(Object value, Type destinationType)
   at MusicBeePlugin.LibraryReportsPlugin.previewTrackList()
   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()

and with the artwork being resized:

MusicBee v2.4.5331.30657 (Win6.1), 7 Aug 2014 14:08:

System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
   at MusicBeePlugin.LibraryReportsPlugin.previewTrackList()
   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().

If it's any help, the reports are crashing slightly earlier now - 37% for the no resize and 94% for the one with resizing.
Bold words in my posts are links unless expressly stated otherwise.


Pingaware

  • Sr. Member
  • ****
  • Posts: 1110
Failure's changed place - it now occurs at 83% without resizing with this error:

MusicBee v2.4.5332.32253 (Win6.1), 9 Aug 2014 15:58:

System.OutOfMemoryException: Out of memory.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height)
   at System.Drawing.Bitmap..ctor(Image original)
   at MusicBeePlugin.LibraryReportsPlugin.previewTrackList()
   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()

and 95% with resizing producing this error:

MusicBee v2.4.5332.32253 (Win6.1), 9 Aug 2014 16:05:

System.OutOfMemoryException: Out of memory.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at MusicBeePlugin.LibraryReportsPlugin.previewTrackList()
   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()

Thanks for the effort you're putting into this boroda!
Last Edit: August 09, 2014, 04:11:57 PM by Pingaware
Bold words in my posts are links unless expressly stated otherwise.


Pingaware

  • Sr. Member
  • ****
  • Posts: 1110
Same again by the looks of it. Without resizing:

MusicBee v2.4.5332.32253 (Win6.1), 9 Aug 2014 22:15:

System.OutOfMemoryException: Out of memory.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height)
   at System.Drawing.Bitmap..ctor(Image original)
   at MusicBeePlugin.LibraryReportsPlugin.previewTrackList()
   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()

and with resizing:

MusicBee v2.4.5332.32253 (Win6.1), 9 Aug 2014 22:21:

System.OutOfMemoryException: Out of memory.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at MusicBeePlugin.LibraryReportsPlugin.previewTrackList()
   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()
Bold words in my posts are links unless expressly stated otherwise.


Pingaware

  • Sr. Member
  • ****
  • Posts: 1110
Pingaware, sorry for delay, I was very busy at my work.

Oh don't ever worry about apologising for taking a while to post! I'm grateful enough as it is that you keep spending all this time trying to (and succeeding in) solving all the bugs I keep digging up for you. Thanks for the effort you always put in - I don't mind about a little wait.

Unfortunately still crashing - 82% without artwork resizing

MusicBee v2.4.5339.22204 (Win6.1), 14 Aug 2014 22:02:

System.OutOfMemoryException: Out of memory.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height)
   at System.Drawing.Bitmap..ctor(Image original)
   at MusicBeePlugin.LibraryReportsPlugin.previewTrackList()
   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()

and 95% with resizing:

MusicBee v2.4.5339.22204 (Win6.1), 14 Aug 2014 22:08:

System.OutOfMemoryException: Out of memory.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at MusicBeePlugin.LibraryReportsPlugin.previewTrackList()
   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()
Bold words in my posts are links unless expressly stated otherwise.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Hmm. Seems to be the same error. I should prepare a debug version.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
@Pingaware
Create folder C:\Temp, install debug version:
http://www.mediafire.com/download/99qpe0ij991lkds/mb_TagTools.dll

, run LibraryReports and send me Log.txt from C:\Temp.

making report will be slower than usual. Its normal.

redwing

  • Guest
Hey boroda74, you look busy lately. When you have time, would you have a look at this request?

With the current functionality, it's possible to copy & paste a single tag between multiple files (http://getmusicbee.com/forum/index.php?topic=13643.msg82206#msg82206). But no way for multiple tags.

So it would be great if the plugin could read and split clipboard data with a user-defined delimiter and then write each of them into multiple fields. For instance, the user enters "<Title>*<Artist>*<Album>" in the 'send to clipboard settings' box. Then runs copy tag command, and selects something like "<Clipboard-multiple>" for the source , "<Multiple>" for the target, and "*" for custom text. Then the plugin splits the data and writes each value in the corresponding field. What do you think?

boroda

  • Sr. Member
  • ****
  • Posts: 4595
... What do you think?
It would be very complicated for copy tag command, but probably I could do this for ASR. I'll look at this later.

redwing

  • Guest
Then would it be possible to select multiple tags from the preset instead of entering into the clipboard setting box?