Summary: | AFT tagger always recalculating a new tag in m4a/mp4 files | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Stefano Pettini <stefano> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | matej, ralf-engels, stefano |
Priority: | NOR | ||
Version: | 2.8-git | ||
Target Milestone: | 2.9 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/dca658b98adaa843699dfbcc267dac0c2f00b350 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Patch that solves the bug, 3 lines changed |
Description
Stefano Pettini
2014-03-30 14:12:32 UTC
Created attachment 86116 [details]
Patch that solves the bug, 3 lines changed
Please put the bug as confirmed, review and apply the attached patch. I replicated the bug again and verified that the patch is working on a bunch of .m4a files. I verified both adding, regenerating and deleting the AFT. If no command is given, the existing AFT is now detected properly and the file is not overwritten.
This shows that the problem is fixed. Thank you, Stefano INFO: Processing file /home/xxx/Music/Test/Code 64/2003 - Storm/12 - Reaktor (Original mix).m4a INFO: Temporary file is at /home/xxx/Music/Test/Code 64/2003 - Storm/12 - Reaktor (Original mix).m4a.amarok-afttaggertemp.pid-20234.random-xrczmmvk.m4a INFO: File is a MP4 file, opening... INFO: Found an existing AFT identifier: ----:com.apple.iTunes:Amarok 2 AFTv1 - amarok.kde.org INFO: AFT identifier is version 1 INFO: ID is current INFO: Cleaning up... INFO: Processing file /home/xxx/Music/Test/Code 64/2003 - Storm/13 - Without You (Zprochek mix).m4a INFO: Temporary file is at /home/xxx/Music/Test/Code 64/2003 - Storm/13 - Without You (Zprochek mix).m4a.amarok-afttaggertemp.pid-20234.random-fbNJp3UM.m4a INFO: File is a MP4 file, opening... INFO: Found an existing AFT identifier: ----:com.apple.iTunes:Amarok 2 AFTv1 - amarok.kde.org INFO: AFT identifier is version 1 INFO: ID is current INFO: Cleaning up... INFO: Processing file /home/xxx/Music/Test/Code 64/2003 - Storm/14 - Without You (Spektron mix).m4a INFO: Temporary file is at /home/xxx/Music/Test/Code 64/2003 - Storm/14 - Without You (Spektron mix).m4a.amarok-afttaggertemp.pid-20234.random-OLe7wC54.m4a INFO: File is a MP4 file, opening... INFO: Found an existing AFT identifier: ----:com.apple.iTunes:Amarok 2 AFTv1 - amarok.kde.org INFO: AFT identifier is version 1 INFO: ID is current INFO: Cleaning up... INFO: All done, exiting... Thank you for the fix. Could you please submit your patch to http://reviewboard.kde.org ? We do not handle patches in bugzilla. Sorry for the involuntary changes, I really have no idea what is wrong with my browser, since yesterday it keeps changing all bug titles :( Some weird auto-complete I have no idea how to get rid of... Patch posted in review 117580. Git commit dca658b98adaa843699dfbcc267dac0c2f00b350 by Daniel Meltzer. Committed on 08/05/2014 at 20:31. Pushed by dmeltzer into branch 'master'. Properly Calculate and store AFT tags in mp4 files Amarok previously was looking in the wrong spot for the AFT version. Now it calculates the offset properly. REVIEW: 117580 M +2 -0 ChangeLog M +7 -5 utilities/afttagger/AFTTagger.cpp http://commits.kde.org/amarok/dca658b98adaa843699dfbcc267dac0c2f00b350 The patch also fixes your %2 issue, amarok was passing two ints to QString::arg, but the overloads for multiple values take strings. We were matching a strange overload instead. |