[SUPPORT] SmartPhoneLover - YouTube-DL (for subscriptions)


Recommended Posts

youtube-dl.png

 

This docker template was created based on an already available docker image


GitHub: https://github.com/Jeeaaasus/youtube-dl
DockerHub: https://hub.docker.com/r/jeeaaasustest/youtube-dl/
My Repository: https://github.com/SmartPhoneLover/unraid-docker-templates

 

DESCRIPTION

This ia a docker template for YouTube-DL (yt-dlp) for downloading YouTube subscriptions.


NOTES
• Check the GitHub repo to know more about how to configure the variables used in this template.


VERSION
1.0 (2021-12-15)


If you are going to report a bug or request something to be added/modified, please, take into consideration that I will only be able to apply changes for the work I own only. For example, if I create a docker template for an already existing docker image (not created by me), I won't be able to do more for that image than forward your report or request to the owner of the project.


If you like my work, please consider making a little donation.
- DONATE -
Thank you very much 🙂

Link to comment

First, thank you for this!  This is what I've been looking for!  The files transfer to Plex nicely with metadata, poster, etc. Now I can set it and forget it and use plex to watch vs. YT! Also, just an FYI, but the template has the resolution as 1080p.  Tried this and the dler pulled 4k.  Changed it 1080 and it's dling 1080p files now.

Edited by Twinkie0101
  • Like 1
Link to comment
3 hours ago, Twinkie0101 said:

First, thank you for this!  This is what I've been looking for!  The files transfer to Plex nicely with metadata, poster, etc. Now I can set it and forget it and use plex to watch vs. YT! Also, just an FYI, but the template has the resolution as 1080p.  Tried this and the dler pulled 4k.  Changed it 1080 and it's dling 1080p files now.

Thank you!

This was just another docker image I wanted to try, but I still preffer to use the one called: tubesync. You can find it in the CA section.

Link to comment
  • 3 months later...

Hey guys, 

 

I am hoping to give this a try but I wanted to confirm I have this setup correctly. The instructions are a okay but not really clear. In my channels.txt list I have the following 

 

I hope this is correct. I just want videos from a single channel. 

 

image.thumb.png.b89381f215a78d1f67dd5d4a6e9be496.png

 

And in the Args.conf I left everything alone and added the last line ... is the correct way to do it? I ONLY want to download the new season of Backstage Dodgers and not all the other seasons.  

 

image.thumb.png.390d6d087315b940177d801c2958e83b.png

 

Let me know if I am missing something or if I did this wrong. :) 

Link to comment
  • 3 months later...
  • 2 weeks later...
  • 2 months later...

After updating to 6.11 I began to have issues with yt-dlp based containers (YouTube-DL & TubeArchivist).

In case any one else started to get the [errno -2] issue after updating, I found after a lot of hair pulling and tweaking that Docker was not resolving the DNS properly to the containers (in Bridge Mode), and they were thus unable to resolve URL's.

 

Manually editing the /etc/docker/daemon.json file to include the following line of code allows the containers to again resolve URL's.

 

"dns": ["8.8.8.8","8.8.4.4","1.1.1.1"]

 

The contents of my daemon.json looks like this for context;

 

{
    "runtimes": {"nvidia": {"path": "/usr/bin/nvidia-container-runtime","runtimeArgs": []}},
    "dns": ["8.8.8.8","8.8.4.4","1.1.1.1"]
}

 

I also managed to automate the code insertion due to the lack of persistence of config files in the OS, by adding the following line to my go file in the /config folder on the USB. This line should be at the start gf the go file so it is executed BEFORE docker launches.

 

# Fix the docker DNS issue
sed -i '0,/{/a\    "dns": ["8.8.8.8","8.8.4.4","1.1.1.1"],' /etc/docker/daemon.json

 

 

My entire go file looks like this for context;

 

#!/bin/bash

# Fix the docker DNS issue
sed -i '0,/{/a\    "dns": ["8.8.8.8","8.8.4.4","1.1.1.1"],' /etc/docker/daemon.json

# Start the Management Utility
/usr/local/sbin/emhttp &

# Chip drivers
modprobe jc42
modprobe k10temp
modprobe w83627ehf
modprobe fam15h_power

# Enlarge the LOG partition (because Dynamix System Stats needs at least 186Mb, default LOG is 128Mb)
mount -o remount,size=384m /var/log

# Binhex (Container update)
# curl -o '/usr/bin/runc' -L 'https://github.com/binhex/arch-packages/raw/master/static/x86-64/runc' && chmod +x '/usr/bin/runc'

 

Hope that helps somebody.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.