Closed jaredcat closed 2 years ago
I went into the docker with docker exec -it sonarr_youtubedl bash
and updated the youtube-dl with pip install --upgrade youtube-dl
to check if it was just an issue with youtube-dl version and it works now. So the youtube-dl inside the docker just needs to be updated. Should be an easy fix.
To follow up with my solution for docker compose I changed the container in the compose file
sonarr_youtubedl:
# image: whatdaybob/sonarr_youtubedl
build: ./sonarr_youtubedl
container_name: sonarr_youtubedl
command: [ "python", "-u", "/app/sonarr_youtubedl.py" ]
.
.
.
and created a new Dockerfile inside of sonarr_youtubedl
dir i had my config stored in
FROM whatdaybob/sonarr_youtubedl
RUN pip3 install --upgrade youtube_dl schedule
CMD []
Benefit of this is that every restart updates youtube_dl now!
Getting an error that's crashing the container:
TypeError: argument of type 'NoneType' is not iterable
on https://github.com/whatdaybob/sonarr_youtubedl/blob/65ec7c3468b5817e550b9966031dc7ee2f54e4d8/app/sonarr_youtubedl.py#L316Before that
Similar to https://github.com/whatdaybob/sonarr_youtubedl/issues/15 But this is not ARM. I'm running the container in 64-bit Ubuntu.