public ProjectVM() { Timers = new CollectionViewModel <Timer, TimerVM>(); Timeline = new TimelineVM(); Playlists = new PlaylistCollectionVM(); EventTypes = new CollectionViewModel <EventType, EventTypeVM>(); FileSet = new MediaFileSetVM(); Periods = new CollectionViewModel <Period, PeriodVM>(); Dashboard = new DashboardVM(); Visible = true; }
/// <summary> /// Open the specified fileSet. /// </summary> public void OpenFileSet(MediaFileSetVM fileset, bool play = false) { Player.Open(fileset?.Model, play); }