Vero4K yt-dlp config file

Hi, I’m trying to use yt-dlp on my Vero4K with the video plugin sendtokodi

I installed yt-dlp by ssh via the command line
python3 -m pip install -U “yt-dlp[default]”

so the installation path is /home/osmc/.local/lib/python3.9/site-packages/yt_dlp/

I want to see a video from a site that need to authenticate with username and password. I’d like to know the path directory where I have to put the yt-dlp.conf file to put the argument --netrc

Here is the log error I have https://paste.kodi.tv/ugiwikucem.kodi

Thank you

Maybe /home/osmc/.netrc is all that’s needed?

Sam

No, the .netrc file was already here when I had the log I posted. This tutorial page said the argument “–netrc” is needed in the config file.

I found the location needed !!!

The location needed for the config file is /home/osmc/yt-dlp.conf

So I fill my passwords in the /home/osmc/.netrc file with the name of the corresponding engine and it worked !

May this topic be usefull for someone else.

Appreciate you working out where to put the credentials.
I wasn’t familiar with the add-on so wasn’t sure how to advise.

Glad that this is working for you and I am sure it will benefit others in the future.

Cheers

Sam