2#include <NDEVR/Model.h>
15 VideoModel(
const Model& model);
17 void setVideoData(
const String& video_data);
18 void setSubtitleData(
const String& subtitle_data);
19 void setVideoFile(File file,
bool read_data,
bool save_to_memory);
20 void setSubtitleFile(File file,
bool read_data);
22 static File SubtitleForFile(
const File& media_file);
23 File getActiveVideoFile();
24 File getActiveSubtitleFile();
26 void ensureCacheFileExists();
27 File videoCache()
const;
28 File subtitleCache()
const;
29 String getVideoData()
const;
30 String getSubtitleData()
const;
31 static constexpr const char* TypeName() {
return "video_model"; }