Jump to content

Auto-organize fails getting metadata from "TheMovieDB"


danergo
Go to solution Solved by GrimReaper,

Recommended Posts

danergo

There are some unorganized series in my folders and I decided to "auto-organize" them (all of them are failed to auto-organize and I wish to manually configure them):

Sample from my "Auto-organize" page:

image.thumb.png.c34f81ec09411256972a9b1aaf11fdec.png

When I click on "Organize, and search for this series", even this search result window is strange, there are no images:

image.thumb.png.e32ce643ed900c4cc21998e886cef17e.png

However, after I select one (first one from this list) and click "OK":

image.png.7cd0e59330ddb693571a415216760ab6.png

I got an "Error: null" uninformative message.

Relevant log is:

2023-03-27 19:41:00.235 Info Server: http/2 POST https://emby_remote_ip:8920/emby/Library/FileOrganizations/eff5ce7f400e043cac997f985d239139/Episode/Organize?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=00358ec4-bc30-40ca-9968-08c4a18c99f0&X-Emby-Client-Version=4.7.11.0&X-Emby-Language=en-gb&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
2023-03-27 19:41:00.242 Info HttpClient: GET https://api.themoviedb.org/3/tv/62455/season/1/episode/13?api_key=x_secret1_x&append_to_response=images,external_ids,credits,videos&language=en&include_image_language=en,null
2023-03-27 19:41:00.256 Debug SqliteItemRepository: Public GetItemLinks
2023-03-27 19:41:00.256 Debug App: Running PersonNfoProvider for Grayson Berry
2023-03-27 19:41:00.256 Debug App: PersonNfoProvider returned no metadata for Grayson Berry
2023-03-27 19:41:00.260 Warn App: No provider metadata found for Locked Up season 1 episode 13
2023-03-27 19:41:00.261 Error Server: Error processing request
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby-server -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 5.4.0-144-generic (buildd@lcy02-amd64-089) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /var/lib/emby-server
	Application path: /opt/emby-server/system
	System.Exception: System.Exception: No provider metadata found for Locked Up season 1 episode 13
	   at Emby.AutoOrganize.Core.FileOrganizationService.PerformOrganization(EpisodeFileOrganizationRequest request)
	Source: Emby.AutoOrganize
	TargetSite: Void MoveNext()
	
2023-03-27 19:41:00.261 Info Server: http/2 Response 500 to host1. Time: 26ms. https://emby_remote_ip:8920/emby/Library/FileOrganizations/eff5ce7f400e043cac997f985d239139/Episode/Organize?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=00358ec4-bc30-40ca-9968-08c4a18c99f0&X-Emby-Client-Version=4.7.11.0&X-Emby-Language=en-gb&reqformat=json

Can I (or you) somehow fix this?

 

Thank you!

Link to comment
Share on other sites

danergo

Update: maybe the material is wrong, as there are less episodes than 13, so my manual serie-selection might be wrong.

However, this use-case shall still be handled correctly, so as the missing images. 

Link to comment
Share on other sites

danergo

I did re-identified it based on IMDB, and now it works as intended.

"Auto-organize" though suffers a few UI bugs, it would be great to have it as-polished as all other pages on admin :)

Link to comment
Share on other sites

GrimReaper
4 minutes ago, danergo said:

Something is wrong at "TheMovieDB": https://www.imdb.com/title/tt4524056/episodes?season=1&ref_=tt_eps_sn_1

Please see IMDB lists 16 episodes for season1.

You are very welcome to request changes on TMDB, make them yourself if series is unlocked. 

Considering TVDB also lists 11 episodes for Season 1, I highly doubt that'll get approved. 

As far as Emby is concerned, IMDB is irrelevant as nothing is scraped/provided from there. 

Link to comment
Share on other sites

17 minutes ago, danergo said:

 

However, this use-case shall still be handled correctly, so as the missing images. 

Handled how?

Link to comment
Share on other sites

14 minutes ago, danergo said:

Something is wrong at "TheMovieDB": https://www.imdb.com/title/tt4524056/episodes?season=1&ref_=tt_eps_sn_1

Please see IMDB lists 16 episodes for season1.

There is no Imdb metadata source in Emby Server, so you need to compare to whatever your highest priority series and episode fetchers are in your library settings ,not Imdb.

Link to comment
Share on other sites

danergo
6 minutes ago, Luke said:

Handled how?

I think there shall be a more informative error message (instead of "error: null"): something like the exception's message:

Quote
No provider metadata found for Locked Up season 1 episode 13

 

Link to comment
Share on other sites

Just now, danergo said:

I think there shall be a more informative error message (instead of "error: null"): something like the exception's message:

 

Yes that makes sense. Thanks.

Link to comment
Share on other sites

danergo

One more question:

I re-identified this series with the IMDB ID (tt4524056) from the metadata manager.

I still have some unorganized files (which is not surprising, as metamata manager only handles already organized files):

image.thumb.png.40e2d26b5c4ee1e34b9f5bc6724dc96b.png

I try organizing them manually:

image.png.05dafdcb39612769123fd15436e98905.png

And then I again got "Error: null".

Can I somehow ask this Auto-organize plugin to move these files under that folder I select here, so I can fill up later the metadata based on IMDB?

Or shall I simple move these files with my filemanager, and do a library rescan?

So quite of "forcing this organization task even when there is no metadata"?

 

Thank you

 

Edited by danergo
Link to comment
Share on other sites

  • Solution
GrimReaper
28 minutes ago, danergo said:

I re-identified this series with the IMDB ID (tt4524056) from the metadata manager.

That is only used to query providers that have same ID associated with item(s) in their db; if there is none, you'll get no data; either way, any metadata will come only from your enabled library providers. 

28 minutes ago, danergo said:

Can I somehow ask this Auto-organize plugin to move these files under that folder I select here, so I can fill up later the metadata based on IMDB?

There is no way currently to do that. 

28 minutes ago, danergo said:

Or shall I simple move these files with my filemanager, and do a library rescan?

You should, though you will still get no metadata as no provider has those episodes listed. 

28 minutes ago, danergo said:

So quite of "forcing this organization task even when there is no metadata"?

If plugin Dev would be willing to implement that, though personally I reckon that would lead to more issues arising than it would actually solve, but that's just my opinion. 

Edited by GrimReaper
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...