diff --git a/devine/core/tracks/track.py b/devine/core/tracks/track.py index 7bb8ed4..7b4aec8 100644 --- a/devine/core/tracks/track.py +++ b/devine/core/tracks/track.py @@ -62,6 +62,7 @@ class Track: except TypeError: raise TypeError(f"Expected drm to be an iterable, not {type(drm)}") + self.path: Optional[Path] = None self.url = url self.language = Language.get(language) self.is_original_lang = is_original_lang @@ -93,8 +94,6 @@ class Track: # Called before the Track is multiplexed self.OnMultiplex: Optional[Callable] = None - self.path: Optional[Path] = None - def __repr__(self) -> str: return "{name}({items})".format( name=self.__class__.__name__,