Closed djjd47130 closed 2 months ago
PROGRESS - Uncommitted changes:
ITMDBPageItem
to ITMDBItem
ITMDBItemList
to ITMDBItems
ITMDBMediaBase
to ITMDBMedium
ITMDBMediaList
to ITMDBMedia
ITMDBMedia
from ITMDBItems
Regarding standardized constructors, there should be two versions:
Currently, there's a mess of list/item/page related interfaces either inheriting from the incorrect base or from no base at all due to later design decisions.
This mainly consists of making sure all possible lists / list items / paginated lists are following a single standard structure. But mostly with major terminology changes, since TMDB has its own "List" terminology separate than what we're doing here.
ITMDBPageItem
- Rename toITMDBItem
ITMDBItemList
- Rename toITMDBItems
ITMDBPage
- Change to containITMDBItems
of actual listITMDBMediaList
- Change to inherit fromITMDBItemList
TTMDBListItemClass
(instead constructors should do so internally unless otherwise required)ITMDBItem
(orITMDBMediaBase
if needed)ITMDBItems
(orITMDBMediaList
if needed)ITMDBMediaPage
ITMDBMovie
/ITMDBMovies
instead ofITMDBMovieItem
/ITMDBMovieList
)ITMDBMoviePage
ITMDBTVSeries
unless the "s" is stripped so the item becomesITMDBTVSerie
. Which would work, but may not make sense to others, and may cause confusion.