Jump to content

actors metadata are not being populated


Recommended Posts

Happy2Play
Posted
Just now, Neminem said:

Yes TVDB is the first provider in all my options.

Except for this 

 

Issue is Emby only gets people on initial import of said TV Show or Movie.  Emby gets url from provider, opening Series or Movie or Person should GET image from provider and store locally.

So troubleshooting People can only happen at initial item import.

Posted

Looking at Metadata it look like all data for ppl are from tmdb.

Searching in my local metadata I can't find anything about,

Name-tvdb-Id

image.thumb.png.13d3f74a814a764acd26a89b0336f087.png

Posted
8 minutes ago, Happy2Play said:

So troubleshooting People can only happen at initial item import.

Enable debug logs, restart server.

So remove tv-show wait ...

Re-add tv-show wait, take logs.

Happy2Play
Posted (edited)

I see I have 146 broken TVDB images on my test server.

 

image.png.8a2b81e6f168692be6a2b4a394d23789.png

So I could technically prefix all of them with the correct info and just drive on but still need to try and figure out how it happened but may be a old issue that was fixed but will need to do some clean/new testing.

9 minutes ago, Neminem said:

Enable debug logs, restart server.

So remove tv-show wait ...

Re-add tv-show wait, take logs.

ISSUE will be the people most likely will not be purged from the database so old/bad info will remain.

 

 

Added query 

select Id, Name, ProviderIds, Images from MediaItems where type=23 and Images like '/banners/v4/actor/%'

 

Edited by Happy2Play
added query
Posted (edited)

Ok have a old Nuc I could setup tomorrow with a emby docker.

Do some test runs on a clean setup, with 3-4 tv shows in it.

And see what we can come up with.

Edit.

Will setup the docker like I have now, just another share.

Setup library like now, and cache folder to keep Spinning rust spun down.

Edited by Neminem
Adding
Happy2Play
Posted (edited)

And here is a db hack if you want to fix the broken urls.

image.thumb.png.7cd344cbbaae487b8f06111c4df7441c.png

UPDATE "main"."MediaItems" SET "Images" = replace( "Images", '/banners/v4/actor/', 'https://artworks.thetvdb.com/banners/v4/actor/' ) WHERE Images LIKE '/banners/v4/actor/%';

 

Edited by Happy2Play
  • Like 1
Posted

He he I don't see them now, since I manually fixet them all today, by refreshing them.

But thanks, will put that in my notes 😉

Happy2Play
Posted

@Lukelooking at a clean install to me it looks like the issue is coming from Episode guest stars/people.  Noticed it via Game of Thrones episodes.

https://api4.thetvdb.com/v4/episodes/3436421/extended?meta=translations
{
        "id": 64033338,
        "name": null,
        "peopleId": 247832,
        "seriesId": 121361,
        "series": null,
        "movie": null,
        "movieId": null,
        "episodeId": 3436421,
        "type": 4,
        "image": null,
        "sort": 0,
        "isFeatured": false,
        "url": "247832-gethin-anthony",
        "nameTranslations": null,
        "overviewTranslations": null,
        "aliases": null,
        "peopleType": "Guest Star",
        "personName": "Gethin Anthony",
        "tagOptions": null,
        "personImgURL": "/banners/v4/actor/247832/photo/60629d5d52bfb.jpg"
      }

 

image.png.c398cb22f2c7535be37fa6b6cec84dac.png

Since these are not cached had to look at TVDB api.

Don't see this issue at series level.

 

  • Like 1
visproduction
Posted (edited)

Wow, you guys are working the issue fast!  

I tried the d**** method and checked 10 actors with no images and refreshed metadata and checked Replace images. (Does that make any difference if there are no images to start?) 

I had to refresh the page and search again for d****.    If you don't refresh, the 10 actors selected, stayed with no images.  After a refresh, I did get 2 new images out of the 10.  So that is 20% improved.

Edited by visproduction
Happy2Play
Posted
1 minute ago, visproduction said:

Wow, you guys are working the issue fast!  

I tried the d**** method and checked 10 actors with no images and refreshed metadata and replace images. (Does that make any difference?)  I had to refresh the page and search again for d****.    If you don't refresh, the 10 actors selected stayed without any images.  After a refresh, I did get 2 new images out of the 10.  So that is 20% improved.

Yes that is sort of normal as the queries happen behind the scenes the active page does not refresh, and sort makes sense as you really don't want it refreshing 10x in a row with your example.

Happy2Play
Posted

Minus a timing of actor being imported I can only produce the issue on Episodes.  As all Series queries I have seen have full urls.  So if the person by chance gets imported into db from a episode first then I can see them being broken at series/movie level.

image.thumb.png.d342a813e4456bb5ac0413379f7d250b.png

 

image.png.8c42e9d227e0afd4ddb6c4a543b34c22.png

Per the episode json.

image.png.452cf3c06e461e7ecdfb70e83997e60e.png

Posted

@Happy2PlayYou are right, its cast and crew, under episodes that at messed up.

Just found this after adding this series yesterday.

This should be in the logs I posted yesterday.

image.thumb.png.5a798d191853d9aff1abb6d959928b79.png

  • 2 weeks later...
Posted
On 11/2/2024 at 1:55 PM, Happy2Play said:

And here is a db hack if you want to fix the broken urls.

image.thumb.png.7cd344cbbaae487b8f06111c4df7441c.png

UPDATE "main"."MediaItems" SET "Images" = replace( "Images", '/banners/v4/actor/', 'https://artworks.thetvdb.com/banners/v4/actor/' ) WHERE Images LIKE '/banners/v4/actor/%';

 

Thanks. An update to the tvdb plugin is going out.

  • Thanks 2
Happy2Play
Posted
1 minute ago, Luke said:

Thanks. An update to the tvdb plugin is going out.

Now this will only apply going forward.  What will users with existing issue have to do?

Posted
3 minutes ago, Happy2Play said:

Now this will only apply going forward.  What will users with existing issue have to do?

It will require manual metadata refreshes.

Happy2Play
Posted (edited)

Appears resolved in my tests with plugin update Tvdb 1.5.4. 

Did a clean install and no longer got broken images.  And queried the db to be sure as there are no longer broken image urls.

Also tested on a broken system and Refreshed metadata on series corrected the actors with broken images.

 

If one does not want to Refresh metadata then one will need to shutdown Emby, open the library.db in db editor and run the command to update existing broken TVDB broken image urls.

UPDATE "main"."MediaItems" SET "Images" = replace( "Images", '/banners/v4/actor/', 'https://artworks.thetvdb.com/banners/v4/actor/' ) WHERE Images LIKE '/banners/v4/actor/%';

 

Issue should no longer happen going forward and existing issues will have to be Refreshed or DB manual update.

Edited by Happy2Play
  • Like 1

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