Post Reply 
rescan from command line
19-10-2015, 12:52
Post: #1
rescan from command line
Is there a way ti initiate a rescan from the command line. I want to add it to the auto USB mount/dismount code.

Dennis
Find all posts by this user
Quote this message in a reply
19-10-2015, 13:12
Post: #2
RE: rescan from command line
(19-10-2015 12:52)dennis_k85 Wrote:  Is there a way ti initiate a rescan from the command line. I want to add it to the auto USB mount/dismount code.

Dennis

What platform are you using to run MinimServer?
Find all posts by this user
Quote this message in a reply
19-10-2015, 14:19
Post: #3
RE: rescan from command line
(19-10-2015 13:12)simoncn Wrote:  
(19-10-2015 12:52)dennis_k85 Wrote:  Is there a way ti initiate a rescan from the command line. I want to add it to the auto USB mount/dismount code.

Dennis

What platform are you using to run MinimServer?

Linux on an ARM.
Find all posts by this user
Quote this message in a reply
19-10-2015, 14:40
Post: #4
RE: rescan from command line
For any Linux platform, if you have installed MinimServer in the directory {installdir}, you can do:

echo "rescan" > {installdir}/minimserver/data/minimserver.pipe
Find all posts by this user
Quote this message in a reply
19-10-2015, 14:58
Post: #5
RE: rescan from command line
(19-10-2015 14:40)simoncn Wrote:  For any Linux platform, if you have installed MinimServer in the directory {installdir}, you can do:

echo "rescan" > {installdir}/minimserver/data/minimserver.pipe

Thank you, I will try it tonight.
Find all posts by this user
Quote this message in a reply
21-10-2015, 18:46
Post: #6
RE: rescan from command line
(19-10-2015 14:58)dennis_k85 Wrote:  
(19-10-2015 14:40)simoncn Wrote:  For any Linux platform, if you have installed MinimServer in the directory {installdir}, you can do:

echo "rescan" > {installdir}/minimserver/data/minimserver.pipe

Thank you, I will try it tonight.

echo "rescan" > /usr/src/minimserver/data/minimserver.pipe
never returns from the echo command and does not initiate a rescan. What am I doing wrong?

Dennis
Find all posts by this user
Quote this message in a reply
21-10-2015, 19:31
Post: #7
RE: rescan from command line
(21-10-2015 18:46)dennis_k85 Wrote:  echo "rescan" > /usr/src/minimserver/data/minimserver.pipe
never returns from the echo command and does not initiate a rescan. What am I doing wrong?

Dennis

Are you sure MinimServer is running when you run the echo command? How are you starting MinimServer? Does the user running the echo command have the necessary privilege to write to the minimserver.pipe file?
Find all posts by this user
Quote this message in a reply
21-10-2015, 19:34
Post: #8
RE: rescan from command line
(21-10-2015 19:31)simoncn Wrote:  
(21-10-2015 18:46)dennis_k85 Wrote:  echo "rescan" > /usr/src/minimserver/data/minimserver.pipe
never returns from the echo command and does not initiate a rescan. What am I doing wrong?

Dennis

Are you sure MinimServer is running when you run the echo command? How are you starting MinimServer? Does the user running the echo command have the necessary privilege to write to the minimserver.pipe file?

Yes Minim server is running. It is started on system boot. I can play songs from it.
Yes I tried the command from an ssh session logged in as root.

Dennis
Find all posts by this user
Quote this message in a reply
21-10-2015, 21:46
Post: #9
RE: rescan from command line
(21-10-2015 19:34)dennis_k85 Wrote:  Yes Minim server is running. It is started on system boot. I can play songs from it.
Yes I tried the command from an ssh session logged in as root.

Dennis

How are you starting MinimServer on system boot? Have you used the minimserver/bin/setup command to enable autostart?
Find all posts by this user
Quote this message in a reply
21-10-2015, 21:47
Post: #10
RE: rescan from command line
(21-10-2015 21:46)simoncn Wrote:  
(21-10-2015 19:34)dennis_k85 Wrote:  Yes Minim server is running. It is started on system boot. I can play songs from it.
Yes I tried the command from an ssh session logged in as root.

Dennis

How are you starting MinimServer on system boot? Have you used the minimserver/bin/setup command to enable autostart?
Yes
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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