Code Monkey home page Code Monkey logo

discordbee's People

Contributors

codef53 avatar dependabot-preview[bot] avatar dependabot[bot] avatar fumiichan avatar osyu avatar sll552 avatar svarr avatar velocityra avatar vxsz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discordbee's Issues

Cannot Initalise Plugin

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.

image

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!

Rich Presence Not Properly Showing

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):

  • MusicBee Version: 3.3.7367
  • Plugin Version: Latest

Rich presence not appearing

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):

  • MusicBee Version: 3.3.7491
  • Plugin Version: 1.3.2

Discord does not require MusicBee to be a game for Rich Presence.

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:

  1. Install DiscordBee
  2. Done

Screenshots
Rich Presence working: Rich Presence
Proof I had no game selected: No game selected

Environment:

  • MusicBee Version: 3.3.7367
  • DiscordBee Version: 1.3.2

Make displayed values and layout customizeable

Users should be able to customize which information is displayed and how (order,position) it is displayed. This requires:

  • Settings window and persistent settings file
  • Layout mechanism (maybe some placeholders like "{Artist}" etc.) should be as generic as possible
  • Rendering of the layout to a sane string (remove not needed separators when some values are null etc.)

AppID / ApplicationID

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.

Bored of Musicbee icon

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).

Is there a way to change the Icon?

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.

Any way to hide the track counts in the status?

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!

Allow the use of <year (yyyy)> tag natively

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.

Unable to add plugin

Describe the bug
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to pref / plugin
  2. Click on add plugin
  3. select the zip
  4. See error

Environment (please complete the following information):
image

  • Plugin Version: 1.4.2

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.

Allow manually setting client id so users can add their own album arts

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.

Configure... elements not visible

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:

  1. Open the preferences
  2. click Plugins button
  3. click Configure... button

Expected behaviour
When opening the settings I see no button text and only the first line of the options viewable. (see below)

Screenshots
image
my computer with a 3000x2000 resolution

image
someone else with a similar issue

Environment (please complete the following information):

  • MusicBee Version: [3.4.7805]
  • Plugin Version: [1.4.2]

Album cover and "listening" instead of playing

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?
game type

Rich Presence not displaying in both Canary and Release

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:

  1. Open both Discord and Discord Canary on different accounts
  2. Start MusicBee with DiscordBee
  3. Add MusicBee as a game to both
  4. Only see rich presence on the Discord Canary account

Expected behavior
Display it on both accounts

Screenshots
On the release build:
image
On canary:
image

Environment (please complete the following information):

  • MusicBee Version: 3.4.7568
  • Plugin Version: 1.4.0

Additional context
Add any other context about the problem here.

Presence is not updated when it contains a string with length<2

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

Allow us to change the "of" between the two fields in the parentheses

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]".

Japanese Characters display as "?"

unknown 1
As seen in the image above, the extension shows English just fine, but Japanese is displayed as a "?". The artist should display as "ギガP feat. れをる", and the album should display as "極彩色".

Discord only shows 'playing musicbee'

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.
discord-status-not-working
discord-status

Environment (please complete the following information):

  • MusicBee Version: MusicBee 3.3.7367

  • Plugin Version: latest as of 04/04/2020

  • Windows 10 latest

Not Working for Me

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.

Musicbee help 1
musicbee help 2
musicbee help 3
musicbee help 4

I really would appreciate any help if you see any reason for this to be wrong.
Thank you so much.

Store Version of MusicBee crashes if Discord is already open.

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.

Allow a bit more customization with current tracks/durations/etc.

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!

Can I use plugins ?

Hey are the plugins which have like 100k downloads safe ?
Can I get banned from using those?

I really want to know please :(
I really want to know if these are safe or not.
2021-04-30

Changing the default [TrackNo] field to something else and saving makes it impossible to set it back to [TrackNo]

This is an old bug I've noticed since installing this last March, 2020. Looks like it's still present.

Screenshot 2021-04-16 05 52 20 MusicBee

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.

Spotify-like behavior?

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.

image

Mainly these points:

  • Listening to [application] under the user as well as the top line in the popup.
  • Album Art visible for the icon.
  • Three rows for info, so it is not horizontally cluttered.
  • Progress bar along with time played and track length on the edges, or these can be customizable like the other fields.

Thanks!

Old boring icon

Is there a way for users to change the icon? If not, it'd be better if we changed the icon to something modern like this one.
flyBee_shaded

Play/Pause Icons

[https://hizliresim.com/ENPtEN](Photo Link) Check This. Play/Pause Icons bad for me. Can i change these icons?
Or can I remove it?

Discordbee plugin not uninstalling

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.

Presence is not updated when it contains long strings

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

  • MusicBee Version: 3.2.6827
  • Plugin Version: 1.2.0

Custom RichPresence Logo

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 :)

Virtual tags past 16 do not show in version 1.4.1

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.)

Screenshot 2021-04-05 19 31 11

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.

Screenshot 2021-04-05 19 36 59

I tried setting virtual tags 17 and 18 in the 2 highlighted boxes, both to the same result:

Screenshot 2021-04-05 19 26 28

Using Musicbee 3.4.7536 P, Discordbee 1.4.1

Can't enable plugin

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=)

Cannot Change (_ of _) Field

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

  1. Go into the configuration menu for DiscordBee.
  2. Change the two fields enclosed in parentheses to anything else.
  3. Observe as the field does not change on Discord.
  • MusicBee Version: 3.3.7310
  • Plugin Version: v1.3.0

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.

Cant initialise discordbee

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.

Screenshots
image

Environment (please complete the following information):

  • MusicBee Version: [e.g. 3.2.6345]
  • Plugin Version: [e.g. 1.4.0]

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.

Rich Presence stops if it hits character limit

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

  • Trim to 128 characters or trim to 125 characters and add "..."

Environment

  • MusicBee Version: [3.3.7367]
  • Plugin Version: [1.3.1]

Allow ability to show a tag only when it exists and hide it when it does not

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: Screenshot 2021-02-04 02 46 09
No rating: image

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).

Unicode support?

Is it possible to add unicode support?
What it is shown now is just a bunch of "????" instead of the right characters, here's an screenshot of how it looks.
untitled

Migrate to new Discord Game SDK

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.