vm-rpc
Discord RPC for VMs.
This software is still in alpha development
Works with VMware Workstation 14/15, VMware Fusion 14/15 and Hyper-V. VMware Workstation Player 14/15 users, see here.
How to use
- Create a Discord app. https://discordapp.com/developers/
- Install Python 3.
- Install
pypresence
frompip
. - Rename
sample-settings.json
tosettings.json
and configure your settings as neccessary. - Run
main.py
. Hyper-V support requires adminstrator privileges.
Note: If you get Access is denied
, restart Discord.
Note: Discord has a 15 second ratelimit in sending Rich Presence updates.
TO-DO
- Hyper-V library
- Add Hyper-V to code
- Wait for Discord to open instead of erroring out
- Stopped running VMs message
- Multi-platform support
- VirtualBox library
- Add VirtualBox to code
- Allow user to enable/disable hypervisor support
- Add custom hypervisor priority
- Switch client IDs based on current hypervisor
- Switch large image based on current OS for VMware, and a image of Hyper-V for Hyper-V
- Small image of VMware if VMware is current hypervisor
- Unified settings file using JSON
Credits
- qwertyqwerty for pypresence
- CorpNewt for all the help they've given me with code issues