public void Load(string latestViewedEpisodeData) { Episode ep = new Episode(); ep.DecodeAndLoad(latestViewedEpisodeData); if (ep.IsValid()) { _title = ep.Title().Trim(); latestViewedEpisode = ep; latestEpisodeInSeries = ep; } }
public bool IsSameEpisodeAs(Episode ep) { if(_title.ToLower() == ep.Title().ToLower() && _episode == ep._episode && _season == ep._season) { return true; } else { return false; } }