Hello again.
I thought I'd post a report on this issue for anyone who might be having similar problems.
After trying almost everything short of devil-worship and witchcraft I think I finally found a setup that works. Just to be clear - I have a Windows 10 laptop and am using a USB WiFi dongle on both the laptop and the pi. So this solution is the best I found for a completely wireless setup. I had installed rern's Samba upgrade using the Addons menu (
#58653 and this altered the Samba config files. I think rern's setup was optimised for wired networks so maybe this is why I was having problems.
I experimented with numerous options in the samba config file at /etc/samba/smb-dev.conf and settled on the following:
[global]
#Accounts and Security
netbios name = RuneAudio
workgroup = WORKGROUP
server string = Samba %v on %L
guest account = root
map to guest = bad user
server min protocol = SMB2
security = user
#Disable Printer Sharing
load printers = no
printcap name = /dev/null
disable spoolss = Yes
#Performance Tweaks
server multi channel support = yes
socket options = IPTOS_THROUGHPUT SO_KEEPALIVE
deadtime = 30
use sendfile = yes
aio read size = 16384
aio write size = 16384
min receivefile size = 16384
write cache size = 262144
nt pipe support = no
#======================= Share Definitions =======================
directory mask = 0777
create mask = 0777
[Music]
comment = browseable, read, write, guess ok, no password
path = /mnt/MPD/USB/sda1-ata-HGST_HTS545050A7/
writable = yes
read only = no
public = yes
follow symlinks = yes
wide links = yes
And it finally works reliably. I'm getting about 7-9 MB/s which isn't blistering speed, but good enough for transferring an album at a time.
Maybe this will help someone else? But for now this is solved. Thanks for the help.