Add Discovery Videos feature
Let users upload videos, tag them with one or more entries, and watch them from a new Discovery Videos page. Backend: - Add Video and VideoEntry models and relations - Add video controller and /video routes - Add video thumbnail generation service (ffmpeg-static) - Add video upload storage location and config Frontend: - Add DiscoveryVideosPage with sidebar link and route - Add AddVideoDialog, VideoDropzone, EntryMultiSelect, VideoCard and VideoPlayerDialog components - Add discoveryVideos API client and useDiscoveryVideos hook - Add format helpers, video types and normalizers - Add skeleton for the page Docs: - Document the feature in docs-vault
This commit is contained in:
1 parent
4d88747649
commit
eb3a12f6cb
41 files changed
+2163
-15
No files matched your search
@@ -120,6 +120,7 @@ class ConfigService {
|
||||
"peoples",
|
||||
"profiles",
|
||||
);
|
||||
const videosDir = path.join(dataPath, "videos");
|
||||
|
||||
fs.mkdirSync(posterDir, { recursive: true });
|
||||
fs.mkdirSync(backdropDir, { recursive: true });
|
||||
@@ -129,6 +130,7 @@ class ConfigService {
|
||||
fs.mkdirSync(seasonsPostersDir, { recursive: true });
|
||||
fs.mkdirSync(episodesStillsDir, { recursive: true });
|
||||
fs.mkdirSync(peopleProfilesDir, { recursive: true });
|
||||
fs.mkdirSync(videosDir, { recursive: true });
|
||||
}
|
||||
|
||||
getTmdbApiUrl() {
|
||||
|
||||
Reference in new issue
Block a user