Jump to content

Emby re-scanned each time NAS is Off/On


Recommended Posts

e123enitan
Posted (edited)

System Summary:

 

Libreelec/Kodi for Clients

 

Windows 7 for Emby Server 3.2.20

 

NAS for media collections 

 

 

I have experienced this issue for a while, but it's becoming a FAT-pain;

 

Each time that my NAS drive is off LAN either for reasoning of maintenance or Router failure, Emby for some reason will display a blanked posters and artworks for all media collections.

 

Once the NAS is back on ONLINE, emby will re-scanned all the media files as though they are new before it could populate the posters/artworks, I have always wonder why!

 

If at the initial stage when the media file is added and scanned, all the relevant info such as metadata, people info, artworks are cached into local drive C:\Users\Username\AppData\Roaming\ for future use.

 

 

So why is emby going through the process of FULL scanning each time the NAS is on/off line, it often takes 2 days to complete re scan as my media files is large,could it be my setting is incorrect, can someone advice!

 

 

Cheers!

Edited by e123enitan
Logos302
Posted

I'm not sure if you have something wrong per say.  But I would maybe change it to store your metadata on the local C drive rather then with the media (I don't remember were this setting is).  I would have also said that what you describe is normal behavior.  If something goes offline and then comes back online how is it to know what has returned with out doing a full scan.

e123enitan
Posted (edited)

I'm not sure if you have something wrong per say.  But I would maybe change it to store your metadata on the local C drive rather then with the media (I don't remember were this setting is).  I would have also said that what you describe is normal behavior.  If something goes offline and then comes back online how is it to know what has returned with out doing a full scan.

My thought already scanned files into the roaming shouldn't be blanked, it should compare or scanned addition to the NAS, not going through the whole process, in case of large media files, this process could take longer.

In addition, I didn't add any media files from the time the NAS is OFFLINE, yet the scan can still goes on for a day or two, the  option of  saving file locally is not feasible for me, my local drive a have limited space, reason why the NAS drive come's into place.

Anyway, thanks for your input.

Edited by e123enitan
Happy2Play
Posted

 

System Summary:

 

Libreelec/Kodi for Clients

 

Windows 7 for Emby Server 3.2.20

 

NAS for media collections 

 

 

I have experienced this issue for a while, but it's becoming a FAT-pain;

 

Each time that my NAS drive is off LAN either for reasoning of maintenance or Router failure, Emby for some reason will display a blanked posters and artworks for all media collections.

 

Once the NAS is back on ONLINE, emby will re-scanned all the media files as though they are new before it could populate the posters/artworks, I have always wonder why!

 

If at the initial stage when the media file is added and scanned, all the relevant info such as metadata, people info, artworks are cached into local drive C:\Users\Username\AppData\Roaming\ for future use.

 

 

So why is emby going through the process of FULL scanning each time the NAS is on/off line, it often takes 2 days to complete re scan as my media files is large,could it be my setting is incorrect, can someone advice!

 

 

Cheers!

 

 

This is more your setup/hardware and settings, as my large server doesn't take that long to build a new database but all my data resides with the server.  Settings - Every setting in a library affects how long it take to scan.

 

Example

Last night I rebuilt the library.db on my 18TB server and it only took 1 hour and 42 minutes.  But I have metadata stored with media, so I disabled "Download artwork and metadata from the internet" and "Extract chapter images during the library scan".  Normally with those options enabled new scan takes almost 15+ hours.

 

You always have the option to disable or set the Scan Library task trigger to say once a week or a time you know the NAS will be online to eliminate the "Offline" data issue. 

 

There are also feature requests for this issue though.

Happy2Play
Posted

My thought already scanned files into the roaming shouldn't be blanked, it should compare or scanned addition to the NAS, not going through the whole process, in case of large media files, this process could take longer. the  option of  saving file locally is not feasible for me, my local drive a have limited space, reason why the NAS drive come's into place.

Anyway, thanks for your input.

 

Every library scan changes what is visible, for users like you that have offline data you need a option to have the library scan not affect data the server scan can no longer see.

 

Your only current option as I mentioned above is to adjust the scheduled tasks for "Scan media library" as it is defaulted to scan every 12 hours.

e123enitan
Posted

Every library scan changes what is visible, for users like you that have offline data you need a option to have the library scan not affect data the server scan can no longer see.

 

Your only current option as I mentioned above is to adjust the scheduled tasks for "Scan media library" as it is defaulted to scan every 12 hours.

I shall review my settings, it could be scanning and scrapping episode is what keeps the process longer.

e123enitan
Posted (edited)

This is more your setup/hardware and settings, as my large server doesn't take that long to build a new database but all my data resides with the server.  Settings - Every setting in a library affects how long it take to scan.

 

Example

Last night I rebuilt the library.db on my 18TB server and it only took 1 hour and 42 minutes.  But I have metadata stored with media, so I disabled "Download artwork and metadata from the internet" and "Extract chapter images during the library scan".  Normally with those options enabled new scan takes almost 15+ hours.

 

You always have the option to disable or set the Scan Library task trigger to say once a week or a time you know the NAS will be online to eliminate the "Offline" data issue. 

 

There are also feature requests for this issue though.

so I disabled "Download artwork and metadata from the internet"  if you disable this option, where does emby gather this info from, I thought the essence to have this checked so that when a new media file is added emby will source the meta data from internet TVMDB or something along that line, I'm wrong?

Edited by e123enitan
Happy2Play
Posted

Your issue is Emby is scanning your media while it is offline so it gets sorts removed.  So the next scan sees the media online and re-adds it.  You need to adjust the "Scan media library" in scheduled tasks (click on the task) to disabled and you manually run the task or when you know your NAS is going to be on.

 

This is a OFFLINE media issue and there are many topics and feature requests on it.

  • Like 1
e123enitan
Posted (edited)

Your issue is Emby is scanning your media while it is offline so it gets sorts removed.  So the next scan sees the media online and re-adds it.  You need to adjust the "Scan media library" in scheduled tasks (click on the task) to disabled and you manually run the task or when you know your NAS is going to be on.

 

This is a OFFLINE media issue and there are many topics and feature requests on it.

Nice I, just change few settings, and scanning run's like horse, thanks for your recommendations it appears the issue off line scan relates to the schedule settings . 

Edited by e123enitan
Happy2Play
Posted

As for the "Download artwork and metadata from the internet", yes you need that for new media.  One of the big ones is the extract chapter images during library scan.

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