upvote
You can use an easier way for yt-dlp:

https://github.com/deniscerri/ytdlnis

reply
How do I share the files back to Termux from this 'app'?
reply
If you disable SELinux, I believe you can also set up the MPV app to use Termux's yt-dlp executable.
reply