Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Start server if external storage not mounted
17-05-2016, 09:01 (This post was last modified: 17-05-2016 09:07 by otakar.)
Post: #1
Start server if external storage not mounted
Simon - suggestion for improvement software.

My configuration on NAS Synology:
CONTENTDIR = {/ VOLUME1 / Music} {/ volume2 / Classic} {/ volumeUSB1 / usbshare / 2Music}

If the USB drive is OFF so the SERVER does NOT WORK - ERROR...
Please ENABLE START even if external storage not mounted.
THANK YOU!!
otakar
Find all posts by this user
Quote this message in a reply
17-05-2016, 11:45
Post: #2
RE: Start server if external storage not mounted
What is the exact error message that you are seeing?
Find all posts by this user
Quote this message in a reply
17-05-2016, 20:57 (This post was last modified: 17-05-2016 21:04 by otakar.)
Post: #3
RE: Start server if external storage not mounted
turn ON USB HDD on NAS Synology ds213+
echo "prop contentDir={/volume1/Music}{/volume2/Classic}{/volumeUSB1/usbshare/2Music}" > /volume1/@tmp/minimstdinpipe
echo restart > /volume1/@tmp/minimstdinpipe

ALL OK:
Media server status for MinimServer[ds]: Started Refresh status Rescan
You have selected the following content directories:
/volume1/Music
/volume2/Classic
/volumeUSB1/usbshare/2Music

NEXT:
NAS Synology OFF
USB HDD OFF
NAS Synology START

WEB PAGE ip:9790
Media server status for MinimServer[ds]: Error
Content directory error: /volumeUSB1/usbshare/2Music
You have selected the following content directories:
/volume1/Music
/volume2/Classic
/volumeUSB1/usbshare/2Music

minimserver-out.log
>>starting MinimServer[ds]
>MinimServer: content directory error: /volumeUSB1/usbshare/2Music
MinimServer error: now stopped, use 'restart' or 'exit'

minimserver.config
minimserver.monitorUDN = ……………….
minimserver.udn = …………………….
minimserver.lastIndexTags = Artist, Date, Genre, All Artists, Composer, Conductor, Orchestra
minimserver.tagOptions = Album.sortTags\={Album, Artist}
minimserver.systemUpdateID = 28
minimserver.previousAlbumArtistDisplayRole = true
minimserver.tagCustom = AlbumArtist.displayRole\={artist}, Composer.displayRole\={artist}
minimserver.tagFormat = Artist.displayFormat\={$artist$orchestra$conductor}
minimserver.configVersion = 0.8.231
minimserver.license = 0.8.1
minimserver.contentDir = /volume1/Music\n/volume2/Classic\n/volumeUSB1/usbshare/2Music
minimserver.startupScan = false

Please ENABLE START SERVER even IF external storage not mounted..
Find all posts by this user
Quote this message in a reply
20-05-2016, 18:00
Post: #4
RE: Start server if external storage not mounted
I have made a change in update 85 (now available) to change this error to a warning if a content directory is not available and at least one other content directory is available.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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