This script updates your Discord Rich Presence with the currently playing game on your modded Xbox 360 running the Aurora dashboard with the Nova plugin.
- Displays the current game being played.
- Shows the elapsed playtime in a human-readable format.
- Updates every 15 seconds.
- Handles special cases for unknown games and the Aurora dashboard.
- Uses custom images for games when available.
- A modded Xbox 360 running the Aurora dashboard with the Nova plugin active.
- Your own Discord Application Client ID.
- Python 3.x installed on your computer.
requests
andpypresence
Python libraries.
-
Clone the repository:
git clone https://github.com/jnackmclain/Xbox360_presence.git cd Xbox360_presence
-
Install the required Python libraries:
pip install requests pypresence
Sign into the Discord Developer Portal.
Create a new Application and name it. The name will show up in the rich presence. I like using Xbox 360 Hardware
.
Copy your application client id.
-
Rename
config_default.ini
toconfig.ini
which will have the following content:[discord] client_id = YOUR_CLIENT_ID_HERE [xbox] ip_address = YOUR_XBOX_IP_HERE
-
Update the client id with the application id we got earlier
-
Update the ip_address with the IP address of your Xbox 360
[discord]
client_id = 12345678910
[xbox]
ip_address = 192.168.0.36
You can run the script with or without providing the IP address of your Xbox as an argument.
python rich_presence.py 192.168.0.69
- Ensure your Xbox 360 is powered on and connected to the same network as your computer.
- The Nova Web UI must be running on the Xbox for the script to work correctly.
When running, the script will update your Discord status to show the game you're playing along with the elapsed time:
This project is licensed under the MIT License. See the LICENSE file for details.
- Aurora Dashboard: A dashboard replacement for Xbox 360.
- Xbox Unity: Source for images used in rich presence.
- Nova Plugin: A plugin for the Aurora dashboard.
- albertofustinoni: Source for matching title id to title, used in rich presence.
- pypresence: A library for Discord Rich Presence.
- requests: A simple, yet elegant HTTP library for Python.