I'm trying to integrate localsend_cli in a photo frame on my Raspberry Pi, so that I can more easily add new photos to it.
I was wondering if it would be possible to restrict which types of files Localsend will accept. For now I can monitor the photos folder and remove any files whose filenames don't end in .jpg, .webp or .png or .gif. But I was wondering how you would recommend adding/implementing this functionality.
I'm trying to integrate localsend_cli in a photo frame on my Raspberry Pi, so that I can more easily add new photos to it.
I was wondering if it would be possible to restrict which types of files Localsend will accept. For now I can monitor the photos folder and remove any files whose filenames don't end in
.jpg,.webpor.pngor.gif. But I was wondering how you would recommend adding/implementing this functionality.