Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Shuffle on album level
#41
You are introducing too many fancy changes...
Start from scratch:
1. ensure you know (yeas, ensure you do know it) the path you want to mount as a SMB share
2. clear any SMB share on your Pi, and shutdown + boot (shutdown does not plainly mean unplug, but shutdown command)
3. create a new SMB share using the path above, specify a known name for it, verify it works.
Then do one more shutdown + boot of the Pi. It should remount everything.
Use machine names, possibly with ".local" appended to them, and not IPs, unless they are static, of course.
It's been, and it is, working for billions of people; it should for you too.
Reply
#42
(12-06-2024, 07:15 PM)Nutul Wrote: You are introducing too many fancy changes...
Start from scratch:
1. ensure you know (yeas, ensure you do know it) the path you want to mount as a SMB share
2. clear any SMB share on your Pi, and shutdown + boot (shutdown does not plainly mean unplug, but shutdown command)
3. create a new SMB share using the path above, specify a known name for it, verify it works.
Then do one more shutdown + boot of the Pi. It should remount everything.
Use machine names, possibly with ".local" appended to them, and not IPs, unless they are static, of course.
It's been, and it is, working for billions of people; it should for you too.

I’m not introducing any changes, fancy or otherwise.  I have three sources mounted. Their paths are:

192.168.0.157/Public/Music
192.168.0.157/Public/Classical
192.168.0.157/Public/OtherStuff

Everything works fine except for all attempts to restrict the shuffle to one particular folder on the NAS, which is 192.168.0.157/Public/Music.
Reply
#43
(12-06-2024, 06:52 PM)ICLlP Wrote:
(12-06-2024, 05:22 PM)ICLlP Wrote:
(12-06-2024, 05:06 PM)Tim Curtis Wrote: Ok so the Name that references "192.168.0.157/Public/Music"  is "5N2Music"

The filter string would then be:

filename "NAS/5N2Music"

I’ll give it a go and report back. Many thanks.

Unfortunately filename “NAS/5N2Music” did not work.

Lets take a look at the mount.

Run these two commands
Code:
ls /mnt/NAS/

mount
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#44
(12-06-2024, 07:31 PM)ICLlP Wrote:
(12-06-2024, 07:15 PM)Nutul Wrote: You are introducing too many fancy changes...
Start from scratch:
1. ensure you know (yeas, ensure you do know it) the path you want to mount as a SMB share
2. clear any SMB share on your Pi, and shutdown + boot (shutdown does not plainly mean unplug, but shutdown command)
3. create a new SMB share uing the path above, specify a known name for it, verify it works.
Then do one more shutdown + boot of the Pi. It should remount everything.
Use machine names, possibly with ".local" appended to them, and not IPs, unless they are static, of course.
It's been, and it is, working for billions of people; it should for you too.

I’m not introducing any changes, fancy or otherwise.  I have three sources mounted. Their paths are:

192.168.0.157/Public/Music
192.168.0.157/Public/Classical
192.168.0.157/Public/OtherStuff

Everything works fine except for all attempts to restrict the shuffle to one particular folder on the NAS, which is 192.168.0.157/Public/Music.
With "fancy" I meant the last minute change in the shared folder's name... nevertheless:

1. you need ONE SMB mount, at 192.168.0.157/Public
2. Name it whatever you like, 5N2Music is meaningless to me, but surely isn't for you, so be it
3. Verify that you can have that mounted on moOde
4. Do a library rescan at this point, as probably it is a little bit cluttered...

Now, in the filter, specify NAS/5N2Music/Music, OR NAS/5N2Music/Classical OR NAS/5N2Music/OtherStuff

Until you cannot confirm the mounting of 192.168.0.157/Public with 5N2Music as its name, scanning the library, and verifying that ALL the music contained in its three sub-folders (Music, Classical and OtherStuff) is visible by moOde, there is no meaning in testing anything else.

HTH
Reply
#45
Please remind me how to run commands.
Reply
#46
(12-06-2024, 07:56 PM)ICLlP Wrote: Please remind me how to run commands.

You do not need to run commands: all that can be done from the moOde's library configuration page.

If you are referring to the shutdown -h now command you can enable web ssh in the moOde configuration too, then you just enter the command prepending sudo to it as-is, and hit enter.

sudo shutdown -h now

is the complete command.
Reply
#47
(12-06-2024, 07:56 PM)ICLlP Wrote: Please remind me how to run commands.

Open System Config and turn on "Web SSH" then OPEN and enter the userid and password you specified in the Raspberry Pi Imager.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#48
(12-06-2024, 07:31 PM)ICLlP Wrote: I’m not introducing any changes, fancy or otherwise.  I have three sources mounted. Their paths are:

192.168.0.157/Public/Music
192.168.0.157/Public/Classical
192.168.0.157/Public/OtherStuff

Everything works fine except for all attempts to restrict the shuffle to one particular folder on the NAS, which is 192.168.0.157/Public/Music.

Can you copy and paste this in the filter:
Code:
filename "/Public/Music/"
and test again?
Reply
#49
I decided to rearrange the share and its folders. When done I’ll mount the new share and tryout suggestions received so far. I’ll let you all know how I get on.
Reply
#50
(12-06-2024, 07:51 PM)Tim Curtis Wrote: Lets take a look at the mount.

Run these two commands
Code:
ls /mnt/NAS/

mount

I have moved things about on the Drobo. There are now three shares on the Drobo; the relevant one is called Music and it contains three folders: Rock, Classical and OtherStuff. The objective is to limit the shuffle to the contents of the Rock folder.  I have run the two commands:

ls /mnt/NAS/
Music

mount
/dev/mmcblk0p2 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=430868k,nr_inodes=107717,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=186288k,nr_inodes=819200,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursi
veprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,
maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii
,shortname=mixed,flush,errors=remount-ro)
/dev/sda1 on /media/3AE9-31FF type vfat (rw,nosuid,nodev,noexec,noatime,nodiratime,fmask=0022,dma
sk=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udis
ks)
//192.168.0.157/Music on /mnt/NAS/Music type cifs (ro,relatime,vers=3.1.1,cache=none,username=Gue
st,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.157,file_mode=0777,dir_mode=0777,iocharset=ut
f8,soft,nounix,mapposix,rsize=61440,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1,closetim
eo=5)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=93140k,nr_inodes=23285,mode=700
,uid=1000,gid=1000)


Attached Files Thumbnail(s)
   
Reply


Forum Jump: