Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Jakhaxz/VRChatSpotifyControler
Media controller for Spotify using VRChat OSC Supports now playing text using VRChat chatbox
https://github.com/Jakhaxz/VRChatSpotifyControler
hacktoberfest vrchat vrchat-osc vrchat-tool
Last synced: 2 months ago
JSON representation
Media controller for Spotify using VRChat OSC Supports now playing text using VRChat chatbox
- Host: GitHub
- URL: https://github.com/Jakhaxz/VRChatSpotifyControler
- Owner: Jakhaxz
- License: mit
- Created: 2022-03-10T00:23:51.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T03:47:14.000Z (about 2 years ago)
- Last Synced: 2023-02-28T23:46:35.710Z (almost 2 years ago)
- Topics: hacktoberfest, vrchat, vrchat-osc, vrchat-tool
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# VRChatSpotifyControler
Media controller for Spotify using VRChat OSC
Supports now playing text using VRChat chatbox## Usage
#### Now Playing Chatbox
To use just the now playing chatbox, you only need to run the program while Spotify and VRChat are open.
To stop the now playing chatbox just close the program.#### Media Controls
Adding the Media controls to your models allows you to control Spotify and also toggle the now playing chatbox, without closing the program.
In Unity set your avatar up with avatar 3.0 parameters:
pause-play : bool
next-track : bool
previous-track : bool
vol-slider : float
now-playing : boolThe names of the parameters must match exactly.
![Avatar_Paramaters](https://user-images.githubusercontent.com/21070138/189288415-bca94324-bd49-4020-975e-eef277fbdb60.png)
Add 4 buttons and one radical puppet to your avatar 3.0 menu, and assign the paramaters as shown
![Avatar_Menu](https://user-images.githubusercontent.com/21070138/157578170-08f8be5e-4c48-43cb-8169-55da703bac62.png)
![Now_Playing](https://user-images.githubusercontent.com/21070138/189288499-d209634c-5183-403f-ba60-3fcff7904571.png)Upload your avatar, then start VRChat
Download the latest executable from [releases](https://github.com/Jakhaxz/VRChatSpotifyControler/releases) and double click to run.
If all done correctly you can now control Spotify from your Avatar 3.0 menu
## Running from source
### Prerequisites
- Python3## Getting Started
Download zip or clone repository
Open Command Prompt and navigate to the extracted directory
Install requirements
```bash
py -m pip install -r requirements.txt
```
Run main.py
```bash
py main.py
```## Troubleshooting
### Stuck "Searching for an open Spotify.exe process..."
Make sure Spotify is open and if the message persists then play any song.
This should cause the SystemMediaTransportControlsSession to be created for Spotify, that the application is looking for.### Volume control does not work
Volume control currently only works if the output device for Spotify is the default device.
Search for "Sound mixer options" in Windows start, find Spotify and make sure the Output is set to default. Spotify may need to be open and playing for it to show in the list.
![Spotify_Sound_Mixer_Options](https://user-images.githubusercontent.com/21070138/193977233-02f91a50-6e4a-4fe9-9b4c-84d13a9ca918.png)