Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not to add the episode to the feed if it wasn't downloaded #75

Closed
Rpsl opened this issue Jan 11, 2020 · 1 comment
Closed

Not to add the episode to the feed if it wasn't downloaded #75

Rpsl opened this issue Jan 11, 2020 · 1 comment

Comments

@Rpsl
Copy link
Contributor

Rpsl commented Jan 11, 2020

When youtube-dl failed while episode downloading this episode is still being added to the feed.

INFO[2020-01-11T08:57:26Z] -> updating https://www.youtube.com/channel/UCUllb83Lugbka-rvF6Nutxg  feed_id=kreosan format=video quality=high
INFO[2020-01-11T08:57:27Z] ! downloading episode https://youtube.com/watch?v=keByJcbiICk  episode_id=keByJcbiICk index=0
ERRO[2020-01-11T09:00:07Z] youtube-dl error: [youtube] keByJcbiICk: Downloading webpage
[youtube] keByJcbiICk: Downloading video info webpage
[download] Destination: /app/data/kreosan/keByJcbiICk.f299.mp4
[download]   0.0% of 1.26GiB at Unknown speed ETA Unknown ETA
.... //
[ERROR: unable to download video data: <urlopen error [Errno 99] Address not available>  episode_id=keByJcbiICk error="failed to execute youtube-dl: exit status 1" index=0
ERRO[2020-01-11T09:00:07Z] failed to get episode file size               episode_id=keByJcbiICk error="stat /app/data/kreosan/keByJcbiICk.mp4: no such file or directory" index=0

Possibly this will be fixed after implementation storage.
I'll leave issue at that, so as not to forget.

@mxpv
Copy link
Owner

mxpv commented Feb 8, 2020

This should be fixed in master

if episode.Status != model.EpisodeDownloaded {

@Rpsl Rpsl closed this as completed Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants