Jump to content

Old item stuck in Library


Recommended Posts

Posted (edited)

I have an issue where the library scan is not picking up a particular file.  It is 1 of group of 7 files which were moved, along with their folder to a different place in the library.

So, for example:

 

media/cat1/series/film1.mp4

media/cat1/series/film2.mp4

media/cat1/series/film3.mp4

 

got moved to:

 

media/cat2/series/film1.mp4

media/cat2/series/film2.mp4

media/cat2/series/film3.mp4

 

After a library scan, film1 and film2 showed up fine in their new location, but film3 was missing.

A quick delve through the library.db file showed that it had an entry for film3, but point to the old location not the new one.

 

I then tried the following sequence:

 

  1. Move file back to old location
  2. Library scan (film shows up in searches)
  3. Move file out of the library entirely
  4. Library scan (hoping it would clear out the old entry.  It didn't)
  5. Move file back to new location
  6. Library scan (not showing up in searches again)

Can you please advise on the best route to get the old entry out of the library so that it can pick up the file from the new location?

Also, could we maybe get an error in the log when this happens?  I grepped the emby log folder for the problem filename and it shows much more activity when it finds the file in the old location than in the new one.  grep output and log file attached.

 

The file has the same permissions as the other files next to it which moved fine.

embyserver.txt

grepped-embyserver.log

Edited by Banjo
Posted

Hi, what are the contents of the original folder now?

Posted

A whole load of other films.

 

Actually, I just realised I mis-described the scenario slight:

 

media/cat1/film1.mp4

media/cat1/film2.mp4

media/cat1/film3.mp4

media/cat1/<many more films>

 

got moved to:

 

media/cat2/series/film1.mp4

media/cat2/series/film2.mp4

media/cat2/series/film3.mp4

media/cat2/<many more films and series folders>

  • 2 weeks later...
Posted

I'm not sure yet. Are you still running into this?

Posted

It seems to have resolved itself at some point since I logged this.

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