Jump to content

Cannot load metadata for show


Go to solution Solved by sa2000,

Recommended Posts

Posted

Hello I am having trouble loading the metadata for a tv show.  I cannot figure out what I am doing differently that is causing the error.  I followed the tv naming convention however when I go to Emby, the episode details are not loading.  I have also identified the show just to be sure and it recognizes the show, but does not pull data for the episodes.  Furthermore, if i click "View Missing Episodes" it will state that all the episodes I loaded are still missing. 

Please let me know what I am doing wrong here.  Pictures attached.

KP1.png

KP2.png

KP3.png

Posted

Hi, try assigning the episodes a season and episode number, and that should resolve it.

But then if you add another new episode and they're still blank, then we'll want to look deeper into why that is happening.

Posted

I tried assigning a season and episode number to a few of them and it still cannot find the metadata for them.  KP4.png.38ce887819bf7c67b7c64a7c380f12f4.png

sa2000
Posted

Just tried your filenaming on 4.8.11.0 and on the beta 4.9.0.60 and the episodes were identified ok

Folders/files

image.png

and metadata for s01e01

image.png

 

Maybe issues with the connections / requests to the metadata provider

What do you have set for the library for metadata providers?

Does refresh metadata on the show or library make any difference?

You could capture server logs at the end of refresh metadata and attach here

See 

 

Posted

Thank you for the help. Are these the images you are requesting?  And I tried refreshing both the show and library and it does not seem to make a difference.

And I am on Emby 4.8.11.0

KP5.png

KP6.png

GrimReaper
Posted
7 minutes ago, Myith29 said:

Are these the images you are requesting?

 

3 hours ago, sa2000 said:

You could capture server logs at the end of refresh metadata and attach here

Attach embyserver.txt file upon metadata refresh to your post. 

  • Solution
sa2000
Posted
13 minutes ago, Myith29 said:

Ok I have attached it

I am not seeing any errors relating to the requests to thetvdb and themoviedb for this series

2025-05-22 11:17:36.219 Info HttpClient: GET https://api4.thetvdb.com/v4/series/78259/extended?meta=translations&short=false

2025-05-22 11:17:36.633 Info HttpClient: GET https://api.themoviedb.org/3/tv/2345?api_key=x_secret2_x&append_to_response=alternative_titles,reviews,credits,images,keywords,external_ids,videos,content_ratings,episode_groups&language=en-US&include_image_language=en-US,null

Could you repeat but with debug logging enabled on the server. So go to Server Settings /  Logs / Settings and enable Debug Logging

Then exit back and do a refresh on the show and after a few minutes get the embyserver log and attach it

After this try the following, 

Move the show out of the library folder , scan the library, at the end, move it back and scan the library and then let me know the outcome and capture the embyserver.txt log again and attach it

So moving this folder out E:\media\TV\Kim Possible (2002)

and then bringing it back after a scan without being there

 

tedfroop21
Posted (edited)

There are two identities to get the meta data for TV shows.

1.  The Show ID.  Every show starts with the show ID to find the correct show to match to your episodes.

image.thumb.png.fd45b2e8bfa4407c72a95d442fa97957.png

Sometimes you need to connect to the meta supplier (thetvdb.com) and find the correct id for your show.  The one you are showing has a number of different shows that could easily confuse the meta search agent.  Find the one that matches your media.   Find the Show ID number.

2.  In Emby Click on the three dots at the end of the show name.  Click on Identify.  A page will open and you can add the show ID.  You only need ONE meta id to identify the show, emby will add the others if they exist.  Once you click Search,  Emby should find all the shows that match your search.  Pick the right one.  Confirm on the next page.

The TVDB series ID for Kim Possible TV Show is 78259

3.  The Episode ID Last but by no means least, go to the TVDB Show page for the series.  Under the Seasons tab there at 4 sort options for the show.  There is Aired Order, DVD Order, Absolute Order, and Disney +.   Find the one that has the same order as your media.

4. Logged in as Emby admin,  click on the Manage Emby Options (the gear in the top corner).   Go down the left menu and find Metadata Manager.  Open that.

5 . On the left find the Library, then the show.  Look for the File Order pull down and set that to the order for the Meta that matches your show.

image.thumb.png.660292b454e3d7e293fd6584b7f0261a.png

 

 

Edited by tedfroop21
  • Like 2
Neminem
Posted

Here is 1 show I always had issues with.

Charmed - TheTVDB.com after there was a remake Charmed (2018) - TheTVDB.com

I had issue with just naming the show folder with year (xxxx)

But pointing to the exact ID in show folder like this.

Charmed (1998) [TvdbId=70626]

Charmed (2018) [TvdbId=349317]

Even if there are now reboot or what its called.

Adding [TvdbId=xxxxxxx] to folder name, will take away Emby's guessing game.

Not saying its perfect, but you will eliminate many issues. 

There are of cause out liers that will messe it up.

  • Like 1
Posted
2 hours ago, sa2000 said:

Could you repeat but with debug logging enabled on the server. So go to Server Settings /  Logs / Settings and enable Debug Logging

Then exit back and do a refresh on the show and after a few minutes get the embyserver log and attach it

After this try the following, 

Move the show out of the library folder , scan the library, at the end, move it back and scan the library and then let me know the outcome and capture the embyserver.txt log again and attach it

So moving this folder out E:\media\TV\Kim Possible (2002)

and then bringing it back after a scan without being there

I have done as requested and it appears to work now. I have attached the log after enabling the debug logging and then again after I removed the folder then rebuilt the folder.  Is there anything i did wrong that I need to be careful of in the future? The naming convention seems to be the same as what it was before, so I do not know what is different.

 

Thank you for your help everybody.

KP7.png

KP8.png

embyserver(1).txt embyserver(2).txt

  • Agree 1
tedfroop21
Posted
4 hours ago, Myith29 said:

I have done as requested and it appears to work now. I have attached the log after enabling the debug logging and then again after I removed the folder then rebuilt the folder.  Is there anything i did wrong that I need to be careful of in the future? The naming convention seems to be the same as what it was before, so I do not know what is different.

Excellent!

I call it reverse lookup, and anytime something does not match as expected the first place I go is the first meta site in my search. 

On occasion, stupid things keep stuff from matching, and sometimes its lots of media with close to the same name - and the scanner gets it wrong.  Once you identify the show and the sort order correctly it will usually scrape the right meta.

....and setting the sort order is a bit buried but fixes a lot of problems where you rip from DVD and it gets the meta for the right show, but everything is out of order.

  • Agree 1
sa2000
Posted
5 hours ago, Myith29 said:

I have done as requested and it appears to work now. I have attached the log after enabling the debug logging and then again after I removed the folder then rebuilt the folder.  Is there anything i did wrong that I need to be careful of in the future

Thanks for the logs. The first log after enabling debug logging does not show any attempt to fetch metadata from thetvdb or themoviedb. This could be a bug that may have got fixed subsequently in the 4.9.0.x betas.

The seond log, however, after removing the series folder and bringing it back, shows some network / dns issue - where the system failed to do a dns lookup for api4.thetvdb.com and api.themoviedb.org

	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: No such host is known. (api4.thetvdb.com:443)
	 ---> System.Net.Http.HttpRequestException: No such host is known. (api4.thetvdb.com:443)

	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: No such host is known. (api.themoviedb.org:443)
	 ---> System.Net.Http.HttpRequestException: No such host is known. (api.themoviedb.org:443)
	 ---> System.Net.Sockets.SocketException (11001): No such host is known.

And these failures led to subsequent cancellation of further requests

You need to look into your network setup. I do see some network events in the log where a second interface comes live and then disappears. You can see it once as 169.254.42.107 and later coming to life as 192.168.68.100

You could disable that interface and just leave the interface that is working on 192.168.68.127

Examples of events

2025-05-22 07:31:45.124 Info NetworkManager: Detected local ip addresses: [{"IPAddress":"192.168.68.127","HasGateWayAddress":true,"PrefixLength":24,"IPv4Mask":"255.255.255.0"},{"IPAddress":"fe80::1392:cbb6:f717:d89%3","HasGateWayAddress":true,"PrefixLength":64},{"IPAddress":"127.0.0.1","HasGateWayAddress":false,"PrefixLength":8,"IPv4Mask":"255.0.0.0"},{"IPAddress":"::1","HasGateWayAddress":false,"PrefixLength":128}]

2025-05-22 14:32:42.869 Debug NetworkManager: NetworkAddressChanged
2025-05-22 14:32:42.939 Debug NetworkManager: Detected local ip addresses: [{"IPAddress":"192.168.68.127","HasGateWayAddress":true,"PrefixLength":24,"IPv4Mask":"255.255.255.0"},{"IPAddress":"169.254.42.107","HasGateWayAddress":true,"PrefixLength":16,"IPv4Mask":"255.255.0.0"},{"IPAddress":"fe80::1392:cbb6:f717:d89%3","HasGateWayAddress":true,"PrefixLength":64},{"IPAddress":"fe80::1083:4fa7:f482:aaa5%13","HasGateWayAddress":true,"PrefixLength":64},{"IPAddress":"127.0.0.1","HasGateWayAddress":false,"PrefixLength":8,"IPv4Mask":"255.0.0.0"},{"IPAddress":"::1","HasGateWayAddress":false,"PrefixLength":128}]

2025-05-22 14:32:44.870 Debug NetworkManager: NetworkAddressChanged
2025-05-22 14:32:44.931 Debug NetworkManager: Detected local ip addresses: [{"IPAddress":"192.168.68.127","HasGateWayAddress":true,"PrefixLength":24,"IPv4Mask":"255.255.255.0"},{"IPAddress":"169.254.42.107","HasGateWayAddress":true,"PrefixLength":16,"IPv4Mask":"255.255.0.0"},{"IPAddress":"fe80::1392:cbb6:f717:d89%3","HasGateWayAddress":true,"PrefixLength":64},{"IPAddress":"fe80::1083:4fa7:f482:aaa5%13","HasGateWayAddress":true,"PrefixLength":64},{"IPAddress":"127.0.0.1","HasGateWayAddress":false,"PrefixLength":8,"IPv4Mask":"255.0.0.0"},{"IPAddress":"::1","HasGateWayAddress":false,"PrefixLength":128}]

2025-05-22 14:32:48.010 Debug NetworkManager: NetworkAddressChanged
2025-05-22 14:32:48.085 Debug NetworkManager: Detected local ip addresses: [{"IPAddress":"192.168.68.127","HasGateWayAddress":true,"PrefixLength":24,"IPv4Mask":"255.255.255.0"},{"IPAddress":"192.168.68.100","HasGateWayAddress":true,"PrefixLength":24,"IPv4Mask":"255.255.255.0"},{"IPAddress":"fe80::1392:cbb6:f717:d89%3","HasGateWayAddress":true,"PrefixLength":64},{"IPAddress":"fe80::1083:4fa7:f482:aaa5%13","HasGateWayAddress":true,"PrefixLength":64},{"IPAddress":"127.0.0.1","HasGateWayAddress":false,"PrefixLength":8,"IPv4Mask":"255.0.0.0"},{"IPAddress":"::1","HasGateWayAddress":false,"PrefixLength":128}]

 

and then this second network interface disappeared

2025-05-22 14:33:24.126 Debug NetworkManager: NetworkAddressChanged
2025-05-22 14:33:24.222 Debug NetworkManager: Detected local ip addresses: [{"IPAddress":"192.168.68.127","HasGateWayAddress":true,"PrefixLength":24,"IPv4Mask":"255.255.255.0"},{"IPAddress":"fe80::1392:cbb6:f717:d89%3","HasGateWayAddress":true,"PrefixLength":64},{"IPAddress":"127.0.0.1","HasGateWayAddress":false,"PrefixLength":8,"IPv4Mask":"255.0.0.0"},{"IPAddress":"::1","HasGateWayAddress":false,"PrefixLength":128}]

and the connections to thetvdb started to work

 

 

 

Lessaj
Posted
2 hours ago, sa2000 said:

You need to look into your network setup. I do see some network events in the log where a second interface comes live and then disappears. You can see it once as 169.254.42.107 and later coming to life as 192.168.68.100

To my knowledge addresses in the 169.254.0.0/16 range are self assigned when it cannot reach a DHCP server, so I guess it's a network connection that is plugged in but it can't get an address so it's probably flapping on and off.

Posted

So an update for my situation:

It looks like some error is occurring in Emby's recognition of the files.  After I got the first three seasons to load all the metadata I uploaded season 4, however, season 4 is showing as a TV series not a season.  I looked at some of the other shows I have and some of them did the same thing where all the other seasons are recognized as seasons but one is a tv series that does not have metadata.  I have attached some pictures as well as a screenshot of the folder structure.  Please let me know how to fix whatever the "bug" is.

KP1.png

KP2.png

AGU 1.png

SS1.png

Posted
20 hours ago, Lessaj said:

To my knowledge addresses in the 169.254.0.0/16 range are self assigned when it cannot reach a DHCP server, so I guess it's a network connection that is plugged in but it can't get an address so it's probably flapping on and off.

My Emby server is connected through ethernet cord to a wireless mesh.  Is this what you are referring to?

Lessaj
Posted (edited)
34 minutes ago, Myith29 said:

My Emby server is connected through ethernet cord to a wireless mesh.  Is this what you are referring to?

No, because it continues to report 192.168.68.127 as being available, so that interface is fine, but you seem to have another interface that appears for a short time and then disappears. What is it? Maybe a wifi card that's being turned on/off? Is there anything in your Windows event logs around 2025-05-22 14:32 that would indicate a network interface being turned on/created, anything like that?

Edited by Lessaj
sa2000
Posted

@Myith29you could ope Network & Internet / Network Connections in Control Panel and right click disable all but the ethernet card that is working on 192.168.68.127

 

Posted
54 minutes ago, Lessaj said:

No, because it continues to report 192.168.68.127 as being available, so that interface is fine, but you seem to have another interface that appears for a short time and then disappears. What is it? Maybe a wifi card that's being turned on/off? Is there anything in your Windows event logs around 2025-05-22 14:32 that would indicate a network interface being turned on/created, anything like that?

I apologize.  I am not as famaliar with computers on this technical.  I have attached a photo which i think is what you are looking for.

 

45 minutes ago, sa2000 said:

@Myith29you could ope Network & Internet / Network Connections in Control Panel and right click disable all but the ethernet card that is working on 192.168.68.127

I have disabled the wifi so only Ethernet is available.  Will try to refresh my library.

EV1.png

EV2.png

Lessaj
Posted

Seems like the wifi might be the culprit indeed, let's see with it disabled if it still happens.

Posted

embyserver(3).txt

Hmm, no success.  After disabling the wifi I 1)rebooted my computer, 2) removed identification from the show, 3) re-identified the show, 4) scanned the library and 5) refreshed the metadata but season 4 continues to have no metadata info for the show.  Strangely it now shows the container for all seasons as TV Series rather than Seasons.  But when i go into Seasons 1-3 (and the special), they still have the appropriate metadata.

I have attached the most recent log.

KP3.png

Posted
4 hours ago, Myith29 said:

embyserver(3).txt 1.16 MB · 1 download

Hmm, no success.  After disabling the wifi I 1)rebooted my computer, 2) removed identification from the show, 3) re-identified the show, 4) scanned the library and 5) refreshed the metadata but season 4 continues to have no metadata info for the show.  Strangely it now shows the container for all seasons as TV Series rather than Seasons.  But when i go into Seasons 1-3 (and the special), they still have the appropriate metadata.

I have attached the most recent log.

KP3.png

Hi, what makes you think it has no metadata?

Posted
2 hours ago, Luke said:

Hi, what makes you think it has no metadata?

None of the show details show.  And it now appears to be doing this for any show I upload.  I moved the Hey Arnold movie from my movie folder to the TV folder and no metadata shows for it either.  So everything in the folder previously has metadata and new files do not.  Looking at Kim Possible you can see there is no data there when I open the metadata.  It really looks like my link to theTVDB is broken somewhere. 

 

I may have to find the tvdb id for each episode individually. How do I do that?

KP5.png

HA1.png

KP4.png

sa2000
Posted (edited)
21 hours ago, Myith29 said:

After disabling the wifi I 1)rebooted my computer, 2) removed identification from the show, 3) re-identified the show, 4) scanned the library and 5) refreshed the metadata but season 4 continues to have no metadata info for the show

There is circumstancial evidence in the log that the failure to extract the images may have led to the identification failing

When you did the Re-Identify, the first requests went ok but the ones relating to replacing all images failed with error 500 and the times of these errors coincide with the time the image extraction failed 

Example

2025-05-24 02:18:00.757 Error ImageExtraction: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"E:\media\TV\Kim Possible (2002)\Season 2\Kim Possible S02E27.mp4"
2025-05-24 02:18:00.758 Error ImageExtraction: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"E:\media\TV\Kim Possible (2002)\Season 2\Kim Possible S02E27.mp4"

2025-05-24 02:18:00.758 Info Server: http/1.1 Response 500 to host2. Time: 74083ms. POST http://192.168.68.127:8096/emby/Items/RemoteSearch/Apply/59602?ReplaceAllImages=true&X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S916U&X-Emby-Device-Id=bf18bc5d69c577a8&X-Emby-Client-Version=3.4.67&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json

There were 3 such errors logged all coinciding with the time of the image extraction errors - it took 74 seconds to fail.

Could you repeat this test 

21 hours ago, Myith29 said:

 removed identification from the show, 3) re-identified the show, 

But do not select replace all images and see if the identifications complete ok

 

Edited by sa2000
Posted

Man this is really stomping me on this link break.  I removed identification again and re-identified but without replacing the existing images and still no luck.

embyserver(4).txt

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...