Bug 401922 - Changing labels results in modified file
Summary: Changing labels results in modified file
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: Metadata Editing and Reading (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-09 11:13 UTC by peer.griebel
Modified: 2018-12-10 22:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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