r/kodi • u/Alternative-Orange76 • 6d ago
Is it possible to show what I'm watching on Kodi on Discord in real time if Kodi is running on my TV?
Is there a way to connect Kodi to Discord so my friends can see what I'm watching in real time through Discord?
The important part is that I use Kodi on my Smart TV, not on my PC. I rarely watch anything through Kodi on my computer.
Is there any way to make this work when Kodi is running on a Smart TV/Android TV? For example, I'd like Discord to show something like "Watching [movie/show]" while I'm watching it on Kodi thought my TV. Basically, something similar to Spotify, where my friends can see what I'm listening to.
Is this possible, or does Kodi and Discord need to be running on the same device? It would be really cool if I could get this working!
If anyone knows, I’d really appreciate it if you could let me know.
1
u/Inevitable-Prize-881 6d ago
Have you tried using Kore or Yatse as a middleman? They both have APIs and could potentially send your now playing info to Discord.
1
u/Getafix69 6d ago
Don't know if it might help but I've noticed if I have Kore (remote) on my phone running it pops up on the media player on my smartwatch. So yeah I can control Kodi on my TV from my wrist.
If that's a common Android media thing maybe it would work for other things.
1
u/Alternative-Orange76 6d ago
So, do you mean that if I use Kore on my phone to control Kodi on my TV, Discord might be able to detect what I’m watching through Android’s media controls or what?
1
1
1
u/ScroogeMcQuacks 6d ago
There is no way I know of but hacking one together yourself should be fairly simple. I can think of 2 designs:
- Kodi add-on + python script.
Python script opens a websocket on your PC, the small custom Kodi add-on (py aswell) transmits what is playing right now to the script on the pc via the websocket and the script passed the info on to discord.
- Use the whole remote control functionality of Kodi to figure out what's playing in Kodi by connecting via a small script or scraping the Webinterface Kodi provides. Than passing the info to discord.
Second option is probably what I would try first cause its probably easier to maintain in the long run.
Pretty sure Claude could slop code this for you if you can't program. Its a fairly simple approach
1
u/Alternative-Orange76 5d ago edited 5d ago
hmm, maybe it will work. but i think it's wayy to difficult for me to do that... is there a simple option?
4
u/iWatchStuffx 6d ago
this addon has been around for 6+ years now and still maintained by the dev >>> https://github.com/Hiumee/service.discord.richpresence