JakeWharton / qbt-orphaned-downloads

Maintains a tag on torrents whose files have no hardlinks outside the download directory
MIT License
17 stars 2 forks source link

Does not work for multiple save paths #11

Open p-hueber opened 7 months ago

p-hueber commented 7 months ago

Hi!

Running qbt-orphaned-downloads, all my files and torrents are marked unowned/orphaned. My downloads use categories and each category has a distinct save path. E.g. /downloads/TV and /downloads/Movies. I think what's happening is that absolute paths from qbittorrent are constructed like /downloads + file name and thus never match the real files. Maybe a better approach would be mapping the real save paths inside the container. You could traverse all the save paths you get from qbittorrent without having to translate paths.

Writing this, I think a possible workaround for me could be running one instance per category, using "ignore labels" to leave the other categories alone.

dGstone18 commented 5 months ago

Would love to see this be supported. Was really excited to find this script but without multiple save path (category) support it is effectively useless for me.