miraclx/freyr-js

Playlist download operation does not gracefully crash when certain songs present

Open

#169 opened on Mar 22, 2022

View on GitHub
 (9 comments) (0 reactions) (0 assignees)JavaScript (2,279 stars) (154 forks)user submission
action or closebuggood first issuequestion

Description

An Apple Music playlist (~99 songs) I was trying to download kept crashing with the following error:

[•] Collating...
  [•] Inquiring tracks...(failed: [Cannot read properties of undefined (reading '0')]) 
 [i] An error occurred while processing the query (Failed to collect playlist tracks)

After a lot of trial and error, I narrowed the problem down to a single track: "Watch - Nosaj Thing": https://music.apple.com/us/album/watch/1608121372?i=1608121589

Removing this single track from the playlist allowed the entire playlist to download successfully.

Contributor guide