-
-
Notifications
You must be signed in to change notification settings - Fork 295
-
time="2024-09-06T11:45:03Z" level=error msg="youtube-dl error: /tmp/podsync-3604958398/-bdOQIy_0tw.%(ext)s" error="failed to execute youtube-dl: exit status 1"
time="2024-09-06T11:45:03Z" level=error msg="[youtube] -bdOQIy_0tw: Downloading webpage\n[youtube] -bdOQIy_0tw: Downloading android player API JSON\nWARNING: [youtube] YouTube said: ERROR - Precondition check failed.\nWARNING: [youtube] HTTP Error 400: Bad Request.
In error logs
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 7 comments
-
I was running into this because I was using mxpv/podsync docker image (2 years out of date) instead of the ghcr.io/mxpv/podsync image. Once I switched the issue was gone. The README.md needs to be updated
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 5
-
See my PR here #657
Beta Was this translation helpful? Give feedback.
All reactions
-
Podsync uses yt-dlp to download from youtube. Last time, Youtube changes their policy, and now yt-dlp have problems with downloading. More about that yt-dlp/yt-dlp#10128
Beta Was this translation helpful? Give feedback.
All reactions
-
on docker: docker exec -it podsync yt-dlp -U
This updates yt-dlp for your current instance only!
Beta Was this translation helpful? Give feedback.
All reactions
-
docker exec -it podsync yt-dlp -U
I did this but I'm still getting download errors, and asked to sign in to confirm that I'm not a bot
Beta Was this translation helpful? Give feedback.
All reactions
-
on docker: docker exec -it podsync yt-dlp -U This updates yt-dlp for your current instance only!
I had to run docker exec -it podsync /usr/bin/youtube-dl -U instead, and it works now.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 6
-
I put together a docker-compose that includes the update step if anyone finds it helpful:
services:
podsync:
container_name: podsync
image: ghcr.io/mxpv/podsync:latest
restart: unless-stopped
ports:
- 80:80
volumes:
- ./data:/data
- ./config.toml:/app/config.toml
entrypoint: /bin/sh
command: -c "youtube-dl -U || echo 'Update failed, continuing...'; exec /app/podsync --config /app/config.toml"
Edit: This might actually be redundant if you enable yt-dlp self-updating in the config file.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2