Traceback (most recent call last):


 "<console>", line 1, in <module>


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save

return self._save(name, content)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/storages/backends/s3boto3.py", line 506, in _save

self._save_content(obj, content, parameters=parameters)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/storages/backends/s3boto3.py", line 521, in _save_content

obj.upload_fileobj(content, ExtraArgs=put_parameters)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/boto3/s3/inject.py", line 621, in object_upload_fileobj

ExtraArgs=ExtraArgs, Callback=Callback, Config=Config)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/boto3/s3/inject.py", line 539, in upload_fileobj

return future.result()


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/futures.py", line 106, in result

return self._coordinator.result()


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/futures.py", line 265, in result

raise self._exception


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/tasks.py", line 126, in __call__

return self._execute_main(kwargs)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/tasks.py", line 150, in _execute_main

return_value = self._main(**kwargs)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/upload.py", line 692, in _main

client.put_object(Bucket=bucket, Key=key, Body=body, **extra_args)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call

return self._make_api_call(operation_name, kwargs)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/client.py", line 642, in _make_api_call

request_signer=self._request_signer, context=request_context)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/hooks.py", line 360, in emit_until_response

return self._emitter.emit_until_response(aliased_event_name, **kwargs)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/hooks.py", line 243, in emit_until_response

responses = self._emit(event_name, kwargs, stop_on_response=True)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/hooks.py", line 211, in _emit

response = handler(**kwargs)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/handlers.py", line 212, in conditionally_calculate_md5

calculate_md5(params, **kwargs)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/handlers.py", line 190, in calculate_md5

binary_md5 = _calculate_md5_from_file(body)


 "/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/handlers.py", line 204, in _calculate_md5_from_file

md5.update(chunk)
TypeError: Unicode-objects must be encoded before hashing

Traceback (most recent call last):


 "/usr/local/bin/svtplay-dl", line 4, in <module>

__import__('pkg_resources').run_script('svtplay-dl==2.4+9.gb428bcc', 'svtplay-dl')


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 658, in run_script

self.require(requires)[0].run_script(script_name, ns)


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1438, in run_script

exec(code, namespace, namespace)


 "/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/EGG-INFO/scripts/svtplay-dl", line 7, in <module>

svtplay_dl.main()


 "/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/svtplay_dl/__init__.py", line 69, in main

get_media(urls[0], config, __version__)


 "/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/svtplay_dl/utils/getmedia.py", line 61, in get_media

get_one_media(stream)


 "/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/svtplay_dl/utils/getmedia.py", line 228, in get_one_media

post.remux()


 "/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/svtplay_dl/postprocess/__init__.py", line 122, in remux

if ext == ".ts" and "aac" in self._getcodec(streams, audiotrack):
TypeError: argument of type 'NoneType' is not iterable
