Jellyfin-RPC
Program used to display what you're currently watching on discord.
Jellyfin-RPC uses the API to check what you're currently watching, this means that the program can be ran from a server or your computer. The only requirement is that discord is open and logged in.
Example Movie:
Example Series:
Terminal Output:
This program is very memory/cpu efficient using ~13mb of ram and ~0.1% of the cpu while sending info to discord.
It's even better than previous versions of the code, before it would always sit on 0.1%-0.2% but now it sits on 0.0%-0.1%, the ram usage has increased by 1 megabyte however.
CPU: Ryzen 5 [email protected]
Mem: 32GB
Setup
Make a .env file with the following items
DISCORD_APPLICATION_ID=1053747938519679018
JELLYFIN_URL=your_url_here
JELLYFIN_API_KEY=your_api_key_here
JELLYFIN_USERNAME=your_username_here
Discord Application ID
This step is optional as I have included my own.
You can make a discord application by going here.
Jellyfin URL
This will be the URL to your jellyfin instance,
if you want to know more about jellyfin you can check it out here.
Jellyfin API Key
This is the API key used for checking what you're currently watching on Jellyfin.
You can get one by going to example.com/web/#!/apikeys.html
Replace "example.com" with your instance URL.
Jellyfin Username
This is the username you use to log into Jellyfin.
The username is needed because if you have multiple accounts (friends, family) then the program will just grab the first person it sees in the list.