MPD Builds

Raspberry Pi related support

Re: MPD Builds

Postby Beelzebassie » 13 Oct 2018, 18:05

Not sure if relevant, but I approach my QNAP NAS through NFS; nothing fancy, just read-only rights for any guest user.
Raspberry Pi 3B (rev. 1.2) | Allo DigiOne
Beelzebassie
 
Posts: 74
Joined: 09 Nov 2014, 12:16

Re: MPD Builds

Postby MidnightExpress » 14 Oct 2018, 04:31

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
Pi3b+, Ver. Experimental Beta 0.5 20180903, ES9018K2M Dac
MidnightExpress
 
Posts: 12
Joined: 04 Aug 2018, 12:19

Re: MPD Builds

Postby MidnightExpress » 14 Oct 2018, 16:03

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
Pi3b+, Ver. Experimental Beta 0.5 20180903, ES9018K2M Dac
MidnightExpress
 
Posts: 12
Joined: 04 Aug 2018, 12:19

Re: MPD Builds

Postby eea123 » 27 Oct 2018, 13:11

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.
eea123
 
Posts: 155
Joined: 23 Dec 2017, 19:19

Re: MPD Builds

Postby eea123 » 25 Nov 2018, 18:49

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.
eea123
 
Posts: 155
Joined: 23 Dec 2017, 19:19

Re: MPD Builds

Postby cmh714 » 25 Nov 2018, 23:37

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...
cmh714
 
Posts: 470
Joined: 04 May 2014, 03:06

Re: MPD Builds

Postby eea123 » 28 Nov 2018, 12:08

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.
eea123
 
Posts: 155
Joined: 23 Dec 2017, 19:19

support RuneAudio Donate with PayPal

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 5 guests