jboucly / MMM-FTP-image

Module for MagicMirror2 for show image from FTP server
MIT License
7 stars 1 forks source link

Allow multiple directories #4

Closed chansizzle closed 1 year ago

chansizzle commented 1 year ago

Currently only 1 directory can be used/presented to the screen. Can you look into adding capabilities for multiple directories and for sub-directories please? Trying magicMirror/* results in errors.

Perhaps the the capability for an array of directories:

dirPathArray: [
               "/magicMirror",
               "/magicMirror/aaa",
               "/magicMirror/bbb",
               "/magicMirror/ccc",
               "/a_different_ftp_directory",
               ],

and/or perhaps something like these variables to allow sub-directories:

selectFromSubdirectories: true, 
ignoreDirRegex: "a^",

Thank you for considering this request!

jboucly commented 1 year ago

Hello @chansizzle I will try to find a moment to implement this new feature ! If you want to implement it you can propose a PR

jboucly commented 1 year ago

Hello @chansizzle

I'm starting the devs on the implementation of this new feature!