diff --git a/cast_control/__init__.py b/cast_control/__init__.py index 85ae4b0..3faf3c9 100644 --- a/cast_control/__init__.py +++ b/cast_control/__init__.py @@ -8,7 +8,7 @@ __license__: Final[str] = 'AGPL-3.0' __copyright__: Final[str] = \ f'Copyright 2021 {__author__}. Licensed under terms of the {__license__}.' -__version__: Final[str] = '0.11.4' +__version__: Final[str] = '0.11.4.post1' NAME: Final[str] = 'cast_control' SHORT_NAME: Final[str] = 'castctl' diff --git a/cast_control/device/wrapper.py b/cast_control/device/wrapper.py index 2a60263..9c78792 100644 --- a/cast_control/device/wrapper.py +++ b/cast_control/device/wrapper.py @@ -272,8 +272,10 @@ def get_subtitle(self) -> Optional[str]: class TimeMixin(Wrapper): + _longest_duration: float = NO_DURATION + def __init__(self): - self._longest_duration: float = NO_DURATION + self._longest_duration = NO_DURATION super().__init__() @property