An open API service indexing awesome lists of open source software.

https://github.com/beangreen247/osu-now-playing-song-name-graber-script

A script that grabs the name of the current song played in osu! and saves it into a text file to be used in obs.
https://github.com/beangreen247/osu-now-playing-song-name-graber-script

247 bean file grab grabber green live now obs osu osugame playing song stream text title

Last synced: 2 months ago
JSON representation

A script that grabs the name of the current song played in osu! and saves it into a text file to be used in obs.

Awesome Lists containing this project

README

        

# osu-now-playing-song-name-graber-script
A script that grabs the name of the current song played in osu! and saves it into a text file to be used in obs.
```bash
while sleep 1; do
osuwindowname=$(xdotool search --classname 'osu\!.exe' search --name "osu" getwindowname|awk 'sub(/^.{8}/,"")');
echo "$osuwindowname" > songname.txt;
done
```
Example here [CLICK ME](https://mega.nz/file/jg1HBa6b#21OCdJHs4-O_M1FVqLUKaMlWo76kSyslmm42tCD5gmk)