alexta69 / metube

Self-hosted YouTube downloader (web UI for youtube-dl / yt-dlp)
GNU Affero General Public License v3.0
3.96k stars 259 forks source link

Pass paths also when extracting metadata #367

Closed JonasR closed 6 months ago

JonasR commented 6 months ago

Fixes #363

In some cases, such as when writing thumbnails, this call can still cause creation of non-temporary files on disk which should then also be placed in DOWNLOAD_DIR

JonasR commented 6 months ago

I was undecided of whether to further align the two calls.

I guess including 'socket_timeout': 30 wouldn't hurt either. Similarly for outtmpl, but neither are directly concerned with this issue, so I left them out.

alexta69 commented 6 months ago

Perhaps if we add more parameters (to create further alignment) we should have them in a common place somewhere. But doesn't matter for now. Thanks!