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

Subsequent playlists redownloads fail #150

Closed
deldesir opened this issue Mar 27, 2024 · 14 comments · Fixed by #151
Closed

Subsequent playlists redownloads fail #150

deldesir opened this issue Mar 27, 2024 · 14 comments · Fixed by #151
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@deldesir
Copy link
Collaborator

IIAB-DIAGNOSTICS - http://sprunge.us/oECy1e?en
This playlist https://www.youtube.com/playlist?list=PLGjplNEQ1it_oTvuLRNqXfz_v_0pq6unW of 14 videos was downloaded successfully and videos in order of ranking.. see screenshot.

Subsequent download attempts for these below have all failed in tasks but an empty bookshelf name is created.
https://www.youtube.com/playlist?list=PLGjplNEQ1it_oTvuLRNqXfz_v_0pq6unW 14 videos
https://www.youtube.com/playlist?list=PLfEr2kn3s-bo4LwlbyZugHPavhcdW8YMC 97 videos
Screenshot from 2024-03-27 14-51-32
Screenshot from 2024-03-27 14-52-05
Screenshot from 2024-03-27 14-55-11
Screenshot from 2024-03-27 15-03-21

Originally posted by @EMG70 in #146 (comment)

@deldesir deldesir changed the title Subsequent playlists downloads fails Subsequent playlists downloads fail Mar 27, 2024
@deldesir deldesir changed the title Subsequent playlists downloads fail Subsequent playlists' downloads fail Mar 27, 2024
@deldesir deldesir changed the title Subsequent playlists' downloads fail Subsequent [playlists] downloads fail Mar 27, 2024
@holta holta added bug Something isn't working question Further information is requested labels Mar 27, 2024
deldesir added a commit to deldesir/calibre-web that referenced this issue Mar 28, 2024
Fixes iiab#150, enabling subsequent [re]downloads of playlists
@deldesir
Copy link
Collaborator Author

@EMG70, please let me know if your tests went well after applying fix #151 to your issue so I can close this ticket.

@deldesir deldesir self-assigned this Mar 28, 2024
@deldesir
Copy link
Collaborator Author

deldesir commented Apr 9, 2024

@EMG70, I am still looking for the causes of the failures you experienced. Want to give it another try?

@EMG70
Copy link

EMG70 commented Apr 9, 2024

I will try again in next 3hrs and update you.

@EMG70
Copy link

EMG70 commented Apr 9, 2024

IIAB-DIAGNOSTICS - http://sprunge.us/Kv2wBX?en
https://www.youtube.com/playlist?list=PL_c9BZzLwBRLVh9OdCBYFEql6esA6aRsi - 102 short videos in playlist ✅
https://www.youtube.com/playlist?list=PLr6-GrHUlVf96NLj3PQq-tmEB6woZjwEl - 53 short videos in playlist ✅
97/102 Videos were downloaded OK.A few videos failed https://www.youtube.com/watch?v=4e3dIeP93E8 and https://www.youtube.com/watch?v=D2KvDBSZA0w although they do play well on Youtube.I am not sure why,see screenshot below:
Screenshot from 2024-04-09 14-55-18
Screenshot from 2024-04-09 15-03-36

Screenshot from 2024-04-09 15-03-05

@deldesir deldesir changed the title Subsequent [playlists] downloads fail Subsequent [playlists] redownloads fail Apr 11, 2024
@deldesir deldesir changed the title Subsequent [playlists] redownloads fail Subsequent playlists redownloads fail Apr 11, 2024
@deldesir deldesir pinned this issue Apr 11, 2024
@deldesir
Copy link
Collaborator Author

UPDATE:

Subsequent redownloads of same playlists fail.

  • missing videos: a 102-videos playlists run downloaded only 9 videos in the second redownload, 0 in the third one.

Subsequent downloads of different playlists work.

@holta
Copy link
Member

holta commented May 31, 2024

@deldesir @EMG70

  1. We need to monitor in early June confirming that PR Enable subsequent [re]downloads of playlists #151 fixed this sufficiently.

  2. If so, we should close this in June after updating &/or clarifying the explanation posted here for everyone:

    [TODO] Supporting redownloading videos with the same ID
    https://github.com/iiab/calibre-web/wiki#todo-supporting-redownloading-videos-with-the-same-id

  3. Somewhat related: - Videos failed and triggers "UNIQUE constraint failed: media.path" error on first retry/redownload #153

@holta
Copy link
Member

holta commented Jun 21, 2024

@deldesir @EMG70

  1. We need to monitor in early June confirming that PR Enable subsequent [re]downloads of playlists #151 fixed this sufficiently.

3 weeks have passed: can we get to a conclusion here now?

@EMG70
Copy link

EMG70 commented Jun 21, 2024

I will test again and update you today.

@deldesir
Copy link
Collaborator Author

deldesir commented Jun 21, 2024

Subsequent redownload of 14-videos playlist succeeded:

Screenshot_20240621-093120

@holta
Copy link
Member

holta commented Jun 21, 2024

I will test again and update you today.

@deldesir let us know if we should close this issue, Thanks!

@deldesir
Copy link
Collaborator Author

Since subsequent playlist redownloading is not an issue anymore, this ticket should be closed.

@holta
Copy link
Member

holta commented Jun 21, 2024

Since subsequent playlist redownloading is not an issue anymore, this ticket should be closed.

@EMG70 please confirm with your own URL & results when redownloading it! 🙏

@EMG70
Copy link

EMG70 commented Jun 21, 2024

SUDO IIAB-DIAGNOSTICS - https://dpaste.com/9RWTE5BFG
I have used same playlists that had some failing videos last time.I can confirm all downloaded 100 % OK .I did not see any reason to re-download same playlist today as all were successful.
https://www.youtube.com/playlist?list=PL_c9BZzLwBRLVh9OdCBYFEql6esA6aRsi 102 videos ✅
https://www.youtube.com/playlist?list=PLr6-GrHUlVf96NLj3PQq-tmEB6woZjwEl 55 videos ✅

@holta
Copy link
Member

holta commented Jun 21, 2024

Good enough.

Thanks @EMG70 and please keep an eye on any video redownloading gotchas that might re-surface in future!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants