This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Taging files without changing their md5's

Tags: None
(comma "," separated)
shortmanikos
Registered Member
Posts
5
Karma
0
OS
I am sorry if this is covered somewhere else but I couldn't find something similar so I am making a new thread. I' ve come upon the following problem: I am making a bootleg collection from various (legal) torrent sites such as  "the trader's den". Problem is that the files I download are completely untagged. If I tag them so I can add them to my collection I will not be able to seed them anymore because the hash checks of the torrent will fail.... So I am thinking that it would be nice to add tags to a file that are just for internal Amarok use, meaning they are not written on the actual file. I don't think it's difficult..... since all the tag info is acquired from the database and not from the file anyway....

note: I have a -quite lame- workaround for this.... you keep a backup of the original files, tag them, move them to the collection without changing their filename and copy the backups over them.... the tags are kept and the files are unchanged.... but I'd appreciate a better way to do the job.

My idea: have a checkbox in the "edit track info" dialog -checked by default- which is something like "write tag info to the file", when unchecked it will just write to the database.

Thanks in advance and sorry to have troubled you... Amarok is still the best application I've ever used (it is not a typo I do mean "best application" )
Troberg
Registered Member
Posts
3
Karma
0
An MD5 hash is specifically designed to be safe, in other words, to change as soon as any change occur in the file. It's also designed to be very difficult to produce a file with a specific MD5 hash.

In other words, everything you are trying to do is exactly what MD5 is designed to not allow. You're screwed.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
No, he wants to just change the database entry for a file and not the file itself. The subject is missleading, but the question makes a lot of sense.

For me, it looks like you are already doing the best you can do. The other possibility is to directly write to the database, but this might be not very comfortable.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]