So here is what im trying to do.
first filter out all 1080p torrents from rss feed,
crossmatch with 1080p the old entry list to avoid keep redownloading.
put their imdb id in the 1080p entry list. and excute download in deluge.
filter out all 720p torrents from the same rss feed.
crossmatch with old 720 entries list to avoid keep redownloading.
then crossmatch between 1080p entry list and all 720p entries.only unmatched 720p torrents will get downloaded next. put all their imdb id in 720p entries list.
this can realize picking the best quality version in rss feed.
but there is a bug:
if one movie s 1080p version comes in the first rss refresh, then the 720p version comes in the next rss refresh, or both version comes in a same rss refresh.
it will pick the 1080p version, no doubt.
but if one movie s 720p version comes in the first rss refesh.
1080p version comes in the next rss refresh.
the 720p version and the 1080p version of the same movie will both be downloaded and documented in both 720p and 1080p entries lists.
so create task 3:
use crossmatch between 720p entries and 1080p entries to target the duplicated 720p version of the movie, execute delete file and torrent by using deluge plugin since im using deluge. so only the 1080p version will be downloaded.
so far the only problem is i cant find a command line to ask deluge to delete a specified torrent task. so if somebody knows plz tell me? much appreciated.