You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While playing around with this tool, I came across a persistent error:
Checking directory permissions...[done]
[https://music.apple.com/us/album/an-infinite-regression/478776210?i=467902919]
[•] Identifying service...[Apple Music]
[•] Checking authentication...[authenticated]
Detected [track]
Obtaining track metadata...(failed: [Cannot read properties of undefined (reading '0')])
[i] An error occurred while processing the query
And it took a bit to realize $SHOW_DEBUG_STACK was a thing, but once that was the case it was easy to track down the issue:
[TypeError: Cannot read properties of undefined (reading '0')
at AppleMusic.wrapTrackMeta (src/services/apple_music.js:166:38)
at src/services/apple_music.js:315:21]
Edit: After fixing the above locally, this also happens with albumInfo.tracks.reduce() a couple lines down...
The text was updated successfully, but these errors were encountered:
KiruPoruno
changed the title
Apple Music service assumes tracks have an album artist
Apple Music service assumes album have an album artist and track list
Dec 3, 2024
KiruPoruno
changed the title
Apple Music service assumes album have an album artist and track list
Apple Music service assumes albums always have certain properties
Dec 3, 2024
While playing around with this tool, I came across a persistent error:
And it took a bit to realize
$SHOW_DEBUG_STACK
was a thing, but once that was the case it was easy to track down the issue:The issue stems from the Apple Music service assuming that all tracks have an artist set on the album, this isn't the case, as I realized, although rare, it does occur (as shown with the track in the logs), and the
albumInfo.artists
will in such a case just beundefined
Edit: After fixing the above locally, this also happens with
albumInfo.tracks.reduce()
a couple lines down...The text was updated successfully, but these errors were encountered: