Artwork Management

Melon does not download any images automatically currently (though it might in the future). Melon comes with a default artwork, but otherwise pulls artwork from within track file metadata. Using the ArtUpload endpoints users can upload artwork to tracks, albums, artists (pfps + banners), playlists, collections, and a custom default artwork. ArtDeletion endpoints allows you to delete artwork. Downloading artwork from the server is done with the Download endpoints.

Artwork is stored on disk under the linked object's id + index position, except for track artwork which is stored inside the track's file metadata. Example: Melon/ArtistPfps/66bc9aadab7ba419497e6a97-0.jpeg

When an album has no specific artwork set, it pulls from the first track in it that has artwork. By default, albums are not given their own artwork, so all albums by default pull the artwork from the first track that has artwork. When calling for an album image that doesn't have one set, the index you call for will be based on the track. Example: https://your-melon-server.com/api/art/delete/album-art?id=66bc9aadab7ba419497e6a97&index=2 will get the 3rd image from the first track found to have any artwork. If 2 is out of bounds, you'll be sent the default artwork.

If no artwork can be found for an object, the default artwork is sent. Melon's Default artwork is stored in the exe, but can be overridden by uploading a custom one. Custom default artwork is stored on disk. The default internal artwork cannot be removed or changed (without rebuilding Melon with a different one).

Tracks, Albums, Artist pfps and Artist banners can all have multiple images, and Tracks/Albums/Artists have properties for setting the default image to pick.

Playlists, Collections, and the default artwork can only have one set at a time.