VLC-Discord RPC
VLC media player rich presence for Discord
A simple integration that updates your Discord status with the media currently playing on VLC Media Player using Discord’s Rich Presence.
Features
- Auto-detects VLC activity.
- Updates Discord status with media details.
- Supports major media formats (
.mkv
,.mp4
,.avi
,.mov
,.mp3
,.flac
,.wav
). - Simple setup and usage.
Installation
Prerequisites
- Python 3.7+
- VLC Media Player
- A Discord application with Rich Presence enabled (
CLIENT_ID
required)
Steps
- Clone the repository:
git clone https://github.com/Loftyvirus/VLC-discord-RPC cd vlc-discord-rpc
- Install dependencies:
pip install -r requirements.txt
- Set up
.env
file:cp config/.env.example config/.env
Edit
config/.env
to add your DiscordCLIENT_ID
:CLIENT_ID=your_discord_client_id_here
- Run the application:
python main.py
Usage
- Start VLC and play a media file.
- Run the application (
python main.py
). - Discord status updates automatically.
- Press
Ctrl+C
to stop.
Configuration
CLIENT_ID
: Required for Discord Rich Presence (Create one).
Contributing
- Fork the repository.
- Create a feature branch (
git checkout -b feature/YourFeatureName
). - Commit changes (
git commit -m 'Add feature'
). - Push (
git push origin feature/YourFeatureName
). - Open a pull request.
Acknowledgments
- pypresence - Discord Rich Presence library.
- psutil - Process monitoring.
- python-dotenv - Environment variable management.