Reply To: Different servers or folders / how to

#10948
ervin23
Participant

@S80_UK wrote:

@ervin23 wrote:

The shared mp3_dir is however causing me trouble ….

#
# mp3_dir (required)
#
# Location of the mp3 files to share. This corresponds
# to a folder called “mp3” in the “DISK 1” share.
#

mp3_dir=/share/hdd/data/mp3/all,/share/hdd/data/mp3/ev

# servername (required)
#
# This is both the name of the server as advertised
# via rendezvous, and the name of the database
# exported via DAAP
#

servername All Music

#
# runas (required)
File mt-daapd.conf saved
# /opt/etc/init.d/S60mt-daapd
Required config entry ‘mp3_dir’ not specified
Error reading config file (/opt/etc/mt-daapd/all/mt-daapd.conf)
# mp3_dir=/share/hdd/data/mp3/all,/share/hdd/data/mp3/ev
#
You see I have the “mp3_dir=etc” ….. but the server can’t read it on restart

I’m on Version 0.2.4

Any tips … best regards ev

At the moment I can’t see anything obvious. I have never used 0.2.4 so I wonder if that may be related – I am currently on the recent nightly release 1586 (from http://nightlies.mt-daapd.org/), but I got his working with 1511 I think.

But before you change anything big – let’s check the basics… Have you tried with just a single directory specifed? Can you see the directory(s) at the location specified? (try

cd /share/hdd/data/mp3/all

for example to change to that directory, then

ls

to see the files and directories there)

(and apologes in advance if you know all that stuff 🙂 )

If anyone else can see a problem here that I’m missing – please join in…

Les.

hi

8) …. the server is running perfectly with 4 mp3 filled folders, all named separately with their own conf file as shares in iTunes …let’s call them A, B, C % D … but only with one mp3_dir line is each conf file, ex:

mp3_dir         /share/hdd/data/mp3/A

… and all the folders (dirs) are present.

so far so good

I’m trying to combine these four in share All as follows:

mp3_dir=/share/hdd/data/mp3/all,/share/hdd/data/mp3/A,/share/hdd/data/mp3/B,/share/hdd/data/mp3/C,/share/hdd/data/mp3/D

and I get this error when restarting the server:

# /opt/etc/init.d/S60mt-daapd
Required config entry ‘mp3_dir’ not specified
Error reading config file (/opt/etc/mt-daapd/all/mt-daapd.conf)
# mp3_dir=/share/hdd/data/mp3/all,/share/hdd/data/mp3/A,/share/hdd/data/mp3/B,/share/hdd/data/mp3/C,/share/hdd/data/mp3/D
#
I wonder as well if it’s ver 2.4.2 related ….

ervin 😀