-
Notifications
You must be signed in to change notification settings - Fork 26
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
improve: cover (ui) #115
improve: cover (ui) #115
Conversation
I wanted to talk about the support for
Maybe we could support it and do a conversion to jpg since |
Since it's not explicit that seems a bit ambiguous. The button still says "Overwrite file" when you're actually |
src/lib/info/TrackInfoPopup.svelte
Outdated
@@ -313,6 +370,7 @@ | |||
previousScope = hotkeys.getScope(); | |||
hotkeys.setScope("track-info"); | |||
document.addEventListener("paste", onPaste); | |||
document.getElementsByClassName("artwork-container").focus(); |
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.
getElementsByClassName returns an array, so you need to call focus
on the first element
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.
I'm removing the line, I think it's a debug line, a bad one at that...
I haven't changed the behavior. It replaces the artwork in the metadata.
Fixed. Thx |
Ah sorry I didn't get it at first.
In the unlikely case that you want some tracks in a folder with encoded art, while others use cover.jpg/png - removing the file will stop showing the artwork for those tracks. I'd avoid deleting it unless you're actually editing the entire album. The encoded artwork will anyway take priority. |
Now, it deletes the artwork file only when an album (with all tracks) is being edited. |
Merging, thanks :) Regarding WebP, happy to include support but ideally lofty would support it directly rather than having to add image conversion tools on our end. Maybe a good opportunity to contribute there also. |
This PR does:
Search for artwork
for the album and not the songSearch for artwork
buttonIn medadata
,cover.jpg
)cover.jpg
filecover.jpg
file.jpg
or.png