Fetches information from MacOS's MediaRemote private framework on the currently playing media and displays it under your Discord Profile
- Swift
- Discord Game SDK (at least 3.2.1)
- gcc
- unzip
- curl
TBD
There's build.sh in the repo. Run build.sh download
after cloning and then without arguments on next builds
-
extract the C header from C/discord_game_sdk.h
-
extract lib/x86_64/discord_game_sdk.dylib if you're on Intel Mac or lib/aarch64/discord_game_sdk.dylib if you are on M-series chip
-
swiftc nowPlayingInfo.swift -emit-library
which will build nowPlayingInfo.dylib -
gcc -o main.o main.c -L./lib -ldiscord_game_sdk -L./ -lnowPlayingInfo -lpthread -rpath lib
to build the executable -
./main.o ${your client Id}
- Head to Discord Developer Portal and register an app
- After it's created, copy the Client ID
- run
build.sh download
or build manually - run
./main.o *insert client id here*