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