Hi,
I wrote a small plugin that uses the Discord Rich Presence API to display information about the currently playing song in MusicBee.
It is similar to the Spotify integration in Discord.
(https://i.imgur.com/DUuVlsg.png)
...
I've been using this for a while and I love it, but when the artist + song name is too large, it cuts off like this:
(https://i.imgur.com/OJ7MduI.png)
Do you have any plans on making it scroll like Spotify does (if it's even possible?)
Thanks!
I've been using this for a while and I love it, but when the artist + song name is too large, it cuts off like this:
(https://i.imgur.com/OJ7MduI.png)
Do you have any plans on making it scroll like Spotify does (if it's even possible?)
Thanks!
maybe the dev can change it so the song title is at the top and the artist is at the bottom
i use a different discord plugin (https://github.com/wiiblob/mb_DiscordRichPresence) and i think it looks much cleaner that way.
anyone knows if these plugins are able to pull cover art from last.fm or musicbrainz, instead of showing the musicbee icon?
I've been using this for a while and I love it, but when the artist + song name is too large, it cuts off like this:
(https://i.imgur.com/OJ7MduI.png)
Do you have any plans on making it scroll like Spotify does (if it's even possible?)
Thanks!
I would like to implement this but currently this is a feature request at Discord (https://github.com/discordapp/discord-rpc/issues/146). It is not possible to do this in the plugin, so you have to wait for Discord...
Anyway the screenshot does not look like my plugin, are you sure this is the right thread? Because I am not cutting of song names, only album (see below)maybe the dev can change it so the song title is at the top and the artist is at the bottom
i use a different discord plugin (https://github.com/wiiblob/mb_DiscordRichPresence) and i think it looks much cleaner that way.
anyone knows if these plugins are able to pull cover art from last.fm or musicbrainz, instead of showing the musicbee icon?
The Plugin you mentioned is not displaying the album in the presence text fields (it is using the image text for this). I tried to display as much data as possible in the given fields and decided that the album is the least significant one, that is why it is in the position that currently gets cut off.
For pulling images, there is an issue (https://github.com/sll552/DiscordBee/issues/3) for this, unfortunately this also requires changes from Discord.
maybe if we an get Discord to treat musicbee as if it were spotify and not just a game? you know? Make Musicbee look like spotify somehow? I dunno. Just an Idea. It's not like I know how complex that would be? But I can imagine you'd have to identify which files interact with discord and then seeing what do with them to bridge them to musicbee?
I see 2 disords plugins with the same name on 1st screenshot. this may the problem. try to delete 1 of plugins from mb\plugins folder.While I agree that there being two instances of the plugin in the MusicBee preferences is odd, the second screenshot shows all files related to the DiscordBee plugin, all of which come directly from the "DiscordBee-Release-1.2.1.zip" file from the download page on GitHub, so I don't think I have any unnecessary/duplicate files.
Your second screenshot also shows two "mb_DiscordBee.dll" files. The ZIP I just downloaded from the first post in this thread only has one. I suggest you delete -all- of the discordbee files and start over. Make sure click 'uninstall' in the Plugins preferences first and then delete the files.
It also looks like the smaller of those two dlls is the config file, but the filename is different from what's in the ZIP. Hence the reason for suggestion you delete everything related to this plugin and start fresh.
I know this has been asked before, however, regarding the icon: is the limitation due to MusicBee's way of handling the plugin?
I know that there's a similar plugin for foobar2000 which makes it so you can pick a custom icon to show in the discord app. Thanks.
I know this has been asked before, however, regarding the icon: is the limitation due to MusicBee's way of handling the plugin?
I know that there's a similar plugin for foobar2000 which makes it so you can pick a custom icon to show in the discord app. Thanks.
This is a Discord limitation.
Could you give me a link to the mentioned plugin, maybe the author found a way around this?
This app stopped working for me after a discord update. Is anyone else having this issue?
This app stopped working for me after a discord update. Is anyone else having this issue?
This app stopped working for me after a discord update. Is anyone else having this issue?
randomly stopped working no reason whatsoever.Your screenshot shows that the plugin hasn't been enabled.
uninstalled the plugin and cant reinstall just comes up with this meaningless error.
https://cdn.discordapp.com/attachments/678484684237176854/724424678772310031/unknown.png
randomly stopped working no reason whatsoever.Your screenshot show that the plugin hasn't been enabled.
uninstalled the plugin and cant reinstall just comes up with this meaningless error.
https://cdn.discordapp.com/attachments/678484684237176854/724424678772310031/unknown.png
Are you trying to wind me up?No, not at all. I asked because it wasn't clear to me what steps you had taken. And enabling a plugin is sometimes overlooked.
I can't even uninstall it now, it just stays there. Nice coding :PClose MB and go to your plug-ins folder and delete the dll. Then restart MB and the plugin should no longer appear.
The author of this plugin hasn't been on the forum since mid-January. The project may be abandoned.
any fix for this yet?
(https://cdn.discordapp.com/attachments/678484684237176854/735675382870704198/unknown.png)
Glad to see that you're still around and supporting the plugin.The author of this plugin hasn't been on the forum since mid-January. The project may be abandoned.
Fortunately I can correct you here ;). I haven't been active here because somehow the email notifications for new messages stopped working for me. Sorry for that.
I found this thread after installing DiscordBee and only seeing "Now Playing MusicBee". The fix is to make sure both apps are launched in Administrator mode. Most people will already be launching Discord in Admin mode as some features are crippled without it. Do the same for MusicBee and it is fixed:thank you! after months with this problem, you were the only one giving a good solution :D
Doesn't fix the issue for me unfortunatelly :(I found this thread after installing DiscordBee and only seeing "Now Playing MusicBee". The fix is to make sure both apps are launched in Administrator mode. Most people will already be launching Discord in Admin mode as some features are crippled without it. Do the same for MusicBee and it is fixed:thank you! after months with this problem, you were the only one giving a good solution :D
The Plugin you mentioned is not displaying the album in the presence text fields (it is using the image text for this).EDIT: Found a copy of that repo (here (https://github.com/Harmon758/mb_DiscordRichPresence)), it doesn't seem to display very differently at all, based on the screenshot in the readme? Maybe I'm misunderstanding something but that idea sounds like a dud. Either way, no logo would still be lovely.
Would it be possible to toggle the MusicBee logo off completely? It doesn't feel very relevant to me, and removing it would leave more room for the other text to be wider.
I can see someone in a public server playing Spelunky 2, it has no icon but still seems to use rich presence (it says "spelunking"), so I'm guessing it's possible?
I saw you mention this about another plugin, but that repository is gone. This sounds like getting rid of the logo may free up another text line even? Sounds handy if so, but I realise this is a more complex level of customizability I'm talking about.QuoteThe Plugin you mentioned is not displaying the album in the presence text fields (it is using the image text for this).EDIT: Found a copy of that repo (here (https://github.com/Harmon758/mb_DiscordRichPresence)), it doesn't seem to display very differently at all, based on the screenshot in the readme? Maybe I'm misunderstanding something but that idea sounds like a dud. Either way, no logo would still be lovely.
thanks, i will take a lookI was able to make this work by simply commenting out the contents of SetImage(name) and compiling. That would presumably be pretty easy to add a toggle to?
thanks, i will take a lookI was able to make this work by simply commenting out the contents of SetImage(name) and compiling. That would presumably be pretty easy to add a toggle to?
Discord's documentation (https://discord.com/developers/docs/rich-presence/how-to#rich-presence-field-requirements) does claim that all fields are optional.
(https://cdn.discordapp.com/attachments/622089187809820672/819383087648735242/unknown.png)
Absolutely love your work. The only improvement i could suggest is the ability to change icon displayed on discord depending on the current song playing (Embedded into the song). And the default Music bee icon when its absent. Would love it if the album art had a tiny Music bee logo at the corner. Then again its absolutely amazing just as it is now too :)
any fix for this yet?
(https://cdn.discordapp.com/attachments/678484684237176854/735675382870704198/unknown.png)
I suspect this is caused by some incompatibilities with another plugin, but this is just a guess. Can you please take a look at the error log that has been mentioned before. Also try to disable or delete all other plugins in the plugin folder and see if DiscordBee gets loaded in this case.
I suspect this is caused by some incompatibilities with another plugin, but this is just a guess. Can you please take a look at the error log that has been mentioned before. Also try to disable or delete all other plugins in the plugin folder and see if DiscordBee gets loaded in this case.
6/20/2021 2:03:35 PM - 10.0.19042.0 - 3.4.7805.33439D - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
at DiscordRPC.DiscordRpcClient..ctor(String applicationID, Int32 pipe, ILogger logger, Boolean autoEvents, INamedPipeClient client)
at MusicBeePlugin.Plugin.Initialise(IntPtr apiInterfacePtr)
--- 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 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at #=zlFwaJ1S_oYR_8J8laA==..ctor(#=zVzsNxnIpA1tczBaJkA== #=zMbi_FLA=)
I'm not sure I completely understand the steps you've taken ("spamming the uninstall button" means what??) but first do a simple Windows File Explorer search for "mb_DiscordBee.dll" to see if the file remains in some other folder. If so, delete it and restart MB. If it remains on the plugins list, try re-installing the plugin manually, then hitting the uninstall button again. If it's still on the list, and the plugin file is truly gone, there are other ways to remove the entry itself but first let's see what happens after the steps above.
a plugin can be located in different folders depending on how its installed
C:\Users\<your id>\AppData\Roaming\MusicBee
MusicBee installation folder\Plugins
delete from both locations
OH MY GOD THIS WORKED. THANK YOU SO MUCH!!!!!!I had believed what you said when you replied to my first post that asked you to do a File Explorer search with: "Ive searched for the file on all my hard drives and found nothing," or else we could have gotten there earlier. Anyway, I'm glad you have it fixed now.
Could you post a screenshot of your plugins directory?
@reynardlee: the plugin was probably already there but in a different directory, causing the error when you tried to install it again (see: https://getmusicbee.com/forum/index.php?topic=24336.msg192148#msg192148 (https://getmusicbee.com/forum/index.php?topic=24336.msg192148#msg192148)) .
Try deleting it from all locations (please do a Windows File Explorer search of the entire drive(s) if you are not sure where it may be), restarting MusicBee, and installing the plugin again.
I am working on getting album covers supported using your own discord app. The basics are working but there are some major limitations on Discords side, mostly because this si not intended for automation.
My plan is to have a working version next week which will allow the use of the plugin with your own discord app id and it will handle the last ~300 albums that have been played, the oldest covers will be overwritten when the limit is reached, so you should never notice anything. I will provide a guide on how to setup the discord app and what the limitations are when I have finished implementing what I have planned.
Yes, unfortunately I had less time to work on it than expected.
But nonetheless I am happy that version 2.0.0 was just released and includes the album upload and some bugfixes. You can download it at https://github.com/sll552/DiscordBee/releases/tag/v2.0.0
Ooh I've been waiting for this. Thanks for the release!
I ended up giving it a shot. I played a track but even after 15 minutes the artwork hasn't been uploaded as an asset (because it's still not there on the developer page and no image shows up on Discord).
I tried manually uploading an image instead and it indeed didn't appear immediately, however I was able to see the manually uploaded image around 5 minutes after.
I'm wondering if it's because I have the album art embedded into the file and not actually as a file?
I ended up giving it a shot. I played a track but even after 15 minutes the artwork hasn't been uploaded as an asset (because it's still not there on the developer page and no image shows up on Discord).
I tried manually uploading an image instead and it indeed didn't appear immediately, however I was able to see the manually uploaded image around 5 minutes after.
I'm wondering if it's because I have the album art embedded into the file and not actually as a file?
Did the upload of the basic assets work? Do you see the logo, play, pause, ... icons on the developer page? Because only if those are present the cover uploads will start.
Please take a look at https://github.com/sll552/DiscordBee/issues/92#issuecomment-956312241
Ok thats interesting, because that should be the folder where discord saves some state, including the auth token the plugin needs to upload the assets.
Could you make the window a little bigger for the last command, because the path for "--user-data-dir" is the interesting part?
Could you do the steps mentioned in https://github.com/sll552/DiscordBee/issues/92#issuecomment-956630886
I guess I need to start a support Discord server ;D
By any chance, could it be that you have not enabled 2-factor authentication for your discord account? If so please enable it and try again
My hopes are that the plugin works now.
Ooh I've been waiting for this. Thanks for the release!
Does it work for you?
Mine hasn't uploaded a single artwork either, and I played music for well over 6 hours.
I think the better solution would be to just let us choose which 296 album arts to use, since that would also avoid discord flagging our accounts with excessive api calls (deleting old artwork to upload new ones). Less risk, less unpredictability.
Mine hasn't uploaded a single artwork either, and I played music for well over 6 hours.
I think the better solution would be to just let us choose which 296 album arts to use, since that would also avoid discord flagging our accounts with excessive api calls (deleting old artwork to upload new ones). Less risk, less unpredictability.
Totally agree with this suggestion. It would be great to somehow be able to choose only specific albums to have art on.
I stick to version 3.0.5977 of MusicBee for compatibility with a skin I use, …It must be a very special skin that it makes you stagnate with a five year old version of MusicBee.
Burnt Orange, though I have it recoloured to be magenta.I happen to have a repository of old skins, and this Burnt Orange works fine for me on MB 3.4
(https://imgur.com/a/EVrvaDL)
Can someone please help me with this?
I am getting this "Unable to initialise plugin" error message when trying to enable this plugin from the musicbee preferences menu.
at MusicBeePlugin.DiscordTools.DiscordClient.<UploadArtwork>d__22.MoveNext()This shows the problem is with the Discord Bee plugin. Try updating the plugin to its latest version (https://github.com/sll552/DiscordBee/releases (https://github.com/sll552/DiscordBee/releases)) first, and if errors continue post in that plugin's forum thread so its developer can see them.