![]() |
|
Auto Rescan package for Synology users (formerly known as Auto Restart package) - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Auto Rescan package for Synology users (formerly known as Auto Restart package) (/showthread.php?tid=426) |
RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - tomfox - 26-04-2016 14:41 (26-04-2016 14:10)winxi Wrote:(26-04-2016 14:00)tomfox Wrote: Hallo, thanks for the answer. Hi, I have 1900 albums in the directory /volume1/music and MinimServer counts 26349 tracks. There will be several JPG or LOG files around, but the total amount could not be more than 50000 files, probably 30000 so well under your limit. Beside that I don’t know how to use ssh and write a limit (to a file?). There are no files to be found on my disk station (NAS) belonging to inotify or Autoscan. RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - winxi - 26-04-2016 15:05 (26-04-2016 14:41)tomfox Wrote: Hi, I have 1900 albums in the directory /volume1/music and MinimServer counts 26349 tracks. There will be several JPG or LOG files around, but the total amount could not be more than 50000 files, probably 30000 so well under your limit. Beside that I don’t know how to use ssh and write a limit (to a file?). There are no files to be found on my disk station (NAS) belonging to inotify or Autoscan. Please try the package attached to this post. This will set the limit to 102400 if it is currently lower. Please post a screenshot of the log window again. RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - tomfox - 26-04-2016 15:59 Thanks, that worked! see attached screenshot, scanning began when I deleted a title. I sometimes see much bigger music libraries, mine is about 1Tb, so maybe the limit should be bigger than 102400? Tom RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - winxi - 26-04-2016 16:58 Thanks for letting me know that i works now. The number of inotify watches is practically limited by the available RAM. I think that a value of 102400 is a good tradeoff between memory usage and the maximum number of allowed music files. If necessary, the user can increase this limit manually anytime. RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - tomfox - 26-04-2016 17:01 I noticed something else: don’t let Finder of OSX look at the watched folder, because it results in a rescan. Probably because OSX manipulates the hidden .DS_Store file. Should the last action not better be excluded as event? RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - winxi - 26-04-2016 18:31 (26-04-2016 17:01)tomfox Wrote: I noticed something else: don’t let Finder of OSX look at the watched folder, because it results in a rescan. Probably because OSX manipulates the hidden .DS_Store file. Should the last action not better be excluded as event? It's a good idea to exclude hidden files from the inotify watches. This as well as the other changes we've discussed are available in version 1.1, see the first post of this thread. Thanks for your help with these improvements! RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - simoncn - 26-04-2016 19:50 (26-04-2016 18:31)winxi Wrote: It's a good idea to exclude hidden files from the inotify watches. This as well as the other changes we've discussed are available in version 1.1, see the first post of this thread. Thanks for your help with these improvements! What about files in @eaDir folders? This can double the nuimber of files that are watched. RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - winxi - 26-04-2016 19:58 (26-04-2016 19:50)simoncn Wrote: What about files in @eaDir folders? This can double the nuimber of files that are watched. The files in @eaDir folders have already been excluded from the inotify watches, the hidden files extend now the list of excluded files. RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - garyt - 28-04-2016 19:46 Hi, I'm hoping for some help here. I've a Synology DS213j, DSM v6.0 with Minimserver 0.8.4. I'm having problems installing the Auto Rescan package. When I get to the 'apply' part of the installation, I get an error message (see attached screenshot) saying the inotifywait binary is not available. I followed the instructions on page 1 of this thread, added the URL etc. Is there anything else needed?[attachment=1179] RE: Auto Rescan package for Synology users (formerly known as Auto Restart package) - winxi - 28-04-2016 20:08 (28-04-2016 19:46)garyt Wrote: Hi, I'm hoping for some help here. I've a Synology DS213j, DSM v6.0 with Minimserver 0.8.4. I'm having problems installing the Auto Rescan package. When I get to the 'apply' part of the installation, I get an error message (see attached screenshot) saying the inotifywait binary is not available. I followed the instructions on page 1 of this thread, added the URL etc. Is there anything else needed? You need to install inotify-tools. When using the repository mentioned in the first post of this thread, this basically means: 1) Adding the reposity URL as package source. 2) Going to the package center community tab and installing inotify-tools. Did you do this? |