Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should provide identifying info in its exception #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaelkrieger
Copy link

I'm getting the below error, obviously not liking a particular show. Likely this is some variation of TVDB vs TVMAZE where a season exists in one vs another. Without any information in the error logs, I have no idea where the problem lies.

Can the Exception for GetMetaData please tell me the series, season, and episode in question (by Jellyfin ID, TVMaze ID, or even title) so we can actually debug these errors? I've done a proposed change with the name, but of course happy to use any other identifier which is appropriate.

[2022-12-28 13:21:27.459 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.475 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.490 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.510 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.535 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.553 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.566 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.581 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.602 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.624 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.639 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.653 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.671 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.686 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.702 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)

I'm getting the below error, obviously not liking a particular show. Likely this is some variation of TVDB vs TVMAZE where a season exists in one vs another.  Without any information in the error logs, I have no idea where the problem lies.

Can the Exception for GetMetaData please tell me the series, season, and episode in question (by Jellyfin ID, TVMaze ID, or even title) so we can actually debug these errors?  I've done a proposed change with the name, but of course happy to use any other identifier which is appropriate.

```
[2022-12-28 13:21:27.459 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.475 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.490 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.510 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.535 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.553 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.566 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.581 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.602 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.624 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.639 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.653 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.671 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.686 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
[2022-12-28 13:21:27.702 -05:00] [WRN] [213] Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider: [GetMetadata]
System.ArgumentException: season
   at TvMaze.Api.Client.Endpoints.Shows.ShowsEndpoint.GetEpisodeByNumberAsync(Int32 showId, Int32 season, Int32 episodeNumber)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadataInternal(EpisodeInfo info)
   at Jellyfin.Plugin.TvMaze.Providers.TvMazeEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant