Page 1 of 2

Now playing for Discord

Posted: Mon Oct 16, 2017 2:23 pm
by Kermie
Is there such a bot or script? thanks!

Re: Now playing for Discord

Posted: Fri Oct 20, 2017 6:26 pm
by Peke
Can you please elaborate what you are actually try to archive?

Re: Now playing for Discord

Posted: Fri Oct 27, 2017 2:39 pm
by Kermie
Certainly.

looking for a script that will tell everyone in a Discord chat room what song i am playing. not sure if such a beast exists vbut my searches have turned up nothing.

Re: Now playing for Discord

Posted: Wed Nov 08, 2017 9:29 pm
by Peke
No there is no existing script unfortunately.

Re: Now playing for Discord

Posted: Thu Nov 09, 2017 11:03 am
by NomadCruiser
No such scripts.

Re: Now playing for Discord

Posted: Fri Aug 24, 2018 6:02 pm
by Garion525
Has there been an update? I am sure I am not the only one who desires one

Re: Now playing for Discord

Posted: Fri Jun 21, 2019 4:47 pm
by Stormdancer
Still want something like this!

Re: Now playing for Discord

Posted: Sat Jun 22, 2019 8:02 pm
by Peke

Re: Now playing for Discord

Posted: Sun Apr 12, 2020 1:22 am
by malkierian
Oh, man, do I love necroing a thread, but there's really no point to creating a new one just to report on this.

After some time, I looked into this again, and it looks like the Rich Presence API was deprecated in favor of the Game SDK Activity functionality (which means it's likely to be even more difficult to get it to say "Listening to" instead of "Playing", which I think is stupid). The fact that MM5 is build on Chromium makes this impossible, as you'd have to be able to run native DLLs. I'm about to start work again on a C# external tie-in app, maybe I'll be able to tweak it just right, but the devs' platform of choice has ruled this out as an internal functionality (and even then, it would be a dev thing, not scriptable, most likely).

Re: Now playing for Discord

Posted: Sun Apr 12, 2020 7:51 am
by Peke
Hi,
It was same in MM4, but we enabled Object to be accessible in third party apps and DLLs that directly Access MM SDBApplication. Same thing can be done in MM5, just please ask there and someone will answer. If you think that something like that is missing let us know it can be added. Due the multi platform we need to think about it, but there is always space to add platform specific features.

Re: Now playing for Discord

Posted: Sun Apr 12, 2020 12:15 pm
by malkierian
Well, there are already several requests to make a NodeJS binding to the Game SDK, so we'll see if anything comes of that before the request to put anything else into MM (though even with that, integrating it with MM would be difficult).

Re: Now playing for Discord

Posted: Sun Apr 12, 2020 12:33 pm
by Peke
Hi,
There is nothing that obscure someone with knowledge of Game SDK/API to bind MM with. MM5 is build around chromium so you already have half baked bread. MMS is written in Node.JS, open source so there is even less limitations to make it. We would rather see MM released on MAC/Linux as fully fledged player than Discord (I personally do not use it at all), also I have Logitech G19s keyboard so I can control MM from any game on keyboard Display.

On the other side we are always here to help, improve, add missing features in MM to help developers to make plugins, even mostly allow them earn on monetizing them.

Re: Now playing for Discord

Posted: Sat May 02, 2020 1:41 pm
by Stormdancer
If people are still interested in this, I wrote a discord bot, that works with a MM script, and announces the currently playing song. However, it requires that both systems are on the same machine.

Then a friend took this a bit further, and made it work off the streaming data.

Happy to discuss this further if there is still interest.

Re: Now playing for Discord

Posted: Sun May 03, 2020 9:45 am
by Peke
Hi,
If you can make MM script and instructions how to set it up then MM plugin installation can be made.

Re: Now playing for Discord

Posted: Wed May 06, 2020 4:49 pm
by Stormdancer
I'm an old-school fan of splitting layers. Basically I wrote a small script in VBS, for MM, which writes the current song data out into a file.

Then there's a separate JS bot for Discord that runs via node, which takes that info and sends the info to discord.

The advantage of this was that it worked no matter what you were doing.

However, we've since worked on a system that reads the stream data, and uses THAT to pose the message.

It's still fairly hacky, but we're working on cleaning things up.