(This repository is marked deprecated, but it seems to be the only place to open issues)
The addon https://github.com/firsttris/plugin.video.sendtokodi added support for both youtube-dl and yt-dlp due to the problems in youtube-dl. I was able to easily use the yt-dlp from sendtokodi to resolve my issue. (After a one line change to sendtokodi's addon.xml to export the lib).
It seems that this addon is a more logical place to add yt-dlp than sendtokodi since this addon is already an exposed library, while sendtokodi does not expose the library.
However, since I don't use the wrapper code I don't know what is involved in modifying that functionality to use yt-dlp.
(This repository is marked deprecated, but it seems to be the only place to open issues)
The addon https://github.com/firsttris/plugin.video.sendtokodi added support for both youtube-dl and yt-dlp due to the problems in youtube-dl. I was able to easily use the yt-dlp from sendtokodi to resolve my issue. (After a one line change to sendtokodi's addon.xml to export the lib).
It seems that this addon is a more logical place to add yt-dlp than sendtokodi since this addon is already an exposed library, while sendtokodi does not expose the library.
However, since I don't use the wrapper code I don't know what is involved in modifying that functionality to use yt-dlp.