https://bugzilla.novell.com/show_bug.cgi?id=694057 https://bugzilla.novell.com/show_bug.cgi?id=694057#c0 Summary: id3tag creates tags in non-mp3 files, even text files Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: i686 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rps@mat.uc.pt QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0.0) Gecko/20100101 Firefox/4.0 The command id3tag doesn't test if the arguments are mp3 files before modifying them. It will even change text files. Reproducible: Always Steps to Reproduce: 1. Create a text file, e.g.: cat /proc/cpuinfo > text 2. ls -l text -rw-r--r-- 1 rps shadow 1282 Mai 16 16:09 text 3. Doesn't have tags: id3info text *** Tag information for text 4. Add tags: id3tag "--year=2000" "--album=test" "--artist=artist 1" "--track=01" "--song=song1" text +++ Artist = artist 1 +++ Album = test +++ Song = song1 +++ Year = 2000 +++ Track = 1 Tagging text: attempting v1 and v2, tagged v1 and v2 5. The file has grown: ls -l text -rw-r--r-- 1 rps shadow 2176 Mai 16 16:11 text 6. And now the file has tags: id3info text *** Tag information for text === TPE1 (Lead performer(s)/Soloist(s)): artist 1 === TALB (Album/Movie/Show title): test === TIT2 (Title/songname/content description): song1 === TYER (Year): 2000 === TRCK (Track number/Position in set): 1 Actual Results: The text file was modified. A block of 766 bytes appeared at the beginning of the file with tags "TPE1", "TALB", "TIT2", "TYER", "TRCK" and another block at the end of the file with the tags in a different format. Even if a file doesn't exist the command will create a new file. Expected Results: I would expect the command to not touch files in formats which it doesn't know about. This behaviour can damage files by accident (for instance, if one does id3tag "--year=2000" "--album=test" "--artist=artist 1" * while meaning to do id3tag "--year=2000" "--album=test" "--artist=artist 1" *.mp3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.