Discord RPC to show what PS4/PS5 game you're playing
The default appids I setup only cover art for NA region games, if you're playing games outside the NA region(and use windows), I recommend checking out this fork instead
You can still use this anyway, but game art assets will be replaced with a PlayStation icon instead
Or if you know what you're doing, you can setup your own discord application, but that won't be covered here.
- Download the latest exe/ini files in releases
- Login into your My PlayStation account
- In another tab, go to https://ca.account.sony.com/api/v1/ssocookie
- Copy the npsso key into playstationpresence.ini
- Add PSNID to playstationpresence.ini
- You must have permission to view status, e.g your own account if private
- If you're playing games outside the NA region, change gameart to false
- Status is partially broken when art assets are missing, this replaces the art assets with a PlayStation icon instead
- Run the exe with playstationpresence.ini in the same folder
- Download with
git clone https://github.com/elsorino/playstationpresence
- Copy playstationpresence.example.ini to playstationpresence.ini
- Login into your My PlayStation account
- In another tab, go to https://ca.account.sony.com/api/v1/ssocookie
- Copy the npsso key into playstationpresence.ini
- Add PSNID to playstationpresence.ini
- You must have permission to view status, e.g your own account if private
- If you're playing games outside the NA region, change gameart to false
- Status is partially broken when art assets are missing, this replaces the art assets with a PlayStation icon instead
- Install requirements with
pip install -r requirements.txt
- Run the script with
python playstationpresence.py
The script works by using PSNAWP to check a user's status every 15 seconds, using pypresence to update RPC if the status is different
If a game is supported, it will have their icon shown while playing. A list of supported games is available at the games repository
Note that only NA region games are supported, if an NA region game is missing art assets, feel free to let me know
Non-games such as Netflix and suspended games will still show as playing the previous game. This is an issue with the PSN API and can't be fixed.
For any other issue, you can contact me on Discord at elso#0442 or open an issue
Supports PS4 & PS5
Vita/PS3 don't seem to work with the PSN API used. See below for alternatives for those systems
Program itself works on Windows, Linux, and macOS
Look for a way to automatically determine if the art asset is available
Playstation Vita RPC - Discord RPC for the Playstation Vita written in C++(requires homebrew)
PS3-Discord - Discord RPC for the PS3(requires homebrew)
PlayStationDiscord - Like this but written in Electron.
cadewey/playstationpresence Fork of this with a completely different setup. Windows only, but much better if you're outside the NA region