Skip to content

BannerType 'seasonwide' is unknown #3

@ScottBurfieldMills

Description

@ScottBurfieldMills

TVDB may have added a new banner type? This error happens when I search for many TV shows.

Error:

blazor.server.js:15 [2020-07-05T03:57:50.887Z] Error: TheTVDBSharp.Models.ParseException: Error while parsing a banner xml element. BannerType 'seasonwide' is unknown.
   at TheTVDBSharp.Services.BannerParseService.Parse(XElement bannerXml)
   at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at TheTVDBSharp.Services.BannerParseService.Parse(String bannerCollectionRaw)
   at TheTVDBSharp.Services.SeriesParseService.<>c__DisplayClass6_0.<ParseFull>b__2()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at TheTVDBSharp.Services.SeriesParseService.ParseFull(Stream fullSeriesCompressedStream, Language language)
   at TheTVDBSharp.TheTVDBManager.GetSeries(UInt32 seriesId, Language language, Boolean compression)
   at CastCompare.Data.TvDbService.GetSeriesAsync(UInt32 id) in C:\Users\scott\projects\CastCompare\CastCompare\CastCompare\Data\TvDbService.cs:line 42
   at CastCompare.Shared.CastList.OnInitializedAsync() in C:\Users\scott\projects\CastCompare\CastCompare\CastCompare\Shared\CastList.razor:line 32
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions