public async Task Test_EpisodeObjectJsonWriter_WriteObject_StringWriter_Complete()
        {
            ITraktEpisode traktEpisode = new TraktEpisode
            {
                SeasonNumber = 1,
                Number       = 1,
                Title        = "title",
                Ids          = new TraktEpisodeIds
                {
                    Trakt  = 123456,
                    Tvdb   = 234567,
                    Imdb   = "345678",
                    Tmdb   = 456789,
                    TvRage = 567890
                },
                NumberAbsolute = 1,
                Overview       = "overview",
                Runtime        = 60,
                Rating         = 8.45672f,
                Votes          = 8925,
                FirstAired     = FIRST_AIRED,
                UpdatedAt      = UPDATED_AT,
                AvailableTranslationLanguageCodes = new List <string>
                {
                    "en",
                    "de"
                },
                Translations = new List <TraktEpisodeTranslation>
                {
                    new TraktEpisodeTranslation
                    {
                        Title        = "german title",
                        Overview     = "german overview",
                        LanguageCode = "de"
                    },
                    new TraktEpisodeTranslation
                    {
                        Title        = "english title",
                        Overview     = "english overview",
                        LanguageCode = "en"
                    }
                }
            };

            using (var stringWriter = new StringWriter())
            {
                var    traktJsonWriter = new EpisodeObjectJsonWriter();
                string json            = await traktJsonWriter.WriteObjectAsync(stringWriter, traktEpisode);

                json.Should().Be(@"{""season"":1,""number"":1,""title"":""title""," +
                                 @"""ids"":{""trakt"":123456,""tvdb"":234567,""imdb"":""345678"",""tmdb"":456789,""tvrage"":567890}," +
                                 @"""number_abs"":1,""overview"":""overview""," +
                                 @"""runtime"":60,""rating"":8.45672,""votes"":8925," +
                                 $"\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"," +
                                 $"\"updated_at\":\"{UPDATED_AT.ToTraktLongDateTimeString()}\"," +
                                 @"""available_translations"":[""en"",""de""]," +
                                 @"""translations"":[{""title"":""german title"",""overview"":""german overview"",""language"":""de""}," +
                                 @"{""title"":""english title"",""overview"":""english overview"",""language"":""en""}]}");
            }
        }
Beispiel #2
0
        public async Task Test_SeasonObjectJsonWriter_WriteObject_Object_Only_FirstAired_Property()
        {
            ITraktSeason traktSeason = new TraktSeason
            {
                FirstAired = FIRST_AIRED
            };

            var    traktJsonWriter = new SeasonObjectJsonWriter();
            string json            = await traktJsonWriter.WriteObjectAsync(traktSeason);

            json.Should().Be($"{{\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"}}");
        }
        public async Task Test_EpisodeObjectJsonWriter_WriteObject_StringWriter_Only_FirstAired_Property()
        {
            ITraktEpisode traktEpisode = new TraktEpisode
            {
                FirstAired = FIRST_AIRED
            };

            using (var stringWriter = new StringWriter())
            {
                var    traktJsonWriter = new EpisodeObjectJsonWriter();
                string json            = await traktJsonWriter.WriteObjectAsync(stringWriter, traktEpisode);

                json.Should().Be($"{{\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"}}");
            }
        }
        public async Task Test_CalendarShowObjectJsonWriter_WriteObject_StringWriter_Only_FirstAiredInCalendar_Property()
        {
            ITraktCalendarShow traktCalendarShow = new TraktCalendarShow
            {
                FirstAiredInCalendar = FIRST_AIRED
            };

            using (var stringWriter = new StringWriter())
            {
                var    traktJsonWriter = new CalendarShowObjectJsonWriter();
                string json            = await traktJsonWriter.WriteObjectAsync(stringWriter, traktCalendarShow);

                json.Should().Be($"{{\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"}}");
            }
        }
Beispiel #5
0
        public async Task Test_SeasonArrayJsonWriter_WriteArray_StringWriter_SingleObject()
        {
            IEnumerable <ITraktSeason> traktSeasons = new List <ITraktSeason>
            {
                new TraktSeason
                {
                    Number = 1,
                    Title  = "Season 1",
                    Ids    = new TraktSeasonIds
                    {
                        Trakt  = 123,
                        Tvdb   = 456,
                        Tmdb   = 789,
                        TvRage = 101
                    },
                    Rating             = 8.7654f,
                    Votes              = 9765,
                    TotalEpisodesCount = 24,
                    AiredEpisodesCount = 12,
                    Overview           = "Season 1 Overview",
                    FirstAired         = FIRST_AIRED,
                    Network            = "Season 1 Network",
                    Episodes           = new List <ITraktEpisode>
                    {
                        new TraktEpisode
                        {
                            SeasonNumber = 1,
                            Number       = 1,
                            Title        = "title 1",
                            Ids          = new TraktEpisodeIds
                            {
                                Trakt  = 123456,
                                Tvdb   = 234567,
                                Imdb   = "345678",
                                Tmdb   = 456789,
                                TvRage = 567890
                            },
                            NumberAbsolute = 1,
                            Overview       = "overview 1",
                            Runtime        = 60,
                            Rating         = 8.45672f,
                            Votes          = 8925,
                            FirstAired     = FIRST_AIRED,
                            UpdatedAt      = UPDATED_AT,
                            AvailableTranslationLanguageCodes = new List <string>
                            {
                                "en",
                                "de"
                            },
                            Translations = new List <TraktEpisodeTranslation>
                            {
                                new TraktEpisodeTranslation
                                {
                                    Title        = "german title 1",
                                    Overview     = "german overview 1",
                                    LanguageCode = "de"
                                },
                                new TraktEpisodeTranslation
                                {
                                    Title        = "english title 1",
                                    Overview     = "english overview 1",
                                    LanguageCode = "en"
                                }
                            }
                        },
                        new TraktEpisode
                        {
                            SeasonNumber = 1,
                            Number       = 2,
                            Title        = "title 2",
                            Ids          = new TraktEpisodeIds
                            {
                                Trakt  = 123456,
                                Tvdb   = 234567,
                                Imdb   = "345678",
                                Tmdb   = 456789,
                                TvRage = 567890
                            },
                            NumberAbsolute = 2,
                            Overview       = "overview 2",
                            Runtime        = 60,
                            Rating         = 8.45672f,
                            Votes          = 8925,
                            FirstAired     = FIRST_AIRED,
                            UpdatedAt      = UPDATED_AT,
                            AvailableTranslationLanguageCodes = new List <string>
                            {
                                "en",
                                "de"
                            },
                            Translations = new List <TraktEpisodeTranslation>
                            {
                                new TraktEpisodeTranslation
                                {
                                    Title        = "german title 2",
                                    Overview     = "german overview 2",
                                    LanguageCode = "de"
                                },
                                new TraktEpisodeTranslation
                                {
                                    Title        = "english title 2",
                                    Overview     = "english overview 2",
                                    LanguageCode = "en"
                                }
                            }
                        }
                    }
                }
            };

            using (var stringWriter = new StringWriter())
            {
                var    traktJsonWriter = new ArrayJsonWriter <ITraktSeason>();
                string json            = await traktJsonWriter.WriteArrayAsync(stringWriter, traktSeasons);

                json.Should().Be(@"[{""number"":1,""title"":""Season 1""," +
                                 @"""ids"":{""trakt"":123,""tvdb"":456,""tmdb"":789,""tvrage"":101}," +
                                 @"""rating"":8.7654,""votes"":9765,""episode_count"":24,""aired_episodes"":12," +
                                 @"""overview"":""Season 1 Overview""," +
                                 $"\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"," +
                                 @"""network"":""Season 1 Network""," +
                                 @"""episodes"":[" +
                                 @"{""season"":1,""number"":1,""title"":""title 1""," +
                                 @"""ids"":{""trakt"":123456,""tvdb"":234567,""imdb"":""345678"",""tmdb"":456789,""tvrage"":567890}," +
                                 @"""number_abs"":1,""overview"":""overview 1""," +
                                 @"""runtime"":60,""rating"":8.45672,""votes"":8925," +
                                 $"\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"," +
                                 $"\"updated_at\":\"{UPDATED_AT.ToTraktLongDateTimeString()}\"," +
                                 @"""available_translations"":[""en"",""de""]," +
                                 @"""translations"":[{""title"":""german title 1"",""overview"":""german overview 1"",""language"":""de""}," +
                                 @"{""title"":""english title 1"",""overview"":""english overview 1"",""language"":""en""}]}," +
                                 @"{""season"":1,""number"":2,""title"":""title 2""," +
                                 @"""ids"":{""trakt"":123456,""tvdb"":234567,""imdb"":""345678"",""tmdb"":456789,""tvrage"":567890}," +
                                 @"""number_abs"":2,""overview"":""overview 2""," +
                                 @"""runtime"":60,""rating"":8.45672,""votes"":8925," +
                                 $"\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"," +
                                 $"\"updated_at\":\"{UPDATED_AT.ToTraktLongDateTimeString()}\"," +
                                 @"""available_translations"":[""en"",""de""]," +
                                 @"""translations"":[{""title"":""german title 2"",""overview"":""german overview 2"",""language"":""de""}," +
                                 @"{""title"":""english title 2"",""overview"":""english overview 2"",""language"":""en""}]}" +
                                 "]}]");
            }
        }
Beispiel #6
0
        public async Task Test_CalendarShowArrayJsonWriter_WriteArray_StringWriter_SingleObject()
        {
            IEnumerable <ITraktCalendarShow> traktCalendarShow = new List <ITraktCalendarShow>
            {
                new TraktCalendarShow
                {
                    FirstAiredInCalendar = FIRST_AIRED,
                    Show = new TraktShow
                    {
                        Title = "Game of Thrones",
                        Year  = 2011,
                        Ids   = new TraktShowIds
                        {
                            Trakt  = 1390U,
                            Slug   = "game-of-thrones",
                            Tvdb   = 121361U,
                            Imdb   = "tt0944947",
                            Tmdb   = 1399U,
                            TvRage = 24493U
                        },
                        Overview   = "Seven noble families fight for control of the mythical land of Westeros.Friction between the houses leads to full - scale war.All while a very ancient evil awakens in the farthest north.Amidst the war, a neglected military order of misfits, the Night's Watch, is all that stands between the realms of men and the icy horrors beyond.",
                        FirstAired = FIRST_AIRED,
                        Airs       = new TraktShowAirs
                        {
                            Day        = "Sunday",
                            Time       = "21:00",
                            TimeZoneId = "America/New_York"
                        },
                        Runtime       = 60,
                        Certification = "TV-MA",
                        Network       = "HBO",
                        CountryCode   = "us",
                        Trailer       = "http://youtube.com/watch?v=F9Bo89m2f6g",
                        Homepage      = "http://www.hbo.com/game-of-thrones",
                        Status        = TraktShowStatus.ReturningSeries,
                        Rating        = 9.38327f,
                        Votes         = 44773,
                        UpdatedAt     = UPDATED_AT,
                        LanguageCode  = "en",
                        AvailableTranslationLanguageCodes = new List <string>
                        {
                            "en",
                            "fr",
                            "it",
                            "de"
                        },
                        Genres = new List <string>
                        {
                            "drama",
                            "fantasy",
                            "science-fiction",
                            "action",
                            "adventure"
                        },
                        AiredEpisodes = 50,
                        CommentCount  = 133
                    },
                    Episode = new TraktEpisode
                    {
                        SeasonNumber = 1,
                        Number       = 1,
                        Title        = "Winter Is Coming",
                        Ids          = new TraktEpisodeIds
                        {
                            Trakt  = 73640U,
                            Tvdb   = 3254641U,
                            Imdb   = "tt1480055",
                            Tmdb   = 63056U,
                            TvRage = 1065008299U
                        },
                        NumberAbsolute = 50,
                        Overview       = "Ned Stark, Lord of Winterfell learns that his mentor, Jon Arryn, has died and that King Robert is on his way north to offer Ned Arryn’s position as the King’s Hand. Across the Narrow Sea in Pentos, Viserys Targaryen plans to wed his sister Daenerys to the nomadic Dothraki warrior leader, Khal Drogo to forge an alliance to take the throne.",
                        FirstAired     = FIRST_AIRED,
                        UpdatedAt      = UPDATED_AT,
                        Rating         = 9.0f,
                        Votes          = 111,
                        AvailableTranslationLanguageCodes = new List <string>
                        {
                            "en",
                            "es"
                        },
                        Runtime      = 55,
                        Translations = new List <ITraktEpisodeTranslation>
                        {
                            new TraktEpisodeTranslation
                            {
                                Title        = "Winter Is Coming",
                                Overview     = "Jon Arryn, the Hand of the King, is dead.King Robert Baratheon plans to ask his oldest friend, Eddard Stark, to take Jon's place. Across the sea, Viserys Targaryen plans to wed his sister to a nomadic warlord in exchange for an army.",
                                LanguageCode = "en"
                            },
                            new TraktEpisodeTranslation
                            {
                                Title        = "Se acerca el invierno",
                                Overview     = "El Lord Ned Stark está preocupado por los perturbantes reportes de un desertor del Nights Watch; El Rey Robert y los Lannisters llegan a Winterfell; el exiliado Viserys Targaryen forja una nueva y poderosa alianza.",
                                LanguageCode = "es"
                            }
                        },
                        CommentCount = 133
                    }
                }
            };

            using (var stringWriter = new StringWriter())
            {
                var    traktJsonWriter = new ArrayJsonWriter <ITraktCalendarShow>();
                string json            = await traktJsonWriter.WriteArrayAsync(stringWriter, traktCalendarShow);

                json.Should().Be($"[{{\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"," +
                                 @"""show"":{""title"":""Game of Thrones"",""year"":2011,""ids"":{" +
                                 @"""trakt"":1390,""slug"":""game-of-thrones"",""tvdb"":121361," +
                                 @"""imdb"":""tt0944947"",""tmdb"":1399,""tvrage"":24493}," +
                                 @"""overview"":""Seven noble families fight for control of the mythical land of " +
                                 @"Westeros.Friction between the houses leads to full - scale war.All while a very " +
                                 @"ancient evil awakens in the farthest north.Amidst the war, a neglected military " +
                                 @"order of misfits, the Night's Watch, is all that stands between the realms of men " +
                                 @"and the icy horrors beyond.""," +
                                 $"\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"," +
                                 @"""airs"":{""day"":""Sunday"",""time"":""21:00"",""timezone"":""America/New_York""}," +
                                 @"""runtime"":60,""certification"":""TV-MA"",""network"":""HBO""," +
                                 @"""country"":""us"",""trailer"":""http://youtube.com/watch?v=F9Bo89m2f6g""," +
                                 @"""homepage"":""http://www.hbo.com/game-of-thrones"",""status"":""returning series""," +
                                 @"""rating"":9.38327,""votes"":44773," +
                                 $"\"updated_at\":\"{UPDATED_AT.ToTraktLongDateTimeString()}\"," +
                                 @"""language"":""en"",""available_translations"":[""en"",""fr"",""it"",""de""]," +
                                 @"""genres"":[""drama"",""fantasy"",""science-fiction"",""action"",""adventure""]," +
                                 @"""aired_episodes"":50,""comment_count"":133}," +
                                 @"""episode"":{""season"":1,""number"":1,""title"":""Winter Is Coming""," +
                                 @"""ids"":{""trakt"":73640,""tvdb"":3254641,""imdb"":""tt1480055""," +
                                 @"""tmdb"":63056,""tvrage"":1065008299},""number_abs"":50," +
                                 @"""overview"":""Ned Stark, Lord of Winterfell learns that his mentor, Jon Arryn, " +
                                 @"has died and that King Robert is on his way north to offer Ned Arryn’s position " +
                                 @"as the King’s Hand. Across the Narrow Sea in Pentos, Viserys Targaryen plans to " +
                                 @"wed his sister Daenerys to the nomadic Dothraki warrior leader, Khal Drogo to forge " +
                                 @"an alliance to take the throne."",""runtime"":55,""rating"":9.0,""votes"":111," +
                                 $"\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"," +
                                 $"\"updated_at\":\"{UPDATED_AT.ToTraktLongDateTimeString()}\"," +
                                 @"""available_translations"":[""en"",""es""]," +
                                 @"""translations"":[{""title"":""Winter Is Coming""," +
                                 @"""overview"":""Jon Arryn, the Hand of the King, is dead.King Robert Baratheon plans " +
                                 @"to ask his oldest friend, Eddard Stark, to take Jon's place. Across the sea, Viserys " +
                                 @"Targaryen plans to wed his sister to a nomadic warlord in exchange for an army.""," +
                                 @"""language"":""en""},{""title"":""Se acerca el invierno""," +
                                 @"""overview"":""El Lord Ned Stark está preocupado por los perturbantes reportes de un " +
                                 @"desertor del Nights Watch; El Rey Robert y los Lannisters llegan a Winterfell; " +
                                 @"el exiliado Viserys Targaryen forja una nueva y poderosa alianza."",""language"":""es""}]," +
                                 @"""comment_count"":133}}]");
            }
        }
        public async Task Test_CalendarShowObjectJsonWriter_WriteObject_StringWriter_Only_Show_Property()
        {
            ITraktCalendarShow traktCalendarShow = new TraktCalendarShow
            {
                Show = new TraktShow
                {
                    Title = "Game of Thrones",
                    Year  = 2011,
                    Ids   = new TraktShowIds
                    {
                        Trakt  = 1390U,
                        Slug   = "game-of-thrones",
                        Tvdb   = 121361U,
                        Imdb   = "tt0944947",
                        Tmdb   = 1399U,
                        TvRage = 24493U
                    },
                    Overview   = "Seven noble families fight for control of the mythical land of Westeros.Friction between the houses leads to full - scale war.All while a very ancient evil awakens in the farthest north.Amidst the war, a neglected military order of misfits, the Night's Watch, is all that stands between the realms of men and the icy horrors beyond.",
                    FirstAired = FIRST_AIRED,
                    Airs       = new TraktShowAirs
                    {
                        Day        = "Sunday",
                        Time       = "21:00",
                        TimeZoneId = "America/New_York"
                    },
                    Runtime       = 60,
                    Certification = "TV-MA",
                    Network       = "HBO",
                    CountryCode   = "us",
                    Trailer       = "http://youtube.com/watch?v=F9Bo89m2f6g",
                    Homepage      = "http://www.hbo.com/game-of-thrones",
                    Status        = TraktShowStatus.ReturningSeries,
                    Rating        = 9.38327f,
                    Votes         = 44773,
                    UpdatedAt     = UPDATED_AT,
                    LanguageCode  = "en",
                    AvailableTranslationLanguageCodes = new List <string>
                    {
                        "en",
                        "fr",
                        "it",
                        "de"
                    },
                    Genres = new List <string>
                    {
                        "drama",
                        "fantasy",
                        "science-fiction",
                        "action",
                        "adventure"
                    },
                    AiredEpisodes = 50,
                    CommentCount  = 133
                }
            };

            using (var stringWriter = new StringWriter())
            {
                var    traktJsonWriter = new CalendarShowObjectJsonWriter();
                string json            = await traktJsonWriter.WriteObjectAsync(stringWriter, traktCalendarShow);

                json.Should().Be(@"{""show"":{""title"":""Game of Thrones"",""year"":2011,""ids"":{" +
                                 @"""trakt"":1390,""slug"":""game-of-thrones"",""tvdb"":121361," +
                                 @"""imdb"":""tt0944947"",""tmdb"":1399,""tvrage"":24493}," +
                                 @"""overview"":""Seven noble families fight for control of the mythical land of " +
                                 @"Westeros.Friction between the houses leads to full - scale war.All while a very " +
                                 @"ancient evil awakens in the farthest north.Amidst the war, a neglected military " +
                                 @"order of misfits, the Night's Watch, is all that stands between the realms of men " +
                                 @"and the icy horrors beyond.""," +
                                 $"\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"," +
                                 @"""airs"":{""day"":""Sunday"",""time"":""21:00"",""timezone"":""America/New_York""}," +
                                 @"""runtime"":60,""certification"":""TV-MA"",""network"":""HBO""," +
                                 @"""country"":""us"",""trailer"":""http://youtube.com/watch?v=F9Bo89m2f6g""," +
                                 @"""homepage"":""http://www.hbo.com/game-of-thrones"",""status"":""returning series""," +
                                 @"""rating"":9.38327,""votes"":44773," +
                                 $"\"updated_at\":\"{UPDATED_AT.ToTraktLongDateTimeString()}\"," +
                                 @"""language"":""en"",""available_translations"":[""en"",""fr"",""it"",""de""]," +
                                 @"""genres"":[""drama"",""fantasy"",""science-fiction"",""action"",""adventure""]," +
                                 @"""aired_episodes"":50,""comment_count"":133}}");
            }
        }
        public async Task Test_CalendarShowObjectJsonWriter_WriteObject_StringWriter_Only_Episode_Property()
        {
            ITraktCalendarShow traktCalendarShow = new TraktCalendarShow
            {
                Episode = new TraktEpisode
                {
                    SeasonNumber = 1,
                    Number       = 1,
                    Title        = "Winter Is Coming",
                    Ids          = new TraktEpisodeIds
                    {
                        Trakt  = 73640U,
                        Tvdb   = 3254641U,
                        Imdb   = "tt1480055",
                        Tmdb   = 63056U,
                        TvRage = 1065008299U
                    },
                    NumberAbsolute = 50,
                    Overview       = "Ned Stark, Lord of Winterfell learns that his mentor, Jon Arryn, has died and that King Robert is on his way north to offer Ned Arryn’s position as the King’s Hand. Across the Narrow Sea in Pentos, Viserys Targaryen plans to wed his sister Daenerys to the nomadic Dothraki warrior leader, Khal Drogo to forge an alliance to take the throne.",
                    FirstAired     = FIRST_AIRED,
                    UpdatedAt      = UPDATED_AT,
                    Rating         = 9.0f,
                    Votes          = 111,
                    AvailableTranslationLanguageCodes = new List <string>
                    {
                        "en",
                        "es"
                    },
                    Runtime      = 55,
                    Translations = new List <ITraktEpisodeTranslation>
                    {
                        new TraktEpisodeTranslation
                        {
                            Title        = "Winter Is Coming",
                            Overview     = "Jon Arryn, the Hand of the King, is dead.King Robert Baratheon plans to ask his oldest friend, Eddard Stark, to take Jon's place. Across the sea, Viserys Targaryen plans to wed his sister to a nomadic warlord in exchange for an army.",
                            LanguageCode = "en"
                        },
                        new TraktEpisodeTranslation
                        {
                            Title        = "Se acerca el invierno",
                            Overview     = "El Lord Ned Stark está preocupado por los perturbantes reportes de un desertor del Nights Watch; El Rey Robert y los Lannisters llegan a Winterfell; el exiliado Viserys Targaryen forja una nueva y poderosa alianza.",
                            LanguageCode = "es"
                        }
                    },
                    CommentCount = 133
                }
            };

            using (var stringWriter = new StringWriter())
            {
                var    traktJsonWriter = new CalendarShowObjectJsonWriter();
                string json            = await traktJsonWriter.WriteObjectAsync(stringWriter, traktCalendarShow);

                json.Should().Be(@"{""episode"":{""season"":1,""number"":1,""title"":""Winter Is Coming""," +
                                 @"""ids"":{""trakt"":73640,""tvdb"":3254641,""imdb"":""tt1480055""," +
                                 @"""tmdb"":63056,""tvrage"":1065008299},""number_abs"":50," +
                                 @"""overview"":""Ned Stark, Lord of Winterfell learns that his mentor, Jon Arryn, " +
                                 @"has died and that King Robert is on his way north to offer Ned Arryn’s position " +
                                 @"as the King’s Hand. Across the Narrow Sea in Pentos, Viserys Targaryen plans to " +
                                 @"wed his sister Daenerys to the nomadic Dothraki warrior leader, Khal Drogo to forge " +
                                 @"an alliance to take the throne."",""runtime"":55,""rating"":9.0,""votes"":111," +
                                 $"\"first_aired\":\"{FIRST_AIRED.ToTraktLongDateTimeString()}\"," +
                                 $"\"updated_at\":\"{UPDATED_AT.ToTraktLongDateTimeString()}\"," +
                                 @"""available_translations"":[""en"",""es""]," +
                                 @"""translations"":[{""title"":""Winter Is Coming""," +
                                 @"""overview"":""Jon Arryn, the Hand of the King, is dead.King Robert Baratheon plans " +
                                 @"to ask his oldest friend, Eddard Stark, to take Jon's place. Across the sea, Viserys " +
                                 @"Targaryen plans to wed his sister to a nomadic warlord in exchange for an army.""," +
                                 @"""language"":""en""},{""title"":""Se acerca el invierno""," +
                                 @"""overview"":""El Lord Ned Stark está preocupado por los perturbantes reportes de un " +
                                 @"desertor del Nights Watch; El Rey Robert y los Lannisters llegan a Winterfell; " +
                                 @"el exiliado Viserys Targaryen forja una nueva y poderosa alianza."",""language"":""es""}]," +
                                 @"""comment_count"":133}}");
            }
        }