forgot i actually had to set the timestamp variable lol

This commit is contained in:
cloudwithax 2022-12-11 21:22:31 -05:00
parent 0152b4eca0
commit b42b360cfe
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)