2011-02-20, 22:42
DaBorg Wrote:Any idea how to have the script process only certain torrents? For example, I want it to process for only my TV downloads that I grab via RSS, but not for movies, files, etc.
yeah sure,
You can add a third parameter to the update status field and then add some if's before any processing is done.
ie if you set your first parameter (after the -U/-S) to always be the label you could have everything encapsulated in this:
<put this under sourcepath>
if mid(WScript.Arguments.Item(1),1,8) = "TV-Shows" then
<put this at the bottom>
end if
this will then compare the first 8 characters of the label and check if they're TV-Shows. if they are, it proceed to make the updates/status notifications.
note that if you rearrange the parameters you need to update the number in the Arguments.Item(x) accordingly.