Updated readme to include Transcode Decision Change and explain

transcoding decision vs. video decision
This commit is contained in:
dirtycajunrice 2018-12-19 17:53:29 -06:00
parent dd7228904b
commit 64f2312248

View File

@ -6,7 +6,7 @@ Killing streams is a Plex Pass only feature. So these scripts will **only** work
### Kill transcodes ### Kill transcodes
Triggers: Playback Start Triggers: Playback Start, Transcode Decision Change
Conditions: \[ `Transcode Decision` | `is` | `transcode` \] Conditions: \[ `Transcode Decision` | `is` | `transcode` \]
Arguments: Arguments:
@ -81,7 +81,7 @@ Arguments:
### Kill transcode by library ### Kill transcode by library
Triggers: Playback Start Triggers: Playback Start, Transcode Decision Change
Conditions: Conditions:
* \[ `Transcode Decision` | `is` | `transcode` \] * \[ `Transcode Decision` | `is` | `transcode` \]
* \[ `Library Name` | `is` | `4K Movies` \] * \[ `Library Name` | `is` | `4K Movies` \]
@ -93,7 +93,7 @@ Arguments:
### Kill transcode by original resolution ### Kill transcode by original resolution
Triggers: Playback Start Triggers: Playback Start, Transcode Decision Change
Conditions: Conditions:
* \[ `Transcode Decision` | `is` | `transcode` \] * \[ `Transcode Decision` | `is` | `transcode` \]
* \[ `Video Resolution` | `is` | `1080 or 720`\] * \[ `Video Resolution` | `is` | `1080 or 720`\]
@ -105,7 +105,7 @@ Arguments:
### Kill transcode by bitrate ### Kill transcode by bitrate
Triggers: Playback Start Triggers: Playback Start, Transcode Decision Change
Conditions: Conditions:
* \[ `Transcode Decision` | `is` | `transcode` \] * \[ `Transcode Decision` | `is` | `transcode` \]
* \[ `Bitrate` | `is greater than` | `4000` \] * \[ `Bitrate` | `is greater than` | `4000` \]
@ -137,7 +137,7 @@ Arguments:
### Kill transcodes and send a notification to agent 1 ### Kill transcodes and send a notification to agent 1
Triggers: Playback Start Triggers: Playback Start, Transcode Decision Change
Conditions: \[ `Transcode Decision` | `is` | `transcode` \] Conditions: \[ `Transcode Decision` | `is` | `transcode` \]
Arguments: Arguments:
@ -147,7 +147,7 @@ Arguments:
### Kill transcodes using the default message ### Kill transcodes using the default message
Triggers: Playback Start Triggers: Playback Start, Transcode Decision Change
Conditions: \[ `Transcode Decision` | `is` | `transcode` \] Conditions: \[ `Transcode Decision` | `is` | `transcode` \]
Arguments: Arguments:
@ -211,3 +211,11 @@ Tautulli > Script Agent > Script > Tautulli > Webhook Agent > Discord/Slack
### Debug ### Debug
Add `--debug` to enable debug logging. Add `--debug` to enable debug logging.
### Conditions considerations
#### Kill transcode variants
All examples use \[ `Transcode Decision` | `is` | `transcode` \] which will kill any variant of transcoding.
If you want to allow audio or container transcoding and only drop video transcodes, your condition would change to
\[ `Video Decision` | `is` | `transcode` \]