-
Notifications
You must be signed in to change notification settings - Fork 80
Added support for getting the cover art from mpd #477
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
base: master
Are you sure you want to change the base?
Added support for getting the cover art from mpd #477
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to rewrite this. There are some issues I've raised with your implementation which will need addressing, but it's mostly just simplifying things and refactoring.
In future, can you please have a read of the contributing guide - it's very short but has a few requirements I ask people to stick to in order to make both our lives easier.
The build is also failing currently, which will need to be addressed of course.
As suggested previously, This commit uses message passing to send the image from the client to the main thread while retaining the original way of setting the album art.
Removed the patch section for ahash from Cargo.toml
Due to the previous commit, cargo could not find the proper ahash version, ran cargo update to fix that.
Now using gdk's image parser for parsing the mpd's thumbnails that are read from readpicture command
I have done all the requested changes |
What kind of Clippy rules are you using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking a lot better so thanks for the work, there's still a few changes that need to be made. Once those are done I'll give it another review with a fine comb and we should be about there.
The defaults: ironbar/.github/workflows/build.yml Line 61 in 3df01ea
|
Only sending the GetAlbumArt signal when track changes and the cover_art path does not exist.
Please fix the merge conflict before I review |
As proposed in the previous PR (#466), this PR implements displaying cover art from mpd using the readpicture command