Skip to content

Commit

Permalink
Fix playlist crash when opening file
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Jan 12, 2025
1 parent 4df3266 commit 081fb75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tauon/t_modules/t_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7611,7 +7611,7 @@ def maloja_scrobble(track: TrackClass, timestamp: int = int(time.time())) -> boo
d["album"] = track.album
if track.album_artist:
d["albumartists"] = [track.album_artist] # let Maloja parse/fix artists

d["length"] = int(track.length)
d["time"] = timestamp
d["key"] = prefs.maloja_key
Expand Down Expand Up @@ -45369,7 +45369,7 @@ def drop_file(target):
if order.play and order.tracks:

for p, plst in enumerate(pctl.multi_playlist):
if order.tracks[0] in plst[2]:
if order.tracks[0] in plst.playlist_ids:
target_pl = p
break

Expand Down

0 comments on commit 081fb75

Please sign in to comment.