|
Synology - scheduled/automatic rescan???
|
|
14-04-2023, 18:54
Post: #1
|
|||
|
|||
|
Synology - scheduled/automatic rescan???
Any way to schedule an automatic re-scan, or is that handled automatically when the media directory changes??? I can't find solid info on this...
Thanks!!! |
|||
|
15-04-2023, 07:14
Post: #2
|
|||
|
|||
| RE: Synology - scheduled/automatic rescan??? | |||
|
15-04-2023, 12:54
Post: #3
|
|||
|
|||
|
RE: Synology - scheduled/automatic rescan???
When creating the task in Task Scheduler, you need to enter this for the user-defined script:
/var/packages/MinimServer/target/bin/mscript -c rescan |
|||
|
16-04-2023, 14:25
Post: #4
|
|||
|
|||
|
RE: Synology - scheduled/automatic rescan???
But does a time schedule make sense? Either you have to wait too long after adding new music or minimserver will scan way too often. At least for me it is no problem to trigger a rescan manually if needed. Either via the minimserver web frontend on a PC, smart phone or tablet or via bubble upnp app on Android.
|
|||
|
16-04-2023, 18:11
Post: #5
|
|||
|
|||
|
RE: Synology - scheduled/automatic rescan???
I totally agree with Tarnkappe.
The effort it takes to perform a manual rescan is minimal. I have been using a server performing automatic rescan for a short while and did not like having no control over when a new file was added. It takes a while before new music is added, which is undesirable if you want to listen immediately and if you first want tag or add some artwork before the files are added, the server (or in the OP his case the NAS) decides when to rescan which also might be unwanted. |
|||
|
21-04-2023, 08:56
Post: #6
|
|||
|
|||
RE: Synology - scheduled/automatic rescan???
(16-04-2023 14:25)tarnkappe Wrote: But does a time schedule make sense? Either you have to wait too long after adding new music or minimserver will scan way too often. At least for me it is no problem to trigger a rescan manually if needed. Either via the minimserver web frontend on a PC, smart phone or tablet or via bubble upnp app on Android. This depends on your needs. I have Podcasts which are downloaded automatically by gPodder and want to have them available via MinimServer. I don't need to have them available immediately so I let MinimServer rescan its directories every night to have my Podcasts available next morning. Kind regards steamfan |
|||
|
22-04-2023, 14:06
Post: #7
|
|||
|
|||
RE: Synology - scheduled/automatic rescan???
(15-04-2023 12:54)simoncn Wrote: When creating the task in Task Scheduler, you need to enter this for the user-defined script: I'm using the docker container minimworld/minimserver to run a second instance of MinimServer on my Synology. Is it possible to trigger there a rescan with Synologys Task Scheduler? Unfortunatly cron is not installed in this container. Kind regards steamfan |
|||
|
22-04-2023, 17:53
Post: #8
|
|||
|
|||
|
RE: Synology - scheduled/automatic rescan???
This should be possible using the -a option of mscript. Instead of using the command
/var/packages/MinimServer/target/bin/mscript -c rescan you can use the command /var/packages/MinimServer/target/bin/mscript -a :nnnn -c rescan where nnnn is the value of the http.port property of the container instance of MinimServer. If there is only one container instance, this value will be 9792 by default. |
|||
|
27-04-2023, 11:57
Post: #9
|
|||
|
|||
|
RE: Synology - scheduled/automatic rescan???
Thanks for the support, this works very well.
Kind regards steamfan |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



