Skip to content

Commit

Permalink
Garantir que u check de duração não seja usado caso a track seja do l…
Browse files Browse the repository at this point in the history
…ast.fm
  • Loading branch information
zRitsu committed Oct 10, 2024
1 parent 7418d70 commit 67084c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/music/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3049,6 +3049,9 @@ async def resolve_track(self, track: PartialTrack):

check_duration = bool(track.duration)

if track.info["sourceName"] == "last.fm":
check_duration = False

try:

exceptions = []
Expand Down

0 comments on commit 67084c2

Please sign in to comment.