Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iTunes Now Playing album art #1292

Closed
ghost opened this issue Aug 27, 2019 · 2 comments
Closed

iTunes Now Playing album art #1292

ghost opened this issue Aug 27, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 27, 2019

FAO: (@adampk90 )

Pretty cool plugin! But I'm unable to get the album artwork at the menubar for iTunes. Any ideas on how to tweak the plugin script to get this working?

Also, it depends on what mode of music you're using. Apple Music [streaming music] doesn't display the album artwork.

image

Seems to work only for the music that is locally present on the system.

image

@ghost ghost mentioned this issue Aug 27, 2019
@ghost
Copy link
Author

ghost commented Aug 27, 2019

I ran the following command to check if artwork was being fetched correctly:

For artwork from Apple Music on iTunes

➜ osascript -e 'tell application "iTunes" to artwork 1 of current track'
artwork 1 of URL track id 2855 of playlist id 2637 of source id 1623

For artwork from Apple Music on iTunes

➜ osascript -e 'tell application "iTunes" to artwork 1 of current track'
artwork 1 of shared track id 1054 of user playlist id 1051 of source id 69

The most significant difference I could see is URL track id and shared track id with respect to artwork from Apple music [while streaming] and artwork from the sytem [saved songs in the library]

So seems like it gets the correct artwork, but just doesn't display it. Any way to debug this?

@ghost
Copy link
Author

ghost commented Aug 27, 2019

Artwork element list is not exposed through iTunes scriptability, so no album artwork for Apple Music! 👎

Only the music that is in the library will display the artwork. For apple music, the song just needs to be added to library, no need to download it.

More details here:
https://stackoverflow.com/questions/37455735/how-to-access-apple-music-album-art-in-itunes-via-apple-script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant