MediaBrowser / Emby.AutoOrganize

Auto-organize plugin for Emby Server
MIT License
21 stars 18 forks source link

organize task start while manual sorting #15

Open daed-alus opened 6 years ago

daed-alus commented 6 years ago

this is nothing big, but maybe the planed organize task could be delayed/skipped, while a manual sorting is currently running

PoppyPop commented 6 years ago

I rely on the task system provided by emby.

As far has i know, and what i have tested, the same task can be showed on the Plugin page and in the task page.

In fact it's the same job that is running.

I added a fix to hide the organize button when a task is already running.

daed-alus commented 5 years ago

but this doesn't prevent the more important case, automatically starting the planned task while a manual organize is running, does it?

PoppyPop commented 5 years ago

as i see from the base Emby code, this case should not happen. I tested on my local setup, when running a long manual organize, when i go to the scheduled task, i see it already running and internally the task id is the same.