forum

Retrieving currently playing song WITH LINK

posted
Total Posts
2
Topic Starter
firedigger
So I've found a solution to output the currently played song. It could be taken just from the window title.
But I see no easy way to output the beatmap link.

Without a direct approach I decided to try to take song title and put it into osu!beatmap search.
Unfortunately, I've failed to log into osu! using a standard post request. There must be something trivial I am not understanding.
I have tried to imitate the POST-request with postman and did from parameters:
{username:firedigger,password:password}, but I didn't get an answer indicating that logging was working and my sequental search just wouldn't work.
I am using NodeJs for the script btw.

I've definetely seen working link output, but I can't find a link to a fresh version of osu!stream companion, looks like it's being recoded or something.

Anyway, I wonder if you guys could come up with any ideas for me :)
Topic Starter
firedigger
Okay, I have realised that the most technological way is through MSN live messenger status.
osu! is sending a windowsAPI signal which apparently has beatmap id or something
https://github.com/Piotrekol/MSN-event- ... istener.cs
Here's Piotrekol's class for capturing such a signal, unfortunately I am not sure if I can understand the code.
Maybe someone could help by adding a main function which would just output this to a file, like usual helpers do?
Please sign in to reply.

New reply