refactor(plex): the unit's tables move into plex/models

PlexLibrary, PlexShow, PlexSeason, PlexItem, PlexPerson, PlexCollection, PlexState, PlexLink,
PlexPlaylist and PlexPlaylistItem leave app/models.py for app/plex/models.py; app.tables registers
them. Every import is re-pointed; no schema change.
This commit is contained in:
2026-10-19 21:42:07 +02:00
parent 4b6db47083
commit 533571f572
66 changed files with 566 additions and 574 deletions
+2 -6
View File
@@ -11,12 +11,8 @@ from app.collation import collated
from app import logs, sysconfig
from app.auth import current_user
from app.db import SessionLocal, get_db
from app.models import (
PlexItem,
PlexPerson,
PlexShow,
User,
)
from app.models import User
from app.plex.models import PlexItem, PlexPerson, PlexShow
from app.plex import rollup
from app.plex import tmdb as plex_tmdb
from app.plex.cards import SHOW_NEW, movie_card, norm_lang, show_card