Esempio n. 1
0
 private List<DBActor> GetActors()
 {
     // Download actor list
     GetActors actors = new GetActors(SeriesId);
     return actors.Actors;
 }
Esempio n. 2
0
        private void DeleteActorThumbs()
        {
            GetActors actors = new GetActors(SeriesId);

            foreach (DBActor actor in actors.Actors)
            {
                string fileName = actor.Image;
                if (string.IsNullOrEmpty(fileName)) continue;

                try
                {
                    File.Delete(actor.Image);
                }
                catch (Exception e)
                {
                    MPTVSeriesLog.Write("Unable to delete actor image '{0}', {1}", fileName, e.Message);
                }
            }
        }