diff --git a/pomice/objects.py b/pomice/objects.py index aac262e..726dcff 100644 --- a/pomice/objects.py +++ b/pomice/objects.py @@ -32,7 +32,7 @@ class Track: self.info = info self.spotify = spotify self.filters: List[Filter] = filters - self.timestamp: Optional[float] = None + self.timestamp: Optional[float] = timestamp self.original: Optional[Track] = None if spotify else self self._search_type = search_type diff --git a/pomice/pool.py b/pomice/pool.py index 1f39198..66f1ab5 100644 --- a/pomice/pool.py +++ b/pomice/pool.py @@ -419,6 +419,7 @@ class Node: if (match := YOUTUBE_TIMESTAMP_REGEX.match(query)): timestamp = float(match.group("time")) + print(f"timestamp: {timestamp}") # If query is a video thats part of a playlist, get the video and queue that instead # (I can't tell you how much i've wanted to implement this in here)