feat: Loading source plugins

This commit is contained in:
Aleksi Lassila
2024-12-03 19:03:00 +02:00
parent ec3b19288f
commit ffc4197832
38 changed files with 30028 additions and 288 deletions

View File

@@ -59,10 +59,12 @@ $ npm run test:cov
```
## Structure
- Routes
- series -> shows
### Users
- PUT /users/{id}
- GET /users
- GET /users/{id}
@@ -70,30 +72,36 @@ $ npm run test:cov
- POST /users
### Users > Library
- GET /users/{userId}/library
- POST /users/{userId}/library/{tmdbId}
- DELETE /users/{userId}/library/{tmdbId}
### Users > PlayState
- GET /users/{userId}/playstate/movies/{tmdbId}
- GET /users/{userId}/playstate/series/{tmdbId}/{season}/{episode}
- PUT /users/{userId}/playstate/movies/{tmdbId}
- PUT /users/{userId}/playstate/series/{tmdbId}/{season}/{episode}
### TMDB / Metadata
- GET /movies/{tmdbId}
- GET /movies/{tmdbId}/similar
- GET /movies/recommendations
- User-specific
- GET /series/{tmdbId}
- (GET /series/{tmdbId}/season/{season})
- GET /series/{tmdbId}/season/{season}/episode/{episode}
- GET /series/{tmdbId}/similar
- GET /series/recommendations
- User-specific
- GET /people/{tmdbPersonId}
### TMDB / Discovery
- GET /discover/movies
- User-specific
- GET /discover/series
- User-specific
- (GET /discover/popular)
- GET /discover/popular/movies
- GET /discover/popular/series
@@ -105,10 +113,11 @@ $ npm run test:cov
- GET /discover/genre/{genre}/series
### Sources
- GET /sources
- (GET /sources/{sourceId})
- GET /sources/{sourceId}/movies
- if indexable
- if indexable
- GET /sources/{sourceId}/movies/{tmdbId}
- GET /sources/{sourceId}/movies/{tmdbId}/stream
- GET /sources/{sourceId}/series