spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Playlist download stalls

Open Patrick010 opened this issue 9 months ago • 1 comments

Is there an existing issue for this? (Please read the description)

  • [x] I have searched the existing issues

Current Behavior

I am running the latest 4.0.2 on Win10 and am experiencing problems downloading playlists.

If I start downloading it stalls after a random number of downloads. There is no time out or other message. When retrying the same list and I select to skip already downloaded tracks, nothing happens. Also, the complete playlist appears in the Download list, including the already downloaded tracks. One would expect the to be skipped tracks to be left out of the download list. I have never been able to download a complete playlist!

Expected Behavior

  • Playlists to be downloaded in its entirety.
  • Timeouts if a track can't be downloaded and continue with the next.
  • Already downloaded tracks excluded from download list

Steps to reproduce

  1. Select a playlist
  2. Mark tracks for downloading
  3. Some tracks download
  4. Downloading stalls

Logs

Logs ---------------------------------------- [2025-03-18 19:36:24.469708]--------------------- VideoUnplayableException: Video 'zP7pgInSybI' is unplayable. Streams are not available for this video. In most cases, this error indicates that there are some restrictions in place that prevent watching this video. Reason: Sign in to confirm your age #0 StreamClient.getManifest (package:youtube_explode_dart/src/videos/streams/stream_client.dart:117) #1 YoutubeSourcedTrack.toSiblingType (package:spotube/services/sourced_track/sources/youtube.dart:164) #2 YoutubeSourcedTrack.fetchSiblings (package:spotube/services/sourced_track/sources/youtube.dart:252) #3 YoutubeSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/youtube.dart:81) #4 SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:126) #5 DownloadManagerProvider.addToQueue. (package:spotube/provider/download_manager_provider.dart:152) #6 DownloadManagerProvider.addToQueue (package:spotube/provider/download_manager_provider.dart:149) #7 DownloadManagerProvider.batchAddToQueue (package:spotube/provider/download_manager_provider.dart:178)

[2025-03-18 19:36:25.359299]--------------------- VideoUnplayableException: Video 'zP7pgInSybI' is unplayable. Streams are not available for this video. In most cases, this error indicates that there are some restrictions in place that prevent watching this video. Reason: Sign in to confirm your age #0 DownloadManagerProvider.batchAddToQueue (package:spotube/provider/download_manager_provider.dart:184)


[2025-03-18 19:37:58.290108]--------------------- DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code. The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled" Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520) #1 DioForNative.download (package:dio/src/dio/dio_for_native.dart:46) #2 ChunkDownload.chunkedDownload.downloadChunk (package:spotube/services/download_manager/chunked_download.dart:43) #3 Future.wait. (dart:async/future.dart:528) #4 ChunkDownload.chunkedDownload (package:spotube/services/download_manager/chunked_download.dart:107) #5 DownloadManager.download (package:spotube/services/download_manager/download_manager.dart:131) #6 DownloadManager._startExecution (package:spotube/services/download_manager/download_manager.dart:402)


[2025-03-18 19:42:28.426353]--------------------- DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code. The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled" Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520) #1 DioForNative.download (package:dio/src/dio/dio_for_native.dart:46) #2 ChunkDownload.chunkedDownload.downloadChunk (package:spotube/services/download_manager/chunked_download.dart:43) #3 Future.wait. (dart:async/future.dart:528) #4 ChunkDownload.chunkedDownload (package:spotube/services/download_manager/chunked_download.dart:107) #5 DownloadManager.download (package:spotube/services/download_manager/download_manager.dart:131) #6 DownloadManager._startExecution (package:spotube/services/download_manager/download_manager.dart:402)


Operating System

Windows 10

Spotube version

v4.02

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

  • [ ] I'm ready to work on this issue!

Patrick010 avatar Mar 18 '25 19:03 Patrick010

same issue download starts and stops at some unknown item


[2025-10-23 10:53:04.038822]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

#0      DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1      DioForNative.download (package:dio/src/dio/dio_for_native.dart:47)
<asynchronous suspension>
#2      ChunkDownload.chunkedDownload.downloadChunk (package:spotube/services/download_manager/chunked_download.dart:43)
<asynchronous suspension>
#3      ChunkDownload.chunkedDownload (package:spotube/services/download_manager/chunked_download.dart:72)
<asynchronous suspension>
#4      DownloadManager.download (package:spotube/services/download_manager/download_manager.dart:131)
<asynchronous suspension>
#5      DownloadManager._startExecution (package:spotube/services/download_manager/download_manager.dart:402)
<asynchronous suspension>

----------------------------------------
[2025-10-23 10:53:05.035302]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

#0      DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1      DioForNative.download (package:dio/src/dio/dio_for_native.dart:47)
<asynchronous suspension>
#2      ChunkDownload.chunkedDownload.downloadChunk (package:spotube/services/download_manager/chunked_download.dart:43)
<asynchronous suspension>
#3      ChunkDownload.chunkedDownload (package:spotube/services/download_manager/chunked_download.dart:72)
<asynchronous suspension>
#4      DownloadManager.download (package:spotube/services/download_manager/download_manager.dart:131)
<asynchronous suspension>
#5      DownloadManager._startExecution (package:spotube/services/download_manager/download_manager.dart:402)
<asynchronous suspension>

----------------------------------------
[2025-10-23 10:53:08.039019]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

#0      DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1      DioForNative.download (package:dio/src/dio/dio_for_native.dart:47)
<asynchronous suspension>
#2      ChunkDownload.chunkedDownload.downloadChunk (package:spotube/services/download_manager/chunked_download.dart:43)
<asynchronous suspension>
#3      ChunkDownload.chunkedDownload (package:spotube/services/download_manager/chunked_download.dart:72)
<asynchronous suspension>
#4      DownloadManager.download (package:spotube/services/download_manager/download_manager.dart:131)
<asynchronous suspension>
#5      DownloadManager._startExecution (package:spotube/services/download_manager/download_manager.dart:402)
<asynchronous suspension>
 

P6g9YHK6 avatar Oct 23 '25 08:10 P6g9YHK6