08-29-2019, 06:39 PM
Woah, CO is deadly. I'm glad everyone's alright :-)
Heres a command to try. It prints 2 levels of dirs and could be used to populate the dropdown for SCAN.
Example from miniDLNA "Browse Folders" directory
-Tim
Heres a command to try. It prints 2 levels of dirs and could be used to populate the dropdown for SCAN.
Code:
find "/mnt/UPNP/SERVER_NAME/[folder\ view]" -maxdepth 2 -type d
Example from miniDLNA "Browse Folders" directory
Code:
pi@rp3:~ $ find "/mnt/UPNP/RP5 DLNA/Browse Folders" -maxdepth 2 -type d
/mnt/UPNP/RP5 DLNA/Browse Folders
/mnt/UPNP/RP5 DLNA/Browse Folders/NAS
/mnt/UPNP/RP5 DLNA/Browse Folders/NAS/_search
/mnt/UPNP/RP5 DLNA/Browse Folders/RADIO
/mnt/UPNP/RP5 DLNA/Browse Folders/RADIO/_search
/mnt/UPNP/RP5 DLNA/Browse Folders/SDCARD
/mnt/UPNP/RP5 DLNA/Browse Folders/SDCARD/Stereo Test
/mnt/UPNP/RP5 DLNA/Browse Folders/SDCARD/.metadata
/mnt/UPNP/RP5 DLNA/Browse Folders/SDCARD/_search
/mnt/UPNP/RP5 DLNA/Browse Folders/USB
/mnt/UPNP/RP5 DLNA/Browse Folders/USB/VFAT128
/mnt/UPNP/RP5 DLNA/Browse Folders/USB/.metadata
/mnt/UPNP/RP5 DLNA/Browse Folders/USB/_search
/mnt/UPNP/RP5 DLNA/Browse Folders/.metadata
/mnt/UPNP/RP5 DLNA/Browse Folders/_search
-Tim