Skip to content

dhinakg/vm-rpc

Repository files navigation

vm-rpc

Discord RPC for VMs.

This software is still in alpha development

pypresence

Works with VMware Workstation 14/15, VMware Fusion 14/15, Hyper-V and VirtualBox 7. VMware Workstation Player 14/15 users, see here.

How to use

  1. Create a Discord app. https://discordapp.com/developers/
  2. Install Python 3.
  3. Install pypresence and python-dateutil by running pip -r requirements.txt.
  4. Rename sample-settings.json to settings.json and configure your settings as neccessary.
  5. 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
  • 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