dansza1 / ptz-alv

7 stars 1 forks source link

Idea: Sync custom presets between users #7

Open Taizunz opened 1 month ago

Taizunz commented 1 month ago

This might be a far-fetched idea, but I'm imagining a set of commands and app buttons specifically for users of this app that allows users to share and sync their custom presets with each other via chat.

User 1 would click a button in the app (or alternatively type an app-specific command in chat, such as "!syncpresets camname") to begin a syncing process for all custom presets for the selected cam, and the app would then begin listening for chat messages that follow a specific custom preset format. The app sends a message in chat as User 1 saying something along the lines of "PTZ-ALV: Listening for custom presets for <insert camname>. If you're a user of the PTZ-ALV app you can share your custom presets by typing "!custompresets camname" in chat or via the "Share Custom Presets"-button in the app" which lets other app clients know that someone wants their custom presets.

User 2, 3, 4, etc, would all type "!custompresets camname" in chat or click "Share Custom Presets" in the app which would send all of their custom presets for the selected cam as chat messages.

User 1's app would populate a list of custom presets that it had gathered from chat messages from User 2, 3 and 4, and it would continue doing this for any subsequent chat messages that follows a specific format until User 1 clicks "Stop Syncing Custom Presets" in the app or types "!stopsync" in chat at which point User 1 can then begin selecting all of the custom presets that they want to add.

Reading this back I feel like it's a tedious process. But it was an idea that just sprung to mind so I figured I'd throw it out there.

Taizunz commented 1 month ago

With the project moving to a cloud version soon™ this idea can probably be simplified a lot, with the cloud server just storing custom presets and perhaps a setting that each user can enable on their individual custom presets to allow it to be shared with other users? Or to make it easier to manage sharing of ones own custom presets in bulk, a list with checkboxes next to each custom preset for sharing.

dansza1 commented 4 weeks ago

When the cloud version is ready I think the idea of sharing custom presets becomes easier to do.

I think for it to work effectively I would need to get the auto thumbnail creation working. Currently users give custom presets their own names and if mine are anything to go by, its going to be near impossible for other people looking at a list of my custom presets to know what half of them are.

So the goal would be when auto thumbnail is setup, you could click in the backend on something like "Shared custom presets" and you would get a grid of thumbnails like the current grid view and you could select which you want to add.

On the other hand, with clicking being as easy as it is now, I get the feeling presets are being used less and less?