- Code: Select all
[root@runeaudio ~]# avahi-browse -atrlkp | grep -i -E 'smb|cifs|nfs' | grep -w '='
[root@runeaudio ~]# ls /srv/http/command/rune_s*
/srv/http/command/rune_shutdown
[root@runeaudio ~]# tail -n 15 /srv/http/command/rune_shutdown
by fuddyduddy » 27 Mar 2019, 13:01
[root@runeaudio ~]# avahi-browse -atrlkp | grep -i -E 'smb|cifs|nfs' | grep -w '='
[root@runeaudio ~]# ls /srv/http/command/rune_s*
/srv/http/command/rune_shutdown
[root@runeaudio ~]# tail -n 15 /srv/http/command/rune_shutdown
by janui » 27 Mar 2019, 15:42
Almost, could you run these:fuddyduddy wrote:Is this it?
id mpd
ls -l /mnt/MPD/NAS
ls -l /mnt/MPD/*
tail -n 15 /srv/http/command/rune_shutdown
by fuddyduddy » 27 Mar 2019, 17:19
I did.janui wrote:Hi fuddyduddy,Almost, could you run these:fuddyduddy wrote:Is this it?You may need to add a manual <enter> after the last line
- Code: Select all
id mpd
ls -l /mnt/MPD/NAS
ls -l /mnt/MPD/*
tail -n 15 /srv/http/command/rune_shutdown
Yes, in the Playback interface, "Library" tab, "Albums" and "Artists" are now populated from the [My Music] shared folder on my Windows 10 machine and I have the options to add. add & play, and add, replace & playAnd a question, can MPD build up an index and play music stored on your Windows machine?
by fuddyduddy » 28 Mar 2019, 10:33
by janui » 29 Mar 2019, 15:54
cp /etc/fstab /home/fstab
cp /home/fstab /etc/fstab
chmod 644 /etc/fstab
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
grep -i cifs /etc/fstab
grep -i cifs /proc/mounts
by fuddyduddy » 29 Mar 2019, 18:02
[root@runeaudio ~]# grep -i cifs /proc/mounts
//192.168.1.102/My\040Music/ /mnt/MPD/NAS/music cifs rw,relatime,vers=2.0,sec=ntlmssp,cache=strict,username=rober,domain=DESKTOP8,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.102,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=16384,wsize=17408,actimeo=1 0 0
You should see a line similar to the one we added to /etc/fstab
by janui » 29 Mar 2019, 18:42
umount -aft cifs
/srv/http/command/rune_shutdown
reboot
grep -i cifs /etc/fstab
by fuddyduddy » 29 Mar 2019, 19:43
[root@runeaudio ~]# grep -i cifs /etc/fstab
//192.168.1.102/My040Music /mnt/MPD/NAS cifs ro,vers=3.0,cache=none,username=rober,password=secret 0 0
//192.168.1.102/My040Music /mnt/MPD/NAS cifs ro,vers=3.0,cache=none,username=rober,password=zzzzzzzz 0 0
by fuddyduddy » 01 Apr 2019, 14:18
janui wrote: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.janui
by janui » 01 Apr 2019, 15:21
support RuneAudio