https://bugs.kde.org/show_bug.cgi?id=425657

            Bug ID: 425657
           Summary: Just copying a file using the cli makes it larger
           Product: kid3
           Version: 3.8.x
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: uflei...@users.sourceforge.net
          Reporter: m...@himbeer.me
  Target Milestone: ---

SUMMARY

When using the CLI to copy the tags of one file to another, both files get
modified and grow in size (every time the command gets executed, the file grows
a few kilobytes).


STEPS TO REPRODUCE

PS D:\Folder> ls
Mode                 LastWriteTime         Length Name                          
----                 -------------         ------ ----                          
-a----        20.08.2020     20:37       22165805 file1.flac                    
-a----        20.08.2020     20:40       20521653 file2.flac                    

PS D:\Folder> &"C:\Program Files\kid3\kid3-cli.exe" `
  -c "copy" `
  -c "select 'file1.flac'" `
  -c "paste" `
  "file2.flac"

PS D:\Folder> ls
Mode                 LastWriteTime         Length Name                          
----                 -------------         ------ ----                          
-a----        22.08.2020     00:33       22182636 file1.flac                    
-a----        22.08.2020     00:33       20540067 file2.flac                    

The same result can also be achieved with this command:
&"C:\Program Files\kid3\kid3-cli.exe" `
  -c "select 'file2.flac'" `
  -c "copy" `
  -c "select 'file1.flac'" `
  -c "paste"


OBSERVED RESULT

Both files grow and the modification date changes.


EXPECTED RESULT

Only file1 should be modified, and the size shouldn't increase with every edit.
Quote from the handbook: "*If files are modified by the commands*, they will be
saved at the end."


SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
kid3 Version: 3.8.3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to