Bug 401922

Summary: Changing labels results in modified file
Product: [Applications] amarok Reporter: peer.griebel
Component: Metadata Editing and ReadingAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: 123kash
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: kf5   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description peer.griebel 2018-12-09 11:13:13 UTC
SUMMARY
Changing the label of a file changes the date of last modification of the file. But the contents stays the same.

STEPS TO REPRODUCE
1. Add a label to a file (MP3)
2. Save
3. Look at file (e.g. ls -l)

OBSERVED RESULT
Last modification date of file is current time.

EXPECTED RESULT
The file should stay unmodified.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
The file should stay unmodified. Otherwise it will be included in the next backup for no reason. (Since the label is solely stored in the database there is no reason to modify the file.)
Comment 1 Myriam Schweingruber 2018-12-10 22:34:27 UTC
depends, if you want metadata written into the file container this will of course modify its date, this is expected behavior. You can change this in the settings.

You can choose to only write metadata to the database for some info (but not all of it), then the file remains untouched. Just keep in mind that changing most ID3 settings will always be written into the container of the media files, not just the database, and not doing so would invalidate the container function of said files. This is inherent to the ID3 tags