Closed jensenkd closed 2 years ago
var library = this.fixture.Server.Libraries().Result.Single(c => c.Title == "TV Shows") as ShowLibrary;
var seasons = await library.Seasons(92640);
foreach (var season in seasons.Media)
{
this.output.WriteLine("Season Title: " + season.Title);
var episodes = await library.Episodes(int.Parse(season.RatingKey));
foreach (var episode in episodes.Media)
{
this.output.WriteLine("Episode Title: " + episode.Title);
}
}
Add method Seasons(id) and Episodes(id) to ShowLibrary