"""NFO Management API endpoints. Note: NFO service has been removed. All NFO endpoints return 503. """ from fastapi import APIRouter, HTTPException, status router = APIRouter(prefix="/api/nfo", tags=["nfo"]) @router.get("/disabled") async def nfo_disabled(): """NFO endpoints disabled - NFO service removed.""" raise HTTPException( status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail="NFO service has been removed. Use series management endpoints instead." ) @router.post("/batch/create") async def batch_create_nfo(): """NFO endpoints disabled - NFO service removed.""" raise HTTPException( status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail="NFO service has been removed. Use series management endpoints instead." ) @router.post("/{serie_id}/create") async def create_nfo(serie_id: str): """NFO endpoints disabled - NFO service removed.""" raise HTTPException( status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail="NFO service has been removed. Use series management endpoints instead." ) @router.get("/{serie_id}/status") async def get_nfo_status(serie_id: str): """NFO endpoints disabled - NFO service removed.""" raise HTTPException( status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail="NFO service has been removed. Use series management endpoints instead." ) @router.delete("/{serie_id}/delete") async def delete_nfo(serie_id: str): """NFO endpoints disabled - NFO service removed.""" raise HTTPException( status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail="NFO service has been removed. Use series management endpoints instead." ) @router.get("/poster/{serie_id}") async def get_nfo_poster(serie_id: str): """NFO endpoints disabled - NFO service removed.""" raise HTTPException( status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail="NFO service has been removed. Use series management endpoints instead." ) @router.get("/fanart/{serie_id}") async def get_nfo_fanart(serie_id: str): """NFO endpoints disabled - NFO service removed.""" raise HTTPException( status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail="NFO service has been removed. Use series management endpoints instead." )