Skip to content

tarokeitaro/ndcord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ndcord

Simple Discord Rich Presence for Navidrome

How it works?

Python will take Json data from Navidrome Rest API and then send it to Discord API.

How to start?

Get Discord client_id

Create your new application in the Discord Developer Portal, and get client_id.

Clone This Repository

Clone or download this repository.

git clone https://github.com/tarokeitaro/ndcord.git

Virtual Environment (Optional)

If you don't want to disturb your global environment your python system, you can create a virtual environment.

python -m venv env

Then enter the virtual environment.

Linux/MacOS

source env/bin/activate

Windows Command Prompt

source env\Scripts\activate.bat

Windows PowerShell

source env\Scripts\Activate.ps1

Download Requirements

This project requires the library of pypresence and requests.

pip install pypresence requests

Change secret.json

Fill in according to the data you have and this is mandatory!

Important. The "server" field must include / at the end of the URL.

{
    "client_id": "xxxxxxxxxxxxxxxxxxx",
    "server": "https://your.ndhost.here/",
    "username": "john",
    "password": "john123"
}

Start ndcord!

Just do this!

python ndcord.py

image

To stop this program, click ctrl + C

About

Simple Discord Rich Presence for Navidrome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages