Hey @Blacktwin!
Not sure if you are aware Tautulli has been updated to support Python 3.
I use the Docker version so upon updating it automatically switched to Python 3.
I think this might have broken your kill_stream script (possibly others, but that is really the only one I use).
In the Tautulli logs I have this error:
Tautulli Notifiers :: Script error:
Traceback (most recent call last):
File "/config/scripts/kill_stream.py", line 575, in <module>
opts = parser.parse_args()
File "/app/lib/argparse.py", line 1725, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/app/lib/argparse.py", line 1754, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/app/lib/argparse.py", line 1960, in _parse_known_args
start_index = consume_optional(start_index)
File "/app/lib/argparse.py", line 1900, in consume_optional
take_action(action, args, option_string)
File "/app/lib/argparse.py", line 1812, in take_action
argument_values = self._get_values(action, argument_strings)
File "/app/lib/argparse.py", line 2249, in _get_values
value = self._get_value(action, arg_string)
File "/app/lib/argparse.py", line 2278, in _get_value
result = type_func(arg_string)
File "/config/scripts/kill_stream.py", line 100, in arg_decoding
return arg.decode(TAUTULLI_ENCODING).encode('UTF-8')
AttributeError: 'str' object has no attribute 'decode'
Iām not familiar with Python at all, so was hoping you could update your script to work with the Python 3 upgrade for Tautulli?
Iām guessing thatās what those errors are coming from, though I could be wrong.
Let me know if there is anything I can provide to help figure out the errors.
-Shark2k