mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Update plexapi=4.16.1
This commit is contained in:
parent
85e9237608
commit
078c293bd7
4 changed files with 7 additions and 6 deletions
|
@ -4,6 +4,6 @@
|
||||||
# Library version
|
# Library version
|
||||||
MAJOR_VERSION = 4
|
MAJOR_VERSION = 4
|
||||||
MINOR_VERSION = 16
|
MINOR_VERSION = 16
|
||||||
PATCH_VERSION = 0
|
PATCH_VERSION = 1
|
||||||
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
|
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
|
||||||
__version__ = f"{__short_version__}.{PATCH_VERSION}"
|
__version__ = f"{__short_version__}.{PATCH_VERSION}"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
from plexapi import CONFIG, X_PLEX_IDENTIFIER
|
from plexapi import CONFIG, X_PLEX_IDENTIFIER, TIMEOUT
|
||||||
from plexapi.client import PlexClient
|
from plexapi.client import PlexClient
|
||||||
from plexapi.exceptions import BadRequest
|
from plexapi.exceptions import BadRequest
|
||||||
from plexapi.playqueue import PlayQueue
|
from plexapi.playqueue import PlayQueue
|
||||||
|
@ -46,7 +46,7 @@ class PlexSonosClient(PlexClient):
|
||||||
_session (obj): Requests session object used to access this client.
|
_session (obj): Requests session object used to access this client.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, account, data):
|
def __init__(self, account, data, timeout=None):
|
||||||
self._data = data
|
self._data = data
|
||||||
self.deviceClass = data.attrib.get("deviceClass")
|
self.deviceClass = data.attrib.get("deviceClass")
|
||||||
self.machineIdentifier = data.attrib.get("machineIdentifier")
|
self.machineIdentifier = data.attrib.get("machineIdentifier")
|
||||||
|
@ -66,6 +66,7 @@ class PlexSonosClient(PlexClient):
|
||||||
self._last_call = 0
|
self._last_call = 0
|
||||||
self._proxyThroughServer = False
|
self._proxyThroughServer = False
|
||||||
self._showSecrets = CONFIG.get("log.show_secrets", "").lower() == "true"
|
self._showSecrets = CONFIG.get("log.show_secrets", "").lower() == "true"
|
||||||
|
self._timeout = timeout or TIMEOUT
|
||||||
|
|
||||||
def playMedia(self, media, offset=0, **params):
|
def playMedia(self, media, offset=0, **params):
|
||||||
|
|
||||||
|
|
|
@ -716,7 +716,7 @@ class Show(
|
||||||
class Season(
|
class Season(
|
||||||
Video,
|
Video,
|
||||||
AdvancedSettingsMixin, ExtrasMixin, RatingMixin,
|
AdvancedSettingsMixin, ExtrasMixin, RatingMixin,
|
||||||
ArtMixin, PosterMixin, ThemeUrlMixin,
|
ArtMixin, LogoMixin, PosterMixin, ThemeUrlMixin,
|
||||||
SeasonEditMixins
|
SeasonEditMixins
|
||||||
):
|
):
|
||||||
""" Represents a single Season.
|
""" Represents a single Season.
|
||||||
|
@ -883,7 +883,7 @@ class Season(
|
||||||
class Episode(
|
class Episode(
|
||||||
Video, Playable,
|
Video, Playable,
|
||||||
ExtrasMixin, RatingMixin,
|
ExtrasMixin, RatingMixin,
|
||||||
ArtMixin, PosterMixin, ThemeUrlMixin,
|
ArtMixin, LogoMixin, PosterMixin, ThemeUrlMixin,
|
||||||
EpisodeEditMixins
|
EpisodeEditMixins
|
||||||
):
|
):
|
||||||
""" Represents a single Episode.
|
""" Represents a single Episode.
|
||||||
|
|
|
@ -25,7 +25,7 @@ musicbrainzngs==0.7.1
|
||||||
packaging==24.2
|
packaging==24.2
|
||||||
paho-mqtt==2.1.0
|
paho-mqtt==2.1.0
|
||||||
platformdirs==4.3.6
|
platformdirs==4.3.6
|
||||||
plexapi==4.16.0
|
plexapi==4.16.1
|
||||||
portend==3.2.0
|
portend==3.2.0
|
||||||
profilehooks==1.13.0
|
profilehooks==1.13.0
|
||||||
PyJWT==2.10.1
|
PyJWT==2.10.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue