Author Topic: Now Playing to External Files  (Read 59548 times)

namewithoutwords

  • Newbie
  • *
  • Posts: 3
I'm making use of the Now Playing to External Files plugin to write the currently playing track info out to a text file.

Prior to MusicBee 3.3.7491 (the most recent release as of this writing), whenever musicbee was paused or stopped, this plugin would update the text file and "empty" it.  This behavior was useful to me, since I could (via scripts) take actions based on whether the file was populated with playing info or was empty.

After updating to the latest Musicbee, this empty-on-pause-or-stop longer happens, and the file is unchanged whenever MusicBee is paused or stopped - though the file is still emptied whenever MusicBee is closed.

I realize the plugin is no longer maintained, but the source for the plugin has been shared), so (long shot) maybe someone will know how to fix it?

(if you've read this far and are curious why I care - I use this plugin in conjunction with a crappy shell script I wrote to set my status in slack with what I'm listening to - and auto-clear said status when the nowplaying file is empty, i.e. I'm not listening).

hyp_wanda

  • Newbie
  • *
  • Posts: 3
This message is machine translated.
I get this error when I start Musicbee.
I've reinstalled it to fix it temporarily, but I'm getting this error again soon.
What should I do to resolve this error?


The plugin I'm using is ”NowPlaying”.

MusicBee v3.3.7491.38139D  (Win10.0), 26 10 2020 18:27:

System.ArgumentException: 使用されたパラメーターが有効ではありません。(The parameter used is not valid.)
   場所 System.Drawing.Bitmap..ctor(String filename)
   場所 MusicBeePlugin.Plugin.writeTagInfo(Boolean retryingToGetTags)
   場所 MusicBeePlugin.Plugin.RetryToRetrieveTags()
   場所 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   場所 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   場所 System.Threading.ThreadHelper.ThreadStart()

manishboyradio

  • Newbie
  • *
  • Posts: 1
Okay i am not familar with doing a lot of coding or scripts, do any of you folks, have a template i could work off to create a way that could insert the pictures and text into OBS so the pictures rotate like they do on Music Bee?

Thanks in advance!

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6053
This message is machine translated.
I get this error when I start Musicbee.
I've reinstalled it to fix it temporarily, but I'm getting this error again soon.
What should I do to resolve this error?

The plugin I'm using is ”NowPlaying”.
The error is being caused by a plugin. If "Now Playing..." is the only plugin you have, disable it and restart MB. If you still have issues, close MB, delete the plugin's dll file, and restart MB.
Download the latest MusicBee v3.3 patch from here.
Download the latest MusicBee v3.4 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here