sll552 / discordbee Goto Github PK
View Code? Open in Web Editor NEWMusicBee plugin that updates your Discord status with the currently playing track
License: Apache License 2.0
MusicBee plugin that updates your Discord status with the currently playing track
License: Apache License 2.0
Error:
Unable to initialize this plugin:
Exception has been thrown by the target of an invocation.
To Reproduce
Steps to reproduce the behavior:
Extract the zip file, as directed, into the MusicBee Plugins folder.
Restart MusicBee if running.
Open the Preferences menu to the Plugins section.
Try to enable the plugin.
Error occurs.
Expected Behaviour: For plugin to enable.
MusicBee version: 3.47797
Didn't know how to find out the other info. If anything else you need, please just ask and tell me how to find the info and will be glad to find it :D
Thank you!
Describe the bug
I'd like to say that my plugin auto-updated (before it didn't have the white Icons, now it does), then it stopped showing any type of information in Discord
Expected behavior
Should show normal plugin stuff in Discord profile area
Environment (please complete the following information):
If it's possible. could you add the ability to make it say something like:
1:23 - 2:30
The first time being the Current time, and the second time being the End time
Describe the bug
Attempted many things, rich presence still not appearing, just "Playing Musicbee"
To Reproduce
Steps to reproduce the behavior:
Clean reinstall with installer, installed plugin by dragging files in plugin folder. Attempted switching accounts on Discord. No Discord add-ons installed.
Expected behavior
Song album art and track name etc. to appear on profile.
Environment (please complete the following information):
Describe the bug
In the README.md, you state that you need to add MusicBee as a game in Discord. You don't.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Rich Presence working:
Proof I had no game selected:
Environment:
Users should be able to customize which information is displayed and how (order,position) it is displayed. This requires:
Sorry for opening up the same issue from a thread which was already closed. I can't find where the AppID or ApplicationID is located in the repository.
Is your feature request related to a problem? Please describe.
I really don't like the music bee logo bring the only thing i see
Describe the solution you'd like
The music bee logo replaced by the album art of the current playing song(embedded into the song).
If possible a music bee symbol at the corner (not the play pause icon).
What is the purpose of the "Album Artwork" field if Discord doesn't show them anyways?
I'm not a fan of the default MusicBee Icon, is there anyway to change it to the one I use? If not, it's a pretty useful feature to have.
First of all, thank you for this plugin.
I'm trying to customize the status that is sent to Discord but it seems I can't remove the track number and track count from the placeholder template. I've tried removing the values in the textboxes for them but it seems my changes didn't get saved. Is there any way to totally hide it?
Thanks again!
replacing it with " " doesnt work
Describe the solution you'd like
Can we get an option to only show on Discord if it's actually playing music, like Spotify? For example if we pause it won't show anymore.
Additional context
https://getmusicbee.com/forum/index.php?topic=24336.msg149151#msg149151
Currently this tag cannot be used so we need to make a virtual tag. It would be great if this tag can be used natively so we won't have to waste an entire virtual tag just to display something MusicBee already has a tag for.
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
Additional context
When I first tired it it first said it was missing a plugin dll, but don't say that anymore and no idea why.
Is your feature request related to a problem? Please describe.
Related to #3 in that this issue relates custom album arts
Describe the solution you'd like
Allow users to choose their own client id rather than the built in one, as this would allow users to upload their own album covers to their specific instance of the app. It would just use the album name as the key in this case. This would also allow for people to set their own name if wanted. It also sounds much more maintainable than uploading every single album image to your app. Also allow users to still use the original client id, just have a notice that it does not allow album arts.
Describe the bug
When opening the Configure... button under discordbee's plugin preferences, the window size is only adjustable left & right. I think everything after the first row may be hidden by the bottom settings. The buttons also don't show the text.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
When opening the settings I see no button text and only the first line of the options viewable. (see below)
Screenshots
my computer with a 3000x2000 resolution
someone else with a similar issue
Environment (please complete the following information):
Hi, great job with the plugin, thanks.
Will the album cover be implemented? and "Listening" instead of "Playing"?
In the JS API there is the .setPresence method that has the attribute "game.type" where you can change "playing" to "listening". Is there an identical method in the API that has been used in this plugin?
Describe the bug
If running both Discord Canary and Discord release version with different accounts, Rich Presence only displays in the Canary account.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Display it on both accounts
Screenshots
On the release build:
On canary:
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
So I found out that your plugin doesn't like songs with 1 character as song name, it won't display it. When I change the name to 2 character it does display the song, but when I change it back to 1 it keeps the previous name. When I play a different song first and then a song with 1 character as name, it will keep the information of the last song and keep counting from where I stopped that song instead of beginning again at 0:00. However certain songs with non-latin names that are 1 character do show up.
Expected behavior
All strings should be displayed correctly and the presence should always be updated
Additional context
https://getmusicbee.com/forum/index.php?topic=24336.msg149822#msg149822
https://i.imgur.com/sHFqKES.png
I'd like to be able to edit the word in between the two fields in the parentheses. Right now it's [TrackNo] of [Year]. I chose [Year] as the second field because none of my tracks have the total tracks tag, so it would always show 1 of 1. Perhaps the new version 1.3.1 fixed that, but as it stands, the second field would still be unused in my case.
Allowing the user to choose which word is shown between the two fields would open up the possibilities of tag combinations. I could for example say "[TrackNo] from [Year]".
It was perfectly working fine but after I install Better Discord it doesn't get detected by Discord anymore.
asking for a friend :P
An option so that the romanized "sorting" version of the tags can be displayed if the original tags have any non-latin characters. I listen to a lot of Japanese music so I'd like for people who don't know Japanese to know what I'm listening to.
Thanks for making this extension btw, it's awesome :)
Describe the bug
It only shows 'playing MusicBee' and not the song and or artist.
Expected behavior
Discord should show musicbee as status, but that is not happening. Plugin has been installed as instructed.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
MusicBee Version: MusicBee 3.3.7367
Plugin Version: latest as of 04/04/2020
Windows 10 latest
I apologize for being so poor with programming or anything tech-related, but I would really like to make this plugin work. I downloaded the .zip file, extracted its contents to MusicBee's plugin folder, and added the Game to Discord, but I can only get it to display that I am playing MusicBee. It will not show the current track information. I have attached screenshots below. Any help would be appreciated. I don't believe I'm using the store version of MusicBee.
I really would appreciate any help if you see any reason for this to be wrong.
Thank you so much.
Describe the bug
When Discord is running and MusicBee is started with the Plugin loaded, it crashes after a few seconds.
This also happens when Discord is started and MusicBee is already running. Probably happens when the Discord-rpc is first contacted.
Just an idea to add a bit more to the configuration for DiscordBee. Allowing to change the formatting of the tracks completely instead of being forced to parentheses, along with being able to move around things regarding the track duration and perhaps add another placeholder for the full length of the song. For example, a template that may look like:
[Artist] - [Album] ([Year])
[TrackTitle] ([TrackNo]) / [TrackCount] (then below add another line)
[CurrentLength]/[TrackLength] (CurrentLength = the 0:00 elapsed, TrackLength = the length of the track itself)
I don't really have any other ideas than that, but it'd be really cool to be able to mess with it a bit more. I always like to mess with mine and see what stuff I can add to it. Thanks!
This is an old bug I've noticed since installing this last March, 2020. Looks like it's still present.
Changing the highlighted field there to anything works, but it's impossible to set it back to [TrackNo]. Setting it to [TrackNo], then clicking Save and Close, makes it not stick, reverting to whatever was previously set. Even setting it to [TrackN] sticks, but [TrackNo] does not.
The only workaround to this is restoring defaults, which is less than ideal when you've customized everything to your liking.
Sorry if this counts as a dupe, but since #3 is locked, and the last response is from a couple of years ago, I'm checking in again about whether this is possible.
Mainly these points:
Listening to [application]
under the user as well as the top line in the popup.Thanks!
I like your discord rich presence but play/pause icons really bad pls change im wait..
[https://hizliresim.com/ENPtEN](Photo Link) Check This. Play/Pause Icons bad for me. Can i change these icons?
Or can I remove it?
I'm trying to uninstall DiscordBee, but somehow, it's still present, even after clicking uninstall. The real reason I know this is because when it disables and I re-enable it, it allows me to do that.
Describe the bug
Presence is not updated when it contains a title string with its length>=115 characters or an artist string with its length>=30 characters (often happens with songs that have several artists).
Don't know if it's a bug from DiscordBee or a limitation from RichPresence tho.
To Reproduce
Edit a song title for a string over 115 characters, or an artist for a string over 30 characters, then try to update presence by changing playing song (using default DiscordBee settings).
Expected behavior
Presence being updated on Discord.
Environment
How about an option to add a custom RichPresence Logo? Not sure if it's possible with the current DiscordRPC, or is it possible to change to a custom DiscordRPC applicationID? Might be unreasonable because there's almost no way to edit a .DLL file, but would be a cool feature :)
Describe the solution you'd like
Add a possibility to toggle the display of images in the presence, so text only should be possible.
Additional context
https://getmusicbee.com/forum/index.php?topic=24336.msg188363#msg188363
Describe the bug
Virtual tags past 16 do not show in version 1.4.1. (I actually don't know if they worked before because I only just made my 17th and 18th virtual tags after installing 1.4.1.)
Shown in my screenshot, I have 18 virtual tags, 17 and 18 being identical.
Virtual tags 1-16 all work in discordbee, no problem, when used as [Virtual1] - [Virtual16] (it doesn't take the assigned names for some reason).
Virtual tags 17 and 18, however, simply show "[Virtual17]" or "[Virtual18]" when set in discordbee.
I tried setting virtual tags 17 and 18 in the 2 highlighted boxes, both to the same result:
Using Musicbee 3.4.7536 P, Discordbee 1.4.1
Here's the error log:
7/16/2020 12:11:58 - 10.0.18363.0 - 3.3.7491.38139D - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'DiscordRPC, Version=1.0.150.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at MusicBeePlugin.Plugin..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase)
at #=zHqthFCuvsWP5aw_SIg==..ctor(#=z88wOfaCGeaMTPyIqug== #=zumfWCDQ=)
DiscordBee seems to ignore anything I put into the (_ of _) field in the configuration menu, leading it to always show "(1 of 1)" by the bottom field.
To Reproduce
I think this is related to the library update, because DiscordBee v1.2.1 does not have this issue and I am currently using it without any problems.
https://github.com/Kuunikal/mb_DiscordRichPresence
https://gitlab.com/cleaninfla/musicbee-rich-presence
i couldnt get them to work because i dont know how to compile them. But it would be nice if you could implement something like that in your future build.
The https://github.com/discordapp/discord-rpc library has been deprecated in favor of the "Game SDK" which combines much more features.
For this project it is better to switch to a C# implementation and get rid of the native dll. Use something like https://github.com/Lachee/discord-rpc-csharp
Describe the bug
When I add the plugin, an error pops up saying "Exception has been thrown by the target of an invocation." The first time i downloaded discordbee it worked properly but i deleted it once and downloaded it again and it does this.
Environment (please complete the following information):
Additional context
I noticed "discord-rpc-w32.dll" wasnt in the plugin folder and the site says I need it. I'm not sure why it's not there though.
Describe the bug
Rich presence stops working (displayed as "stopped" or it is closed) when a certain character limit is reached (about 128) for "details" or "state" field.
Expected behavior
Environment
Is your feature request related to a problem? Please describe.
I want to add the [Rating] tag to display in my status in parentheses, but when a song has no rating, the parentheses remain.
Describe the solution you'd like
Give us the ability to determine eg. if there's no rating, ([Rating]) will hide the parentheses instead of displaying ()
As well, I want to actually make it say eg. (5 Stars) when there's a rating, and nothing at all when there's no rating.
Describe alternatives you've considered
I don't have other ideas on how to go about fixing this.
Additional context
Rating:
No rating:
I would extend this functionality to add the word "-bit" after the 16, to display "16-bit", and have "-bit" hidden when listening to eg. an MP3 (with no bit depth information).
Hey, In another issue a guy asked about changing the "Playing" to "Listening" and you said that it is not possible because DiscordRPC wouldn't allow it.
However, the DiscordRPC is now deprecated in favour of the Discord Game SDK.
Now they haven't said anything about a future update to discord that may render DiscordRPC obsolete, but if you have time it is good for future proofing.
I see you have migrated to using discord-rpc-csharp which is reimplementation of the discord-rpc in C#, but this won't help if they decide to remove the old API needed for the discord rpc to work.
So could you consider switching to the new Discord Game SDK?
This can also help with the "Listening to" request...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.