jellyfin / jellyfin-apiclient-python

Python API Client for Jellyfin
GNU General Public License v3.0
94 stars 32 forks source link

Identify api #40

Closed Erotemic closed 10 months ago

Erotemic commented 10 months ago

This adds a new method to the API, which lets the user access the "identify" feature present in the web client.

It took me much longer to figure out how to do this than this diff would suggest. The jellyfin API is... well its an open source project with a lot of technical dept. I'm not sure how to link to the matrix discussion, but the friendly folks in the "Jellyfin Development" room (#jellyfin-dev:matrix.org) were very helpful. The relevant conversation happened in ~2024-Jan-02 T 04:14 PM.

I've marked this as an "experimental" api, because without a testing mechanism in the repo I feel less confident about it. But I have used it, and it does seem to work.

I would like to add a small test suite to this repo that does a quick automated setup of a jellyfin server, and then tests the API against it. Not sure how difficult that will be, but it's something I'm thinking about.

Erotemic commented 10 months ago

Thanks for taking the time to review / merge these!