Esempio n. 1
0
 public static bool IsSameSeriesBeingProcessed(string currentMoviePath, EpisodeData episodeData)
 {
     // do the trick only if you have detected current season and episode
     if (!string.IsNullOrEmpty(episodeData.Episode) /* && !string.IsNullOrEmpty(m_EpisodeData.Season)*/)
     {
         // check if maybe we are processing a known series
         // decide if it is a new series or the currently processed one
         if (string.Compare(CurrentSeriesHelper.SeriesRootFolder, TVShowsHelper.GetCurrentSeriesRootFolder(currentMoviePath), true) == 0)
         {
             return(true);
         }
     }
     return(false);
 }
Esempio n. 2
0
 public string GetCurrentSeriesRootFolder()
 {
     return(TVShowsHelper.GetCurrentSeriesRootFolder(this.CurrentMovie.FilePath));
 }