Skip to content

Commit

Permalink
Reversing playlist when copying
Browse files Browse the repository at this point in the history
  • Loading branch information
linsomniac committed Jan 20, 2024
1 parent f601f68 commit 31b2001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotify2ytmusic/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def copier(

print(f"== Spotify Playlist: {src_pl_name}")

for src_track in src_pl["tracks"]:
for src_track in reversed(src_pl["tracks"]):
if src_track["track"] is None:
print(
f"WARNING: Spotify track seems to be malformed, Skipping. Track: {src_track!r}"
Expand Down

0 comments on commit 31b2001

Please sign in to comment.