Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

[Issue] Error: artwork not found in resource. #45

Closed
lx200916 opened this issue Dec 20, 2021 · 1 comment · Fixed by #46
Closed

[Issue] Error: artwork not found in resource. #45

lx200916 opened this issue Dec 20, 2021 · 1 comment · Fixed by #46
Labels
bug Something isn't working

Comments

@lx200916
Copy link

The "attributes" of specific recommendation item contains "editorialArtwork" instead of "artwork", causing errors.
Maybe we should make a fallback artwork as cover or simply hide it?

{"type":"editorial-items","id":"159327154","_mjs":{"attributes":["link","url","editorialNotes","editorialArtwork"],"relationships":[],"views":[],"parents":[{"relationshipName":"contents","parentType":"personal-recommendation","parentId":"15-5GrOZD8bmJIYIjnWuW8nIG","position":0}]},"_meta":{"editorialCard":"emc.751f218d31cd4da0a36c1b022d1b60fc"},"link":{"url":"https://replay.music.apple.com/","target":"external"},"url":"https://replay.music.apple.com/","editorialNotes":{"name":"音乐回忆 2021","standard":"在这里重温你 2021 年的最爱曲目。","short":"在这里重温你 2021 年的最爱曲目。","tagline":"个人专属推荐"},"editorialArtwork":{"superHeroWide":{"width":4320,"url":"https://is5-ssl.mzstatic.com/image/thumb/Features126/v4/a2/b9/0b/a2b90bc6-498b-f288-81e8-aabb0e8ea50f/U0hXLU1TLUNITi1SRVBMQVlfMjAyMS1BREFNX0lEPTE1OTMyNzE1NDYtbGFuZz16aF9IYW5zX0NOLnBuZw.png/{w}x{h}sr.jpg","height":1800,"textColor3":"45395c","textColor2":"1d2149","textColor4":"3f4365","textColor1":"23173e","bgColor":"f5f1e9","hasP3":false},"superHeroTall":{"width":1680,"url":"https://is4-ssl.mzstatic.com/image/thumb/Features116/v4/ad/77/02/ad77026f-5d7a-c22c-2eb4-fa5daac9a886/U0hULU1TLUNITi1SRVBMQVlfMjAyMS1BREFNX0lEPTE1OTMyNzE1NDYtbGFuZz16aF9IYW5zX0NOLnBuZw.png/{w}x{h}sr.jpg","height":2240,"textColor3":"3b305b","textColor2":"391b39","textColor4":"593d57","textColor1":"190e3d","bgColor":"f5f1e9","hasP3":false}}}
@lujjjh lujjjh added the bug Something isn't working label Dec 20, 2021
@lujjjh
Copy link
Owner

lujjjh commented Dec 20, 2021

Thank you for reporting this issue! I'll fix it soon.

lujjjh added a commit that referenced this issue Dec 20, 2021
lujjjh added a commit that referenced this issue Dec 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants