Skip to content

[add] from_transmission: Add 'transmission_errorString'#2648

Merged
paranoidi merged 1 commit intoFlexget:developfrom
fenduru:patch-1
Apr 9, 2020
Merged

[add] from_transmission: Add 'transmission_errorString'#2648
paranoidi merged 1 commit intoFlexget:developfrom
fenduru:patch-1

Conversation

@fenduru
Copy link
Copy Markdown
Contributor

@fenduru fenduru commented Apr 8, 2020

Motivation for changes:

Currently there is no way to differentiate between a tracker error due to temporary downtime, vs permanent deletion of the torrent, making it difficult to automate cleanup tasks.

Detailed changes:

  • Adds errorString to the whitelist of Transmission RPC fields to be populated on entries.

This adds the field `transmission_errorString` when parsing torrents with `from_transmission`. This is useful for taking action depending on the specific type of error reported by the tracker, rather than just the presence of an error. For example, you may want to clean up torrents that have been removed by the tracker, but leave torrents when the tracker is temporarily down.
@paranoidi
Copy link
Copy Markdown
Member

Meeseeks good changes, thanks for your contribution

@paranoidi paranoidi merged commit d2211dd into Flexget:develop Apr 9, 2020
StefftheEmperor2 pushed a commit to StefftheEmperor2/Flexget that referenced this pull request Apr 25, 2020
…t#2648)

Useful for taking action depending on the specific type of error.
For example, you may want to clean up torrents that have been removed by the tracker,
but leave torrents when the tracker is temporarily down.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants