Traceback (most recent call last):


 "/home/pi/.local/lib/python3.7/site-packages/pyload/core/threads/download_thread.py", line 56, in run

pyfile.plugin.preprocessing(self)


 "/home/pi/.local/lib/python3.7/site-packages/pyload/plugins/base/hoster.py", line 300, in preprocessing

return self._process(*args, **kwargs)


 "/home/pi/.local/lib/python3.7/site-packages/pyload/plugins/base/downloader.py", line 107, in _process

self._check_download()


 "/home/pi/.local/lib/python3.7/site-packages/pyload/plugins/base/simple_downloader.py", line 315, in _check_download

self.check_download()


 "/home/pi/.local/lib/python3.7/site-packages/pyload/plugins/downloaders/UploadedTo.py", line 113, in check_download

check = self.scan_download({"dl_limit": self.DL_LIMIT_PATTERN})


 "/home/pi/.local/lib/python3.7/site-packages/pyload/plugins/base/downloader.py", line 370, in scan_download

if rule in content:
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state

yield from self.async_device_update()


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update

yield from self.hass.async_add_job(self.update)


 "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup

future.result()


 "/usr/lib/python3.5/asyncio/futures.py", line 293, in result

raise self._exception


 "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/samsungtv.py", line 121, in update

return self.send_key('KEY')


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/samsungtv.py", line 134, in send_key

self.get_remote().control(key)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/samsungtv.py", line 127, in get_remote

self._remote = self._remote_class(self._config)


 "/srv/homeassistant/lib/python3.5/site-packages/samsungctl/remote.py", line 10, in __init__

self.remote = RemoteWebsocket(config)


 "/srv/homeassistant/lib/python3.5/site-packages/samsungctl/remote_websocket.py", line 21, in __init__

self.connection = websocket.WebSocket()
TypeError: __init__() missing 3 required positional arguments: 'environ', 'socket', and 'rfile'
