07-04-2019, 11:48 PM
(This post was last modified: 07-05-2019, 01:25 AM by DRONE7.
Edit Reason: memory flash :-)
)
That is how we did it last time back when it was /run/shm though looking at my notes I don't have your instructions for making it appear in MoOde sources tab.... any recollection ?? (I've emailed what I could find from 5 years ago...)
EDIT...remembered ! off to try on a Pi2b for fun and will report...
Edit another... created /run/shm in /etc/fstab then added /run to /etc/default/tmpfs then added the following to smb.conf ...
[Ramplay]
comment = RAMPLAY
path = /run/shm
read only = No
guest ok = Yes
edited library and Ramplay now shows as a NAS entry ( NAS>Ramplay) copied a track to it and updated database then selected and it's playing :-)
Checked in htop and it is definitely playing from ram... memory usage increases as files are copied to ramplay but does not shrink when they're removed whilst running, only on reboot.
Yes a Pi4/4 with 3GB does make it useful It would need some way to auto-update as files are added...
EDIT...remembered ! off to try on a Pi2b for fun and will report...
Edit another... created /run/shm in /etc/fstab then added /run to /etc/default/tmpfs then added the following to smb.conf ...
[Ramplay]
comment = RAMPLAY
path = /run/shm
read only = No
guest ok = Yes
edited library and Ramplay now shows as a NAS entry ( NAS>Ramplay) copied a track to it and updated database then selected and it's playing :-)
Checked in htop and it is definitely playing from ram... memory usage increases as files are copied to ramplay but does not shrink when they're removed whilst running, only on reboot.
Yes a Pi4/4 with 3GB does make it useful It would need some way to auto-update as files are added...
----------
bob
bob