Formatting

This commit is contained in:
Luis Garcia
2024-08-28 17:14:37 -06:00
parent 066f9d1f66
commit 27797cb361
4 changed files with 30 additions and 28 deletions

View File

@@ -1,6 +1,7 @@
from src.jellyfin_emby import JellyfinEmby
from packaging import version
class Jellyfin(JellyfinEmby):
def __init__(self, baseurl, token):
authorization = (
@@ -19,6 +20,6 @@ class Jellyfin(JellyfinEmby):
super().__init__(
server_type="Jellyfin", baseurl=baseurl, token=token, headers=headers
)
def is_partial_update_supported(self, server_version):
return server_version >= version.parse("10.9.0")