-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CoverArtUtils: Fix Reload From File/Folder, Updates Wrong Cover Art #4909
Conversation
Thank you. This looks like a bug fix for 2.3. |
Yes, that is happening in 2.3 👍 |
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.
One missing line.
Can you rebase this on 2.3 than. Thank you.
b982dbd
to
0babd0e
Compare
0babd0e
to
e7bfa37
Compare
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.
LGTM
Does anyone else want to have a look? |
Thank you! |
Ups, this is now broken in the 2.3 branch: https://github.com/mixxxdj/mixxx/runs/7979410003 |
Thank you for taking care. I guess the file I just didn't get it why it failed. I hope I didn't do something missing-wrong. |
This PR aims to solve this bug mentioned on Launchpad.
This simply fixes to wrong cover art update if the names has more than one "." dot. I
track.1.mp3
track.2.mp3
track.3.mp3
track.4.jpg
track.5.jpg
If track.1-track.2-track.3's cover arts updated via "Reload from file/folder" it updates it with track.4.jpg.
With this change, it looks for the complete full name, so track.1.mp3 won't be updated with track.4.jpg.
But with that change, this can change the old behavior, if the files named as;
track.1.mp3.jpg
track.1.mp3
updating wouldn't not update the cover art, to not change the behavior of old updating, there is an another block added. If complete full name is not working, this will look for file name of the track
"track.1.mp3"
and complete name of the cover art"track.1.mp3".jpg