Comments (7)
@bobokun do we compare save paths instead?
or can we compare file contents
from qbit_manage.
Hello,
@bobokun When will this issue be addressed? Files of mine have been getting deleted consistently. I can't configure anything differently, so I am simply accepting the loss at the moment. Would be nice if there would be an ETA as I deem this a pretty serious issue myself.
from qbit_manage.
I personally believe the error to be in this function:
Where this might ultimately cause the issue:
qbit_manage/modules/qbittorrent.py
Line 196 in db5e881
I do not, however, have a fix.
from qbit_manage.
Hi can you please test the latest develop version and let me know if you still have this problem? Thanks!
from qbit_manage.
Reached out via Discord but while this solves the issue with the originally reported torrent it does not resolve the issue with other torrents that have significantly different naming conventions for the torrent/release name despite still having the same underlying files.
Examples from a couple of trackers:
BLU/BHD: 'Ninja.Kamui.S01E01.1080p.HMAX.WEB-DL.DD2.0.H.264-VARYG.mkv' is both the release name and filename
Nyaa: 'Ninja Kamui S01E01 1080p HMAX WEB-DL DD2.0 H 264-VARYG (Dual-Audio, Multi-Subs)' is the release name via magnet
The remove_extension function that was added will help in situations where the only difference in release names is an extension, but a better solution to this problem would be to create a mapping of torrent names/hashes to the files associated with them and use that as a comparison point when running the deletion logic. qbittorrent-api provides https://qbittorrent-api.readthedocs.io/en/latest/apidoc/torrents.html#qbittorrentapi.torrents.TorrentsAPIMixIn.torrents_files that can be used as a way to gather the files, and a list of dictionaries (or a nested dictionary) could be used to store the data to later iterate over.
from qbit_manage.
I've reverted the change for now to remove the extension until a proper fix
from qbit_manage.
@datcactus , can you please test again. The new logic uses save_files to determine cross-seeds so it should be more accurate than using names
from qbit_manage.
Related Issues (20)
- [Bug]: time duration format does not work as expected HOT 1
- [Bug]: Incorrect noHL Tags on Hardlinked Torrents HOT 2
- Broken -h command
- [Bug]: Multiple share limit tags applied HOT 3
- MinSeedTimeNotReached not being applied correctly
- exclude directory of recently deleted torrents from rem_orphaned
- [FR]: Option to completely customize tag name. HOT 7
- [Bug]: Memory leak after 4.1.3 release HOT 4
- Fix Apprise connection check HOT 1
- [Bug]: Cross-seeds have just vanished HOT 9
- [Bug]: Categorize only with the first letter HOT 5
- [Bug]: Forcing Category not ignoring ignoreTags_OnUpdate HOT 1
- Add config option to categorize only uncategorized torrents
- [Bug]: Categories Update Issue with Version 4.1.6 HOT 2
- [FR]: Warn user on unrecognized config options
- [FR]: Remove orphaned without moving to orphaned_dir HOT 2
- [FR]: Logging header doesn't get logged for every run
- [Bug]: QBM keeps calling BHD API when rate limited HOT 2
- Use BHD list of reasons instead of API HOT 1
- [Bug]: MinSeedTimeNotReached tag not being applied correctly, causes torrent to pause and unpause every other run HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qbit_manage.