Post Reply 
I feel silly asking, but, does minimserver do automatic rescans?
21-09-2016, 08:32
Post: #11
RE: I feel silly asking, but, does minimserver do automatic rescans?
(30-03-2016 22:28)simoncn Wrote:  
(30-03-2016 22:16)n3mmr Wrote:  And what triggers any rescans??

I feel REALLY stupid for not being able to find anything about this anywhere.

They say that the only stupid question is the one that isn't asked. Smile

MinimServer doesn't have any way at present to do automatic rescans. To trigger a rescan, you can:

1) Select Rescan from the minim icon (in MinimServer or MinimWatch)

2) Click the Rescan button on the Minimserver status web page

3) Issue the 'rescan' command from the MinimServer or MinimWatch console interface

If music is playing, this will continue while the rescan takes place.

The Lumin control point also offers the option to initiate a rescan.
Find all posts by this user
Quote this message in a reply
21-09-2016, 12:20
Post: #12
RE: I feel silly asking, but, does minimserver do automatic rescans?
(21-09-2016 08:32)Pepsican Wrote:  The Lumin control point also offers the option to initiate a rescan.

... as does Bubble (DS and UPnP).

I hope that Simon will soon bite the bullet and make it clear that adding automatic rescans is no longer on the MinimServer 'to do' list, for the reasons given by lyapounov a few posts back. Support queries on servers with this 'ease of use' feature (Linn's KazooServer, for example) indicate that it is in practice a lot more trouble than it is worth.

David
Find all posts by this user
Quote this message in a reply
21-09-2016, 20:50
Post: #13
RE: I feel silly asking, but, does minimserver do automatic rescans?
(21-09-2016 07:59)steamfan Wrote:  I'm using a Synology DS231+

To set up an automatic daily rescan in Synology DSM, do the following:

1) Select Control Panel > Task Scheduler
2) Create a new scheduled task of type 'User-defined script'
3) In the General tab, change the user from root to admin
4) In the Schedule tab, enter the time that you want the task to run each day
5) In the Task Settings tab, under 'Run command', copy and paste the following into the box:
echo rescan | /var/packages/MinimServer/target/bin/mscript
6) Click OK
Find all posts by this user
Quote this message in a reply
23-09-2016, 09:58
Post: #14
RE: I feel silly asking, but, does minimserver do automatic rescans?
(21-09-2016 20:50)simoncn Wrote:  To set up an automatic daily rescan in Synology DSM, do the following:

<skipped>
5) In the Task Settings tab, under 'Run command', copy and paste the following into the box:
echo rescan | /var/packages/MinimServer/target/bin/mscript
...

Hello Simom,

many thank for the command line which works for me most of the time. Sometimes get the response (either from the Synology Task or directly from the command line) even if MinimStreamer is currently streaming:

Code:
echo rescan | /var/packages/MinimServer/target/bin/mscript
Server not responding: localhost:9790

What does that mean?

Kind regards
steamfan
Find all posts by this user
Quote this message in a reply
23-09-2016, 10:58
Post: #15
RE: I feel silly asking, but, does minimserver do automatic rescans?
Please try enabling debug output, as follows:

echo rescan | /var/packages/MinimServer/target/bin/mscript -d

What output does this produce?
Find all posts by this user
Quote this message in a reply
23-09-2016, 11:44
Post: #16
RE: I feel silly asking, but, does minimserver do automatic rescans?
Hello,

I have changed the task on the Synology Diskstation and will inform you if the error appears again.

Currently I trigger the rescan via the command line but did not get any error.

Kind regards
steamfan
Find all posts by this user
Quote this message in a reply
26-09-2016, 10:17
Post: #17
RE: I feel silly asking, but, does minimserver do automatic rescans?
Hello,

I have now two occurrences of the error. The output from the task is sent by mail:

Code:
Aufgabe: MinimServer Neustart
Startzeit: Mon, 26 Sep 2016 04:00:03 GMT
Stoppzeit: Mon, 26 Sep 2016 04:00:11 GMT
Aktueller Status: 3
Standardausgabe/Fehler:
.rescan
.connecting: http://localhost:9790/
.getResponseCode exception: java.net.SocketTimeoutException: Read timed out
Server not responding: localhost:9790
+:status=3

Kind regards
steamfan
Find all posts by this user
Quote this message in a reply
26-09-2016, 11:02
Post: #18
RE: I feel silly asking, but, does minimserver do automatic rescans?
Thanks for this. The rescan command has been sent to the server and the server has restarted and responded to the scripting client. Before the client could read the server response, the socket connection from the client to the server has timed out.

The default timeout is set at 5 seconds and this should normally be long enough. For some reason, it doesn't seem to be long enough in your environment. I suggest you increase the timeout to 10 seconds by using the following command:

echo rescan | /var/packages/MinimServer/target/bin/mscript -d -t 10
Find all posts by this user
Quote this message in a reply
19-10-2016, 01:35
Post: #19
RE: I feel silly asking, but, does minimserver do automatic rescans?
I do have additional questions about rescanning: (use QNAP and Lumin android App)Huh
1 After adding some new ripped CD’s I do a manual rescan on the QNAP, mostly the program stucks at status stopping, I must stop and restart the application on the QNAP app menu myself. I can live with that.
2 Sometimes (rather often) when adding cd files to a playlist, the app stucks, after the app returns I lost the option to select music from the folder structure. I must then rescan to repair the view of the folder structure.
Any idea what I do wrong. I appears when I add a CD (if adding an artist or genre it stucks anyway):
3 Genres are multiplied eg classic and Classic, I manual correct these tags with mp3tag Dodgy
4 after changing a lot of tags or e.g a filestructure I wonder if it is not better to empty the cache (Lumin App remove library), any adviceHuh
5 I have used the Logitech MS for more than 10 years, I would be happy if a new version of the mimimserver will support random play based on the selection of genres.Tongue
Find all posts by this user
Quote this message in a reply
21-10-2016, 09:49
Post: #20
RE: I feel silly asking, but, does minimserver do automatic rescans?
(19-10-2016 01:35)Midpoint Wrote:  I do have additional questions about rescanning: (use QNAP and Lumin android App)Huh
1 After adding some new ripped CD’s I do a manual rescan on the QNAP, mostly the program stucks at status stopping, I must stop and restart the application on the QNAP app menu myself. I can live with that.
2 Sometimes (rather often) when adding cd files to a playlist, the app stucks, after the app returns I lost the option to select music from the folder structure. I must then rescan to repair the view of the folder structure.
Any idea what I do wrong. I appears when I add a CD (if adding an artist or genre it stucks anyway):
3 Genres are multiplied eg classic and Classic, I manual correct these tags with mp3tag Dodgy
4 after changing a lot of tags or e.g a filestructure I wonder if it is not better to empty the cache (Lumin App remove library), any adviceHuh
5 I have used the Logitech MS for more than 10 years, I would be happy if a new version of the mimimserver will support random play based on the selection of genres.Tongue

1) With "Manual Rescan" you mean via the MinimServer website?
2) No idea. I don't have this problem with Lumin on my iPad. Perhaps there is an issue with the Android version of Lumin? Have you tried an alternative control pint, like BubbleUPnP?
3) Yes, no-one said that ripped CDs would have correct metadata. Probably, these misspellings are flagged up in the MinimServer log. You may want to install MinimWatch on your desktop/laptop to check the log and refine your settings for MinimServer.
4) If I have done a lot of changes, every so often I let Lumin rescan its library. There is no harm in doing that, other than that it costs time. This is just so Lumin (or other control points) can more quickly retrieve the album art.
5) Sounds to me this is a thing to solve for the control point (i.e. Lumin), not the server. The server's task is to index your files and all the ways you desire. The control point is for selecting what tracks to play back in what order.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)