mirror of
https://github.com/HabiRabbu/Musicseerr
synced 2026-04-21 13:37:27 +00:00
20 lines
439 B
Python
20 lines
439 B
Python
from models.request import QueueItem as QueueItem
|
|
from infrastructure.msgspec_fastapi import AppStruct
|
|
|
|
|
|
class AlbumRequest(AppStruct):
|
|
musicbrainz_id: str
|
|
artist: str | None = None
|
|
album: str | None = None
|
|
year: int | None = None
|
|
|
|
|
|
class RequestResponse(AppStruct):
|
|
success: bool
|
|
message: str
|
|
lidarr_response: dict | None = None
|
|
|
|
|
|
class QueueStatusResponse(AppStruct):
|
|
queue_size: int
|
|
processing: bool
|