dmzoneill / lidarr-youtube-downloader

Lidar youtube downloader
Apache License 2.0
44 stars 10 forks source link

Docker Build #1

Open telix5000 opened 2 years ago

telix5000 commented 2 years ago

I get this error upon creating the docker image and running the clever tool you made:

Traceback (most recent call last): File "/lidarr-youtube-downloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests'

I am running the nightly build of Lidarr just in case this was only built for the prime release.

telix5000 commented 2 years ago

I got it to build and exported it to my Synology to run. It works now. Here are my changes to the Dockerfile:

FROM ubuntu RUN apt update -y RUN DEBIAN_FRONTEND=noninteractive apt upgrade -y RUN DEBIAN_FRONTEND=noninteractive apt install -y ffmpeg python3 curl python3-pip python-is-python3 RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/bin/youtube-dl RUN chmod +x /usr/bin/youtube-dl RUN pip3 install requests eyed3 youtube-search-python COPY lidarr-youtube-downloader.py / CMD ["python3", "/lidarr-youtube-downloader.py"]

dmzoneill commented 1 year ago

thanks for the fix, merged

dfatih commented 9 months ago

I got it to build and exported it to my Synology to run. It works now. Here are my changes to the Dockerfile:

FROM ubuntu RUN apt update -y RUN DEBIAN_FRONTEND=noninteractive apt upgrade -y RUN DEBIAN_FRONTEND=noninteractive apt install -y ffmpeg python3 curl python3-pip python-is-python3 RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/bin/youtube-dl RUN chmod +x /usr/bin/youtube-dl RUN pip3 install requests eyed3 youtube-search-python COPY lidarr-youtube-downloader.py / CMD ["python3", "/lidarr-youtube-downloader.py"]

Heyy, can you give me a step by step guide how to make it run on synology. i dont know how do to that.