CollinHeist / TitleCardMaker

Automated title card maker for Plex, Jellyfin, and Emby
https://titlecardmaker.com/
GNU General Public License v3.0
474 stars 22 forks source link

Add background task updates to user #353

Open CollinHeist opened 1 year ago

CollinHeist commented 1 year ago

Similar to #354 , and maybe is superseded by it, but the status of functions executing in BackgroundTasks should be visible to the user.

I think the two options for implementation are essentially polling vs. interrupts, e.g.:

Here is an interesting about when to use either.


I'm not sold on either, but maybe the WebSocket approach would be better?

CollinHeist commented 1 year ago

I had a lot of issues with the WebSocket not triggering properly on all browsers, so I went with a polled endpoint instead