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

Add support for album art #56

Open
mr-smidge opened this issue Apr 10, 2021 · 1 comment
Open

Add support for album art #56

mr-smidge opened this issue Apr 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mr-smidge
Copy link
Contributor

The library does not currently support album art: tracks are created with no album art set.

The format in the AlbumArt table involves the following columns:

  • albumArt - a binary blob (the PNG/JPG data
  • hash - unsure exactly how the hash is derived
@mr-smidge mr-smidge added the enhancement New feature or request label Apr 10, 2021
@DeathCamel58
Copy link
Contributor

The hash is SHA1 with some sort of prior modification. The current release binaries are all obfuscated, which makes it a pain to decipher. Engine OS 2.0.1's /usr/Engine/Engine binary isn't obfuscated though. Looks like librarian::Track::calculateHashForAlbumArt is a good place to start the search in that binary.

Also, we don't really have to know how the hash column is computed, as id and albumArt are enough to get the album art images to display properly in Engine OS (tested on 4.0.1).

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

No branches or pull requests

2 participants