Got it to run, renamed some template stuff

Now onto the Jellyfin API, yay!
This commit is contained in:
2021-02-05 19:32:27 +01:00
parent ecbf38c005
commit cbee080b54
34 changed files with 80 additions and 76 deletions

View File

@@ -3,12 +3,12 @@
import os
import sys
import plexpy
from plexpy import common, notifiers, newsletters
from plexpy.helpers import anon_url, checked
import jellypy
from jellypy import common, notifiers, newsletters
from jellypy.helpers import anon_url, checked
docker_setting = 'disabled' if plexpy.DOCKER else ''
docker_msg = '<span class="setting-message small">(Controlled by Docker Container)</span>' if plexpy.DOCKER else ''
docker_setting = 'disabled' if jellypy.DOCKER else ''
docker_msg = '<span class="setting-message small">(Controlled by Docker Container)</span>' if jellypy.DOCKER else ''
available_notification_agents = sorted(notifiers.available_notification_agents(), key=lambda k: k['label'].lower())
available_newsletter_agents = sorted(newsletters.available_newsletter_agents(), key=lambda k: k['label'].lower())