itunesartwork

How to access Apple Music album art in iTunes via Apple Script

橙三吉。 提交于 2019-12-21 21:34:56
问题 I'm trying to create an application that sets the desktop background to the album artwork of the current song playing in iTunes, but have come across an issue where my script can't read the album art of an Apple Music song unless it has been added to the user's music collection or playlist. Currently I am using this code to extract the album art. -- get the raw bytes of the artwork into a var tell application "iTunes" to tell artwork 1 of current track set srcBytes to raw data -- figure out

iTunes API artworkUrl512 method of getting different icon sizes no longer work, fix?

岁酱吖の 提交于 2019-12-18 07:04:09
问题 This is related to posts like this: iTunes API: get 100x100 px icon of an App However since the method described in the accept answered there seems to be broken on a few, yet consistent, occasions, I'm gonna ask if there is a known workaround or other fix for this. How can we get artwork of an app in a requested size like 100x100 pixels, 150x150 pixels etc? The method is like this: Get the Apple ID of the app. For ANgry birds, it's 343200656 Use iTunes API to do a lookup. https://itunes.apple

Multiple versions of iTunesArtwork in one project?

冷暖自知 提交于 2019-12-10 23:37:59
问题 I have a single Xcode project with several targets, each spitting out a different app with a different icon. The icons are in their target-specific resource folders so they don't collide. But the 'iTunesArtwork' file (i.e., the icon used for display of Ad Hoc builds in iTunes) must be placed in a specific location (Project Root), and named exactly that, so multiple versions can't coexist. Any workarounds? 回答1: You must be able to do the same trick with the Artworks file, store several files

How to use a different icon for the App Store and device's home screen in applications with image assets?

孤人 提交于 2019-12-05 02:09:27
问题 The App Store stops showing the icon from iTunes Connect on non-retina computers' displays, and shows the app's icon now for applications with image assets. How can I use a different icon in the App Store and on the device's home screen for applications with image assets? An iTunesArtwork file in the application bundle can't help, because it will be shown only on iTunes. UPDATED: I think we can change one or more images from the image assets and display them in the App Store. But which ones?

How to access Apple Music album art in iTunes via Apple Script

天大地大妈咪最大 提交于 2019-12-04 18:34:28
I'm trying to create an application that sets the desktop background to the album artwork of the current song playing in iTunes, but have come across an issue where my script can't read the album art of an Apple Music song unless it has been added to the user's music collection or playlist. Currently I am using this code to extract the album art. -- get the raw bytes of the artwork into a var tell application "iTunes" to tell artwork 1 of current track set srcBytes to raw data -- figure out the proper file extension if format is «class PNG » then set ext to ".png" else set ext to ".jpg" end if

iTunes API artworkUrl512 method of getting different icon sizes no longer work, fix?

喜欢而已 提交于 2019-11-29 11:46:43
This is related to posts like this: iTunes API: get 100x100 px icon of an App However since the method described in the accept answered there seems to be broken on a few, yet consistent, occasions, I'm gonna ask if there is a known workaround or other fix for this. How can we get artwork of an app in a requested size like 100x100 pixels, 150x150 pixels etc? The method is like this: Get the Apple ID of the app. For ANgry birds, it's 343200656 Use iTunes API to do a lookup. https://itunes.apple.com/lookup?id=343200656 Get the artworkUrl512, it's likely the same as artworkUrl100 these days but

How can I skip compressing one PNG?

删除回忆录丶 提交于 2019-11-27 01:45:45
(Note: I have solved this problem, but it took long enough that I'm posting question/answer here.) The Xcode build process "optimizes" my PNGs when building. This isn't usually a problem, but iTunesArtwork being processed in this way causes corrupts it so that iTunes not to be able to show it. How can I prevent this? You can read more about Xcode's PNG compression here: http://iphonedevelopment.blogspot.com/2008/10/iphone-optimized-pngs.html While you can turn off PNG optimization/compression entirely using "Compress PNG Files" in your project settings (it's visible only if the project's Base

How can I skip compressing one PNG?

房东的猫 提交于 2019-11-26 09:45:47
问题 (Note: I have solved this problem, but it took long enough that I\'m posting question/answer here.) The Xcode build process \"optimizes\" my PNGs when building. This isn\'t usually a problem, but iTunesArtwork being processed in this way causes corrupts it so that iTunes not to be able to show it. How can I prevent this? 回答1: You can read more about Xcode's PNG compression here: http://iphonedevelopment.blogspot.com/2008/10/iphone-optimized-pngs.html While you can turn off PNG optimization