Miles Priestman
Miles Priestman
Damn, I'm really sorry about that! This should have been prevented by pull request #41 (commit a2be86b9b1e04b233fe2477647ed5a747743a9db) about 3 years ago... I imagine this might be something to do with...
This really shouldn't be happening, I'm thinking perhaps something strange about relative/absolute paths? If you're willing, do you think you could download and run this [script](https://gist.github.com/mountainpenguin/8ce4673e295a0fb47b59566533dd6dec) and paste the output?...
Incidentally, I set my downloads directory in `.rtorrent.rc` with this line: `directory = /home/mp-torrent/torrents/downloading` Perhaps the rtorrent API uses a default value if you use `d.set_directory` instead of `directory`?...
Hmm OK, I think this must be to do with the `d.set_directory` command. I updated the gist with a couple of extra lines, could you try running it again please?...
Hmm, actually I don't think that'll work, it's essentially the same command as `getRootDir()` I think I might have to write in a hacky method that ensures that aren't extra...
Yeah it looks like I'll have to write this the hard way! I'll write in some extra paranoid checks and a confirmation dialog. Is the difference with your configuration that...
It should now choose the correct file if the default root directory is unusual, and provide a general confirmation before allowing any deletion. I'll leave this open until I merge...
I'll check if I can reproduce this, and report back later
Note to self: look at ctypes and loading the mediainfo shared object; would this be easier than calling the mediainfo CLI executable directly?
Made a start with a wiki, I'll be adding wiki pages when I have time to spare https://github.com/mountainpenguin/pyrt/wiki I will play around with git pages too at some point, since...