Jump to content

Does IBN people ever fix itself after a problem?


ginjaninja

Recommended Posts

ginjaninja

If you have an empty folder created for a person in ibn  with no content...because for whatever reason the fetch failed 1st time. (in my case because i ran out disk space i think).....

When does MB3 right itself? and try again to fetch metadata? is it based on a timer?

A confessed tinkerer i may be but it seems easy to knock mb3 off its perch.

 

because no matter how much i run the refresh people task, these empty persons never get fixed?

I can fix each one individually using the dashboard and identify/refresh.

 

I found 2 powershell commands which did fixed it.

1. Delete files of 0 bytes (take care to run these scripts in IBN/people path/context)

dir -recurse | where {$_.length -eq 0} | del

 

2. Delete empty folders

http://www.powershelladmin.com/wiki/PowerShell_script_to_recursively_delete_empty_folders#Examples

 

FYI , Folders for Actors with '[' in name seems to break the script..but there will only be a couple of erroneous ones which you can delete..if any...

 

3. Restart MB3 and scan library  - the empty folders for people are recreated, but something has reset because...

 

4. Next time the refresh people task is run, the images and xml are downloaded (those that exist on a provider of course)

 

Perhaps it would be good to have a more forceful refresh task that re-fetched all but the most certain pre fetched items again. Perhaps MB3 could set the date modified on the ibn people folders plus or - a random day factor, and force a refresh of ibn folders > 3 months...to ensure the latest image/metadata was redownloaded (without it all be re-downloaded on the same day every 3 months.)

Edited by ginjaninja
Link to comment
Share on other sites

No it doesn't go crazy retrying failed operations. That's what the red triangle is for, to alert you of those failures. Although they need to be made more informative

Link to comment
Share on other sites

ginjaninja

To be clear..in my situation after a recent rebuild... there were no red triangles..just no metadata / fetching of objects that should have automaticaly fetched. By tidying 0 byte files and empty folders mb3 started to fetch ibn rtists and ibn people again..,but without manual intervention..it might bever have righted itself.

Link to comment
Share on other sites

  • 2 months later...

This is the problem i am having, not sure why.

 

I think it might be because i have .xml files for the movies i added.

Metadata is set to read .xml then.nfo but write to .nfo.

 

I am do it that way to try and keep my current info and i had disabled download from the internet when i added some files.

So i think it added the actor but got no picture.

 

Now i have the empty actor directory and it will not download the pictures unless i go to each actor and refresh the actor one at a time.

 

It looks like the People image downloader is not checking if an image is present it is just skiping the check if it finds a directory of that actor . it assumes if the directory exist then so dose the images files for that actor.

Link to comment
Share on other sites

ginjaninja

This is the problem i am having, not sure why.

 

I think it might be because i have .xml files for the movies i added.

Metadata is set to read .xml then.nfo but write to .nfo.

 

I am do it that way to try and keep my current info and i had disabled download from the internet when i added some files.

So i think it added the actor but got no picture.

 

Now i have the empty actor directory and it will not download the pictures unless i go to each actor and refresh the actor one at a time.

 

It looks like the People image downloader is not checking if an image is present it is just skiping the check if it finds a directory of that actor . it assumes if the directory exist then so dose the images files for that actor.

so do the scripts above help for you...eg if you delete empty folders...

Link to comment
Share on other sites

I have not tired them yet, still trying to figuire out why i have the empty folders in the first place. I have deleted a few empty directories and tried a refresh, no help, but i did not restart the server.

 

In my case i am in test mode as i just started using MB3, so i coul just delete all the ImagesByName as i only have 6 movies and hundreds of TV shows in the lib. But i have 1000s of empty folder for actors.

 

I will test it more today and let you know what i find. I have tried to have it process the nfo file first and refresh with internet download on but i need to delete all the actors and restart first to see if it works like normal, then i can turn off the internet download and see it makes empty folder again.

 

 

EDIT: It seems if you wait long enough, like over night it does go out and get all the actors if you have internet download enabled, so when i just looked i now have all the actors pictures showing.

Edited by Rainey
Link to comment
Share on other sites

ginjaninja

i noticed some well know actors had no bio or images....i deleted empty folders and refreshed people and got 400mb more .

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