Jump to content

need to refresh a lot of actor metadata at once


Recommended Posts

EatPrilosec
Posted

a lot of my actor and actress metadata is broken. if i tap n hold, i can refresh and replace the metadata one at a time, and that fixes it. but i have a lot broken for some reason, is there a way to do a full refresh of all actor/actress metadata?

 

Screenshot_20220420-221135.thumb.jpg.13aa37eb4339dcc8aab9f3c1069114cc.jpg

Happy2Play
Posted

There is no bulk refresh of People currently. 

I would ask what happened to your Emby /metadata/people folder?  Probably need to see a server log.

Have you tried Refresh Metadata on the Series?

 

@mickle026would your plugin work here?

EatPrilosec
Posted (edited)
Quote

I would ask what happened to your Emby /metadata/people folder?  Probably need to see a server log.

Have you tried Refresh Metadata on the Series?

its definitely something I caused, about a year ago when figuring out how to run multiple instances of emby. i rm'd with too much confidence and the wrong placement of a wildcard. I lost all metadata at that point and ended up moving it all somewhere safer and refreshing the libraries. the logs are definitely long gone. refreshing the library obviously didn't help with the actor metadata, but ill tried series, and seasons individually

also, if there's a way to do it via the emby api, id look into it. ive looped a few `wgets` and `curls` in my time

Quote

@mickle026would your plugin work here?

 

what plugin would that be btw?

Edited by NErdgOd56
mickle026
Posted (edited)
1 hour ago, NErdgOd56 said:

its definitely something I caused, about a year ago when figuring out how to run multiple instances of emby. i rm'd with too much confidence and the wrong placement of a wildcard. I lost all metadata at that point and ended up moving it all somewhere safer and refreshing the libraries. the logs are definitely long gone. refreshing the library obviously didn't help with the actor metadata, but ill tried series, and seasons individually

also, if there's a way to do it via the emby api, id look into it. ive looped a few `wgets` and `curls` in my time

 

what plugin would that be btw?

Im not sure whats exactly wrong, but my answer is  that it is very likely.,

Under the repair tab, this removes corrupt image links arnd forces a metadata refresh.   The metadata refresh will use the configured plugins such as tmdb, tvdb etc.

If you try it make sure that you have internet access!

1231950282_Screenshot2022-04-21at04-59-41Emby.png.c9c2f3685623e2382c2d3dc8ef7d8c2b.png



This plugin.  Use one from the latest/last entries in the thread.

https://emby.media/community/index.php?/topic/94263-backup-restore-actors-beta-with-local-or-web-based-restore/&do=findComment&comment=1134427

Edited by mickle026
  • Like 1
  • Agree 1
Happy2Play
Posted
4 hours ago, NErdgOd56 said:

also, if there's a way to do it via the emby api, id look into it. ive looped a few `wgets` and `curls` in my time

Have you looked at the call made when you refresh a person?

http://localhost:8096/emby/Items/{ID}/Refresh?Recursive=false&MetadataRefreshMode=FullRefresh&ImageRefreshMode=FullRefresh&api_key={APIKEY}

You would need each persons ID from the database.

  • Thanks 1
EatPrilosec
Posted
Quote

Under the repair tab, this removes corrupt image links arnd forces a metadata refresh.   The metadata refresh will use the configured plugins such as tmdb, tvdb etc.

would that be the emby plugins, or do i have to configure fetchers/scrapers in your plugin's interface? (i have not changed any settings in your plugin so far)

also, im using the latest ebmy-server beta, on debian (specifically proxmox, host not container) and am acting under the assumption i was meant to use `CustomProviderbeta.dll`

i ran the fix actor cards button with force refresh checked. which did do something noticable so far-- it fixed the cards from being the broken-link icon shown previously to the generic stick person image, but i havent noticed any new actors faces yet. i have a somewhat big library so im giving it time because of scraper api limits etc, and ill report back if they start popping up

EatPrilosec
Posted
1 hour ago, Happy2Play said:

Have you looked at the call made when you refresh a person?

http://localhost:8096/emby/Items/{ID}/Refresh?Recursive=false&MetadataRefreshMode=FullRefresh&ImageRefreshMode=FullRefresh&api_key={APIKEY}

You would need each persons ID from the database.

this is exactly what i wanted, i can work with this as a last resort before just starting a new server, if the plugin route doesnt work out. thanks

  • 3 months later...
Posted
curl -X GET "https://$EMBY_URL/emby/Persons?api_key=$API_KEY" -H "accept: application/json" | jq -r '.Items[].Id' | xargs -I '{}' curl -X POST "https://$EMBY_URL/emby/Items/{}/Refresh?Recursive=false&MetadataRefreshMode=FullRefresh&ImageRefreshMode=FullRefresh&ReplaceAllImages=true&ReplaceAllMetadata=true&api_key=$API_KEY" -H "accept: application/json"

For anyone else who needs this, here's the oneliner I used for this to replace all the metadata and images for all actors. You can add use `-P <num>` to xargs to run things in parallel and speed things up.

  • 1 year later...
Painkiller88
Posted

Any updates on the availability to refresh Actors?

There are a Lot actors no longer living etc, how can i update those?

Thanks

Posted
19 hours ago, Painkiller8818 said:

Any updates on the availability to refresh Actors?

There are a Lot actors no longer living etc, how can i update those?

Thanks

Hi, yes this is something we can look at. Thanks for the feedback.

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