libre-tube/LibreTube

Incomplete Playlist Download Issue

Open

#5928 opened on Apr 20, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Kotlin (11,863 stars) (599 forks)batch import
bughelp wanted

Description

Steps to reproduce

I am experiencing an issue downloading a playlist containing 100 video. Although some of the videos have been downloaded successfully, a lot of the videos have not been completely downloaded, with the download process either pausing or indicating that the instance does not support the video. I have tried downloading the playlist using different instances, but the same issue persists, with a few videos failing to download completely. This has resulted in an incomplete playlist, and I cannot access all the songs I have added. Steps to Reproduce:

  1. Create a playlist containing 100 video songs.
  2. Add the playlist to the download queue.
  3. Initiate the download process.
  4. Observe that a few videos fail to download completely, with the download process pausing or indicating that the instance does not support the video.
  5. Try downloading the playlist using different instances, but notice that the issue persists.

Expected behavior

I expect all the videos in the playlist to be downloaded completely without any interruptions or errors, even if the playlist is large.

Actual behavior

I have noticed that the issue occurs more frequently with larger playlists, and it is causing inconvenience as I am unable to access all the songs that I have added to the playlist. I would appreciate it if you could look into this issue and provide a solution to ensure that all the videos in the playlist are downloaded completely, regardless of the playlist size.

LibreTube version

0.22.2

Android version

Android 14

Other details

  1. The maximum concurrent download limit is currently set to 6, causing difficulties in downloading large playlists efficiently.
  2. Due to this limitation, manual downloading of all songs in the playlist is not feasible.
  3. Implementing a more efficient way to manage downloads is recommended, such as increasing the concurrent download limit or introducing a queue system to ensure all songs are downloaded without interruptions.
  4. Enhancing the download functionality will greatly improve the user experience and allow for seamless playing of playlists with many songs.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.

Contributor guide