Hi fuddyduddy,
What I propose is modify a system file which will mount your Windows share at boot time. RuneAudio will know nothing about the mount so the Sources UI will not list it. MPD will see the mount and index any music files on it. If MPD can only see a part of your music collection, please report it, there is a solution for this. This solution has the limitation that only one Windows share or NAS can be added. Again there is a solution for this, please report it if you need it. I am trying to keep it as simple as possible.
The system file which you are going to modify is /etc/fstab. So lets make a copy of it in case we screw up:
cp /etc/fstab /home/fstab
To start again you need to copy it back with these commands:
cp /home/fstab /etc/fstab
chmod 644 /etc/fstab
With this next command you can add a line to /etc/fstab which should mount your Windows share:
echo //192.168.1.102/My\040Music /mnt/MPD/NAS cifs ro,vers=3.0,cache=none,username=rober,password=secret 0 0 >> /etc/fstab
Note, this is one line, even though it looks like two, you must execute it as one line! You will also need to modify the command line to correct your username and password BEFORE executing it. After running it check the results with:
grep -i cifs /etc/fstab
The output should look very similar to the command which you used to mount the share.
Then reboot.
Check that the mount is successful with the command:
grep -i cifs /proc/mounts
You should see a line similar to the one we added to /etc/fstab
janui