Page 2 of 2

Re: MPD Builds

PostPosted: 13 Oct 2018, 18:05
by Beelzebassie
Not sure if relevant, but I approach my QNAP NAS through NFS; nothing fancy, just read-only rights for any guest user.

Re: MPD Builds

PostPosted: 14 Oct 2018, 04:31
by MidnightExpress
eea123 wrote:
I wonder if my QNAP security settings are part of the problem? I just logged into the QNAP as Admin and see that IP 92.37.142.164 was banned for 5 minutes for hammering the NAS. All of my local IPs should be 10.X.X.X, but is there a funky external call from Rune to rebuild the MPD?

Hardware-wise, the QNAP NAS is a TS-251+. That one has an Intel based quad-core with dual 1Gb ethernet ports and 8Gb of RAM.

I checked with my QNAP NAS, the build came from my RPi player only through SAMBA connection.

The poor performance of MPD build may not be related to your NAS as my aged ARM based NAS still works fine with Rune, it may be related to your music folder structures and naming of the music files.

If you found an external IP reaching your NAS, it is related to your router security setting, not Rune/NAS.

MidnightExpress

Re: MPD Builds

PostPosted: 14 Oct 2018, 16:03
by MidnightExpress
eea123 wrote:[i]###### Filesystem mounts ######
//10.0.0.73/Multimedia/Music /mnt/MPD/NAS/NAS0960A5 cifs ro,relatime,vers=1.0,sec=ntlm,cache=none,username=XXXXXXX,uid=1000,forceuid,gid=92,forcegid,addr=10.0.0.73,file_mode=0755,dir_mode=0755,nounix,mapposix,rsize=16384,wsize=17408,actimeo=1 0 0

Your may try to use a higher version of smb protocol and see whether it helps.

From Newtwork Mounts, click on your NAS mount, from there, turn on the "Advanced options" and put in the following options for the "Mount flags".
Code: Select all
vers=2.1,sec=ntlmssp,cache=none,noserverino,ro

Since your Qnap NAS is a recent model, it should support at least SMB 2.1 protocol. If you want to find out the highest smb protocol that your NAS supports, you may ssh to your NAS and issue the commond:
Code: Select all
smb2status

It should show you the max supported SMB protocol. If your NAS supports higher version of smb, you may try to use it.

For instance, here are the output from my NAS for the smb2status command:
Code: Select all
smbd (samba daemon) Version 4.4.16
smbd (samba daemon) is running.
max protocol SMB 2.1 enabled.

MidnightExpress

Re: MPD Builds

PostPosted: 27 Oct 2018, 13:11
by eea123
Thanks. I'll give that a try next. The slow rebuild is just one of those things. Overall Rune works great and this a minor drawback.

Re: MPD Builds

PostPosted: 25 Nov 2018, 18:49
by eea123
Well I think I found it! I turned FFmpeg OFF in the MPD Configuration menu and its building the MPD database in less than 5 minutes now.

Re: MPD Builds

PostPosted: 25 Nov 2018, 23:37
by cmh714
eea123 wrote:Well I think I found it! I turned FFmpeg OFF in the MPD Configuration menu and its building the MPD database in less than 5 minutes now.


Well I will apologize for not mentioning that before......known issue for a really long time...

Re: MPD Builds

PostPosted: 28 Nov 2018, 12:08
by eea123
It's all good. Thanks everyone for the input and assistance. This is / was my first Raspberry PI project, so I get the added benefit of working through that learning curve also.