marcopeocchi / yt-dlp-web-ui

A terrible web ui for yt-dlp. Designed to be self-hosted.
Mozilla Public License 2.0
660 stars 68 forks source link

download path error #85

Closed brixxnatt closed 9 months ago

brixxnatt commented 9 months ago

PLease how to change download path in details , also please can you do the username and password login , and really thank you for this script , amazing work

marcopeocchi commented 9 months ago

Hello!

In order to change the download path you must enable the Enable output path overriding option in the settings page. Another way is to enable Enable custom yt-dlp args (again in the settings page) and pass -o your_absolute_path in the download modal.

Login support with username and password will be merged after i close this issue 🤠

brixxnatt commented 9 months ago

I have no idea how to do that , i am running it on docker , and i need to make the path fixed all the time via a config file , when i run this
docker run -d --name=yt-dlp-webui --restart unless-stopped -p 3033:3033 -v /var/lib/output/:/var/lib/output/ marcobaobao/yt-dlp-webui:latest

I cant find the files in this folder , also in the page it still says /downloads

marcopeocchi commented 9 months ago

Assuming your container can access /var/lib/output, there's one thing you can do. Use this docker run script:

docker run -d \
  --name=yt-dlp-webui \
  --restart unless-stopped \
  -p 3033:3033 \
  -v /var/lib/output:/var/lib/output
  -v /path/for/config:/config
  marcobaobao/yt-dlp-webui:latest

Inside /path/for/config create config.yml.

Inside config.yml

# Downloads settings
downloadPath: /downloads

Even if with docker it shouldn't be necessary. My guess is that /var/lib/output isn't accessible by your container.

marcopeocchi commented 9 months ago

Anyway if you want to hop on discord i will try to guide you from there. https://discord.gg/MszUhRVkF