"""Plex route package — assembles the admin/browse/playback sub-routers. Read endpoints (libraries/browse/show/image) are available to ANY authenticated user (demo + pure-Siftlode included) — this is an access layer to the Plex library WITHOUT requiring a plex.tv account, and playback is a local file. Admin endpoints test the connection and run the catalog sync. Split out of the former single routes/plex.py (R12 S1). `router` keeps the same shape the app wiring expects (`plex_routes.router`), so main.py is unchanged. """ from fastapi import APIRouter from app.routes.plex import admin, browse, playback router = APIRouter() router.include_router(admin.router) router.include_router(browse.router) router.include_router(playback.router)