"""Plex route package — assembles the admin/browse/playback sub-routers. Read endpoints (libraries/browse/show/image) are available to ANY authenticated user (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. `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, collections, detail, discover, people, playback, playlists, ) router = APIRouter() router.include_router(admin.router) router.include_router(browse.router) router.include_router(collections.router) router.include_router(detail.router) router.include_router(discover.router) router.include_router(people.router) router.include_router(playback.router) router.include_router(playlists.router)