-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discord integration #363
base: master
Are you sure you want to change the base?
Discord integration #363
Conversation
Looks promising! I remember I added discord integration to MPV Shim but for JMP it is a lot more involved. You might be able to use the client ID I registered for MPV Shim 743296148592263240. I also have some pre-registered icon names. https://github.com/jellyfin/jellyfin-mpv-shim/blob/master/jellyfin_mpv_shim/rich_presence.py For this to be merged, the following enhancements would be desired:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hy
I have a rust project that does this but it uses the jellyfin api, i dont know if it'll be any help but https://github.com/Radiicall/jellyfin-rpc It supports Windows, Linux and macOS but its written in an entirely different language from this entire project. |
any updates with this? |
This is a great idea. Although personally, I would much rather be required to create my own Discord application via the developer portal instead and provide my own application ID for privacy reasons. Since images uploaded by the application to Discord to be used for rich presence are also viewable by the application's developer in the Discord developer portal. There is also a 300 image limit for Rich Presence art assets per application, so every Jellyfin client using the same application ID to communicate with Discord is not a good idea. There's a good plugin for the music player, MusicBee, that I think implements Discord Rich Presence very well. |
The problem with art that you are referring to is a non-issue, having the asset as a url will not add it in there and will not make it visible to the application dev. I even double checked this just now as I have an app in Discord's dev portal that uploads images to imgur and uses jellyfin images directly, the tab is completely empty 0/300 assets. If you're looking for privacy then having your playback as a visible status on Discord is not something you want |
This is good to know, thanks for taking the time to explain. I completely missed the part about using external URLs in the documentation I linked somehow. |
This pull request adds discord integration to JMP. This means that discord will display which show/movie you are currently watching, as well as the time left.
PR is a draft because:
Most of the changes are in DiscordComponent. All the other .h/.cpp are files provided by discord.