Swiftpack.co - bolsinga/itunes_missing_artwork as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by bolsinga.
bolsinga/itunes_missing_artwork 1.2.2
iTunes Missing Artwork is a library that uses MusicKit and iTunesLibrary to find files from Music that do not have artwork. It uses SwiftUI for display.
⭐️ 2
🕓 12 hours ago
iOS macOS
.package(url: "https://github.com/bolsinga/itunes_missing_artwork.git", from: "1.2.2")

iTunes Missing Artwork

This is a SwiftUI framework. On macOS, it uses the iTunesLibrary framework to learn what music media in Music.app do not have artwork. Elsewhere it uses MusicKit to find missing artwork. It then uses MusicKit to search for the artwork on Apple's Catalog.

It will display everything that is missing, but leave it to the hosting application what to do about it. This is because the best way I found to fix the artwork in Music.app was to run AppleScripts that would repair it. I was reluctant to have an AppleScript dependency in this SwiftUI framework. I also wanted to write a modern library that was published using the Swift Package Manager. It also allows the library to be used on platforms other than macOS.

The inspiration for this was that in macos Catalina, the Music.app has lost 100s of the artwork it used to have for years. The application itself cannot find this artwork. However using the API provided by Apple, much of the artwork can be found.

To use this module, you can use the Missing Artwork macOS application and its Xcode project. It had to be a separate project from this Swift Package. The Xcode project allows the proper signing of an application. In addition, you'll have to use your own developer account and set it up to be able to use MusicKit, just like a regular MusicKit client on iOS or macos.


Stars: 2
Last commit: 23 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

23 hours ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics