Using the Jellyfin API to set music genres

I wrote a little script that uses Essentia to predict the genres of a music file. Now, I want to scan and categorize my whole music collection and transfer the genres to my local jellyfin instance.

I looked into the Jellyfin API Documentation and found the /Items/{itemId} Endpoint. However, I could not find out how to get the itemId from the local path to the music.
I also tried using .nfo files, but they seem to work only for entire albums and not for single songs.

Leave a Comment