public GUIVideoBaseWindow() { playlistPlayer = PlayListPlayer.SingletonPlayer; if (handler == null) { handler = new VideoViewHandler(); } if (m_database == null) { m_database = VideoDatabase.Instance; } GUIWindowManager.OnNewAction += new OnActionHandler(OnNewAction); }
public void Clear() { VideoDatabase.RemoveAllVideoThumbBlacklistEntries(); }
public bool Contains(string path) { return(VideoDatabase.IsVideoThumbBlacklisted(path)); }
public bool Remove(string path) { return(VideoDatabase.VideoThumbRemoveFromBlacklist(path)); }
public bool Add(string path) { return(VideoDatabase.VideoThumbBlacklist(path, DateTime.Now.AddDays(BlacklistDurationInDays)) != -1); }