add jellyfin api client

This commit is contained in:
2025-12-09 23:48:05 +01:00
parent f041499eb7
commit 265e646d96
5 changed files with 119 additions and 90 deletions

13
jellyfin/models.py Normal file
View File

@@ -0,0 +1,13 @@
from pydantic import BaseModel
from enum import Enum
class JellyfinMediaType(str, Enum):
AUDIO = 'Audio'
MOVIE = 'Movie'
EPISODE = 'Episode'
class JellyfinMediaItem(BaseModel):
name: str
type: JellyfinMediaType
image_url: str
metadata: dict