MQTT Directory enable disable syntax

Post your questions, bug reports and feature requests here
Post Reply
arrior
Posts: 2
Joined: Wed Feb 14, 2024 1:57 pm

MQTT Directory enable disable syntax

Post by arrior »

Can someone please help me? I feel like I should be able to figure this out but cannot. I'm trying to use MQTT to enable and disable directories for images. I have the MQTT setup and working for the commands without payloads. Can someone help me understand how to enable a specific directory and disable all others? That do the numbers mean? So for example:

I:DA,E0,E1 (Means disable all, enable 0 and enable 1 for images)
I thought the numbers were weights but that doesn't seem to work. Then I thought maybe order on the list but not that either.

Thanks in advance and sorry if I am missing something obvious.
User avatar
gpb
Site Admin
Posts: 766
Joined: Mon Dec 19, 2011 1:23 am

Re: MQTT Directory enable disable syntax

Post by gpb »

Hello,
the number is the index in Images Folders list. For example, you if have 3 items:
c:\mypics_2021
c:\mypics_2022
c:\mypics_2023

I:DA,E0,E1
means, disable all. Enable c:\mypics_2021 and c:\mypics_2022 (item 0 and item 1)
Gianpaolo Bottin
gPhotoShow.com
arrior
Posts: 2
Joined: Wed Feb 14, 2024 1:57 pm

Re: MQTT Directory enable disable syntax

Post by arrior »

Awesome thanks. I think I messed up counting the first one as zero which was making me think it wasn't working. Really appreciate the help!
Post Reply