forum

[Twitch.tv] osu!NowPlaying for PhantomBot

posted
Total Posts
1
Topic Starter
Nekres
osu!NowPlaying - a recompiled version of PhantomBot with osu beatmap detection

I present you a windows-only feature that auto detects which song/beatmap is playing EVERYWHERE in osu!

The detection works:

  1. while in the menus,
  2. when you start playing
    and
  3. while you are watching someone.
Example output from my Twitch chat:

[00:09] TaokakaBot is listening to Agressor Bunx - Tornado (Original Mix)
[00:09] TaokakaBot is watching Natsume Chiaki - Hanairo Biyori [Mei's Hard]
[00:09] TaokakaBot is listening to Shindehai - ONE-PUNCH MAN FOREVER
[00:09] TaokakaBot is playing Shindehai - ONE-PUNCH MAN FOREVER [Lumael's A-Class]
(Anti-spam: Replies have a delay of 5 seconds. If you switch songs within this timeframe the previous scheduled reply will be canceled.)

it uses Twitch-IRC's /me chat command to make the phrase look like the /np from osu!-IRC's chat.

Since the rhythm game osu only really supports microsoft windows (OS X is still in early Alpha) this will only support windows.

For this to work you need to go into osu!'s options menu and turn on "MSN status integration" as this script is disguising a hidden native window as MSN to eavesdrop on the application message data sent from osu to the MSN messenger.

Installation:

Step -1. Setup PhantomBot following this guide.
Step 0. Always up-to-date instructions are located here.

Please, enjoy. :)

Thanks to
Piotrekol - I used his listener.cs as reference for my java port (MSNEventListener.class).

For anyone interested how this works:
The code is Open Source and can be found on my GitHub.
Please sign in to reply.

New reply