Backend:
- add download of episode media function - serving of episodes/seasons files - pulling seasons/episodes media on entry create - maintenance for seasons/episodes media
This commit is contained in:
1 parent
534572775f
commit
4e20c5320b
6 files changed
+58
-31
No files matched your search
@@ -83,12 +83,16 @@ class ConfigService {
|
||||
const logoDir = path.join(dataPath, 'images', 'entries', 'logos');
|
||||
const collectionsPostersDir = path.join(dataPath, 'images', 'collections', 'posters');
|
||||
const collectionsBackdropsDir = path.join(dataPath, 'images', 'collections', 'backdrops');
|
||||
const seasonsPostersDir = path.join(dataPath, 'images', 'seasons', 'posters');
|
||||
const episodesStillsDir = path.join(dataPath, 'images', 'episodes', 'stills');
|
||||
|
||||
fs.mkdirSync(posterDir, { recursive: true });
|
||||
fs.mkdirSync(backdropDir, { recursive: true });
|
||||
fs.mkdirSync(logoDir, { recursive: true });
|
||||
fs.mkdirSync(collectionsPostersDir, { recursive: true });
|
||||
fs.mkdirSync(collectionsBackdropsDir, { recursive: true });
|
||||
fs.mkdirSync(seasonsPostersDir, { recursive: true });
|
||||
fs.mkdirSync(episodesStillsDir, { recursive: true });
|
||||
}
|
||||
|
||||
getTmdbApiUrl() {
|
||||
|
||||
Reference in new issue
Block a user