public async Task <List <Uri> > GetInfoListAsync(Uri address)
        {
            lastInfoRequestAddress = address;
            string playlistJson = null;

            try
            {
                string pageSource = await WebRequester.GetWebPageSourceAsync(address.ToString());

                originalName = await GetNameFromPageAsync(pageSource);

                playlistJson = await GetPlistAsync(pageSource);
            }
            catch (Exception)
            {
                throw new Exception("Ошибка загрузки данных");
            }

            var uriList = new List <Uri>();

            foreach (var item in PlaylistParser.JsonPlaylistConvertToSeasonObject(playlistJson))
            {
                uriList.Add(item.FileUri);
            }

            return(uriList);
        }
        public Season BuildSeasonFromJson(string seasonJson, string noisePattern = "")
        {
            Season season = null;

            season = new Season(null, seasonJson);

            if (noisePattern == "")
            {
                season.EpisodeList = PlaylistParser
                                     .JsonPlaylistConvertToSeasonObject(seasonJson);
            }
            else
            {
                season.EpisodeList = PlaylistParser
                                     .JsonPlaylistConvertToSeasonObject(seasonJson, noisePattern);
            }

            return(season);
        }