Jump to content

ProviderManager Remote Search for episodes returns error?


chef

Recommended Posts

chef

Hi,

Is anyone else (who uses the ProviderManager in their projects) currently experiencing issues with return data? Specific to Episode Data.

Here is the code in question (from Auto Organize): 

            var episodeInfo = new EpisodeInfo
            {
                IndexNumber         = episodeNumber,
                IndexNumberEnd      = endingEpisodeNumber,
                MetadataCountryCode = series.GetPreferredMetadataCountryCode(),
                MetadataLanguage    = series.GetPreferredMetadataLanguage(),
                ParentIndexNumber   = seasonNumber,
                SeriesProviderIds   = series.ProviderIds,
                PremiereDate        = premiereDate,
                
            };

            //This is erring
            var searchResults = await ProviderManager.GetRemoteSearchResults<Episode, EpisodeInfo>(new RemoteSearchQuery<EpisodeInfo>
            {
                SearchInfo = episodeInfo

            }, series, cancellationToken);

 

The response has been the same across the board. 

No provider metadata found.

This is strange because it was working yesterday.

 

2022-04-03 17:38:14.279 Error App: Error organizing file
	*** Error Report ***
	Version: 4.6.7.0
	Command line: C:\Users\MediaServer\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 6.1.7601 Service Pack 1
	Framework: .NET Core 3.1.21
	OS/Process: x64/x64
	Runtime: C:/Users/MediaServer/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\MediaServer\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\MediaServer\AppData\Roaming\Emby-Server\system
	Emby.AutoOrganize.Core.OrganizationException: Emby.AutoOrganize.Core.OrganizationException: No provider metadata found for Selling the Big Easy Season 2 Episode 10
	   at Emby.AutoOrganize.Core.FileOrganization.EpisodeOrganizer.CreateNewEpisode(Series series, Nullable`1 seasonNumber, Nullable`1 episodeNumber, Nullable`1 endingEpisodeNumber, Nullable`1 premiereDate, CancellationToken cancellationToken)
	   at Emby.AutoOrganize.Core.FileOrganization.EpisodeOrganizer.GetMatchingEpisode(Series series, Nullable`1 seasonNumber, Nullable`1 episodeNumber, Nullable`1 endingEpiosdeNumber, FileOrganizationResult result, Nullable`1 premiereDate, CancellationToken cancellationToken)
	   at Emby.AutoOrganize.Core.FileOrganization.EpisodeOrganizer.OrganizeEpisode(Nullable`1 requestToMoveFile, String sourcePath, Series series, Nullable`1 seasonNumber, Nullable`1 episodeNumber, Nullable`1 endingEpisodeNumber, Nullable`1 premiereDate, AutoOrganizeOptions options, Boolean rememberCorrection, FileOrganizationResult result, CancellationToken cancellationToken)
	   at Emby.AutoOrganize.Core.FileOrganization.EpisodeOrganizer.OrganizeEpisode(Nullable`1 requestToMoveFile, String sourcePath, String seriesName, Nullable`1 seriesYear, Nullable`1 seasonNumber, Nullable`1 episodeNumber, Nullable`1 endingEpisodeNumber, Nullable`1 premiereDate, AutoOrganizeOptions options, Boolean rememberCorrection, FileOrganizationResult result, CancellationToken cancellationToken)
	   at Emby.AutoOrganize.Core.FileOrganization.EpisodeOrganizer.OrganizeFile(Nullable`1 requestToOverwriteExistingFile, String path, AutoOrganizeOptions options, CancellationToken cancellationToken)
	Source: Emby.AutoOrganize
	TargetSite: Void MoveNext()

 

Is it possible that the Providers are having issues with their API's, maybe?

Link to comment
Share on other sites

It could be. You'd see provider errors just before that. It could also be due to not having any enabled on the library you're organizing into.

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...