diff --git a/data/interfaces/default/css/tautulli.css b/data/interfaces/default/css/tautulli.css index 8bb82543..93323c99 100644 --- a/data/interfaces/default/css/tautulli.css +++ b/data/interfaces/default/css/tautulli.css @@ -3367,6 +3367,34 @@ pre::-webkit-scrollbar-thumb { .notification-params tr:nth-child(even) td { background-color: rgba(255,255,255,0.010); } +.activity-queue { + width: 100%; + margin-top: 10px; + background-color: #282828; +} +.activity-queue th { + padding-left: 10px; + height: 30px; +} +.activity-queue th:first-child { + width: 268px; +} +.activity-queue th:nth-child(2) { + width: 125px; +} +.activity-queue th:nth-child(3) { + width: 175px; +} +.activity-queue td { + height: 25px; + padding: 5px 10px; +} +.activity-queue tr:nth-child(odd) td { + background-color: rgba(255,255,255,0.035); +} +.activity-queue tr:nth-child(even) td { + background-color: rgba(255,255,255,0.010); +} #days-selection label, #months-selection label { margin-bottom: 0; diff --git a/data/interfaces/default/queue_modal.html b/data/interfaces/default/queue_modal.html new file mode 100644 index 00000000..3b171ec1 --- /dev/null +++ b/data/interfaces/default/queue_modal.html @@ -0,0 +1,66 @@ +<% + import arrow + from plexpy.activity_handler import ACTIVITY_SCHED, schedule_callback + + if queue == 'active sessions': + filter_key = 'session_key-' + title_format = '{2} / {1} ({0})' + title_key = title_format.format('Session Key', 'Title', 'User') + description = 'Queue to flush stuck active sessions to the database.' + else: + filter_key = 'rating_key-' + title_format = '{1} ({0})' + title_key = title_format.format('Rating Key', 'Title') + description = 'Queue to flush recently added items to the database and send notifications if enabled.' + + scheduled_jobs = [j.id for j in ACTIVITY_SCHED.get_jobs() if j.id.startswith(filter_key)] +%> + diff --git a/data/interfaces/default/scheduler_table.html b/data/interfaces/default/scheduler_table.html index 078d348d..37fd861c 100644 --- a/data/interfaces/default/scheduler_table.html +++ b/data/interfaces/default/scheduler_table.html @@ -44,7 +44,13 @@ DOCUMENTATION :: END % elif job in ('Check for server response', 'Check for active sessions', 'Check for recently added items') and plexpy.WS_CONNECTED: + % if job == 'Check for active sessions': + ${job} + % elif job == 'Check for recently added items': + ${job} + % else: ${job} + % endif Websocket N/A N/A @@ -61,4 +67,21 @@ DOCUMENTATION :: END % endif % endfor - \ No newline at end of file + + diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 0ecb2195..853e4cee 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -1316,6 +1316,7 @@ <%def name="modalIncludes()"> +