User Tools

Site Tools


library_scanning_mechanism

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
library_scanning_mechanism [2015/01/14 16:52]
zip
library_scanning_mechanism [2024/06/07 18:31] (current)
Line 5: Line 5:
 ====== Manual scan ====== ====== Manual scan ======
  
-Manual scan is automatically started on the server start-up. That is, unless you uncheck the [[serviio_console_explained|'Keep library automatically updated']] checkbox. It checks all shared folders (which are currently available and connected) and compares their files with the current state of the media library. It performs any additions / deletions and updates (if [[serviio_console_explained|'Search for updates of currently shared files']] is enabled). This operation may take some time for large libraries.+Manual scan is automatically started on the server start-up. That is, unless you uncheck the [[pc5dczc_console_explained|'Keep library automatically updated']] checkbox. It checks all shared folders (which are currently available and connected) and compares their files with the current state of the media library. It performs any additions / deletions and updates (if [[pc5dczc_console_explained|'Search for updates of currently shared files']] is enabled). This operation may take some time for large libraries.
  
 The Force refresh button will kick off this scan. The Force refresh button will kick off this scan.
Line 13: Line 13:
 ====== Delta scan ====== ====== Delta scan ======
  
-Once the Manual scan has finished, Serviio registers all your available shared folders for Delta scan (again, only if you enable [[serviio_console_explained|'Keep library automatically updated']]). This process will hook into to OS level file monitoring and will perform addition / updates and removal of files in real-time as they happen.+Once the Manual scan has finished, Serviio registers all your available shared folders for Delta scan (again, only if you enable [[pc5dczc_console_explained|'Keep library automatically updated']]). This process will hook into to OS level file monitoring and will perform addition / updates and removal of files in real-time as they happen.
  
 Once a folder is registered to this mechanism, you will see this in your log: Once a folder is registered to this mechanism, you will see this in your log:
Line 24: Line 24:
  
 <code>Added repository XXXX to delta scanner (POLLER)</code> <code>Added repository XXXX to delta scanner (POLLER)</code>
 +
 +The default frequency for polling in this case is 1 minute (ie Serviio will pause for 1 minute after each polling cycle has completed). You can change this via the ''serviio.libraryPollerFrequency'' [[http://serviio.org/index.php?option=com_content&view=article&id=21#q3|system property]] (in number of minutes).
 +
 +======= Delta scanner on Macs and FreeBSD =======
 +
 +Due to current Java implementation, the NATIVE scanner is not available on these platforms. POLLER is used for all shared folders on these systems.
 +
 +======= Forcing POLLER scanner =======
 +
 +Sometimes NATIVE scanner doesn't work. That is especially the case in some combinations of the host operating system and shared remote drives (e.g. Samba/CIFS mapped drives on Linux). If you don't see any automatic updates, try forcing POLLER mechanism by selecting the checkbox on the details page of the Shared Folder. 
  
 ====== External drives management ====== ====== External drives management ======
Line 36: Line 46:
  
 If you want to omit some folders (and their subfolders) from being indexed, just create an empty file ''.nomedia'' in the folder. If you want to omit some folders (and their subfolders) from being indexed, just create an empty file ''.nomedia'' in the folder.
- 
library_scanning_mechanism.1421254320.txt.gz ยท Last modified: 2015/01/14 16:52 by zip