spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Cant download

Open jederkanngit opened this issue 9 months ago • 3 comments

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

  • [x] I have searched the existing issues

Current Behavior

Downloading doesnt work anymore, id be willing o donate if it would ;)

Expected Behavior

It should normaly download

Steps to reproduce

No response

Logs

Logs
<Replace this line by pasting your logs here>

Operating System

Android

Spotube version

No response

Installation source

F-Droid (Android)

Additional information

No response

Self grab

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

jederkanngit avatar Mar 13 '25 15:03 jederkanngit

Same here. Tried Spotube for the first time yesterday and it downloaded a part of my Spotify playlist. It stopped working, no downloads any more. I use Piped with the kavin.rocks instance.

The logs is filled with

Null check operator used on a null value
#0      DownloadManagerProvider.batchAddToQueue (package:spotube/provider/download_manager_provider.dart:184)
<asynchronous suspension>

It does download individual tracks, just not playlists


Got it working again. In a playlist, click the checkbox above the # Title line. After that, selecting Download All will make it start downloading again. Not sure why it previously worked without checking the checkbox.

Patrick010 avatar Mar 13 '25 21:03 Patrick010

Well, it didnt work for very long. If I want to download a playlist it either does nothing, or downloads a few tracks and then stalls without any messages or errors.


[2025-03-15 15:05:40.716745]---------------------
Option af: dynaudnorm doesn't exist.
#0      new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:93)
#1      _rootRunUnary (dart:async/zone.dart:1538)
#2      _CustomZone.runUnary (dart:async/zone.dart:1429)
#3      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5      _DelayedData.perform (dart:async/stream_impl.dart:573)
#6      _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8      _rootRun (dart:async/zone.dart:1517)
#9      _CustomZone.run (dart:async/zone.dart:1422)
#10     _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12     _rootRun (dart:async/zone.dart:1525)
#13     _CustomZone.run (dart:async/zone.dart:1422)
#14     _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

----------------------------------------
---------
[2025-03-15 15:05:41.092744]---------------------
FormatException: Invalid number (at character 1)

^

#0      int._handleFormatError (dart:core-patch/integers_patch.dart:135)
#1      int.parse (dart:core-patch/integers_patch.dart:53)
#2      ServiceUtils.checkForUpdates (package:spotube/utils/service_utils.dart:358)

Patrick010 avatar Mar 15 '25 14:03 Patrick010

"Download" doesnt work when marking all playlist songs (from tick box next to search) ... "Download" works when downloading individual songs -- or -- when "download all" without marking them (from tick box next to each song or select_all) 🧐


Works:

Image

Doesn't work:

Image


In case someone faces same issue just dont mark the songs and click 3 dots (vertical, next to search) and then "download all"

nikos445 avatar Mar 22 '25 07:03 nikos445

Wasn't working earlier but seems to be working again

PaulUK68 avatar Mar 26 '25 12:03 PaulUK68

"Download" doesnt work when marking all playlist songs (from tick box next to search) ... "Download" works when downloading individual songs -- or -- when "download all" without marking them (from tick box next to each song or select_all) 🧐

Works:

Image

Doesn't work:

Image

In case someone faces same issue just dont mark the songs and click 3 dots (vertical, next to search) and then "download all"

Thanks man. This worked and it is good enough for me. using v4.0.2

I am taking a flight soon and it was not working for quite some time.

I don't mind devs. thank you for your hard work. But checking the boxes does nothing.

Nothing Phone (2) Android 15 OS 3.0 - battery unrestricted

Peace

silvaf6 avatar Mar 31 '25 20:03 silvaf6