jellyfin / jellyfin-kodi

Jellyfin Plugin for Kodi
https://jellyfin.org
GNU General Public License v3.0
820 stars 111 forks source link

Add user to session non-interactively #829

Open rubdos opened 7 months ago

rubdos commented 7 months ago

Allows to add/remove a user to/from a session through an API call.

Use case: I use presence tracking via Home Assistant, and this allows me to update the session user list via whomever I detect present in a room/home.

This is probably not the cleanest code I've ever produced... but in order to get it cleaner, I'd first need to eat something, and I got nerd-sniped. Sorry!

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

oddstr13 commented 3 months ago

Not sure if I understand how this is supposed to be used. Could you provide some more details on the use case for this?