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

Endless song loading #1922

Closed
1 of 2 tasks
Salvatore-tech opened this issue Sep 26, 2024 · 6 comments
Closed
1 of 2 tasks

Endless song loading #1922

Salvatore-tech opened this issue Sep 26, 2024 · 6 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@Salvatore-tech
Copy link

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

  • I have searched the existing issues

Current Behavior

When trying to play any song,
The application does not play the song and continues with loading tracks from the queue.
There is no way to listen any song, even from the queue.
I also tried to disconnect from Spotify and to erase the cache.

Expected Behavior

The application should play the selected song

Steps to reproduce

No response

Logs

Logs
.runGuarded (dart:async/zone.dart:1209)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

----------------------------------------
---------
[2024-09-26 08:51:45.520341]---------------------
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:1407)
#2      _CustomZone.runUnary (dart:async/zone.dart:1308)
#3      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5      _DelayedData.perform (dart:async/stream_impl.dart:541)
#6      _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:617)
#8      _rootRun (dart:async/zone.dart:1391)
#9      _CustomZone.run (dart:async/zone.dart:1301)
#10     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#12     _rootRun (dart:async/zone.dart:1399)
#13     _CustomZone.run (dart:async/zone.dart:1301)
#14     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

----------------------------------------
---------
[2024-09-26 08:51:53.878490]---------------------
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:1407)
#2      _CustomZone.runUnary (dart:async/zone.dart:1308)
#3      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5      _DelayedData.perform (dart:async/stream_impl.dart:541)
#6      _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:617)
#8      _rootRun (dart:async/zone.dart:1391)
#9      _CustomZone.run (dart:async/zone.dart:1301)
#10     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#12     _rootRun (dart:async/zone.dart:1399)
#13     _CustomZone.run (dart:async/zone.dart:1301)
#14     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

----------------------------------------
---------
[2024-09-26 08:52:01.631079]---------------------
Null check operator used on a null value
#0      QueryTableExtensions.whereSamePrimaryKey (package:drift/src/runtime/query_builder/statements/query.dart:418)
#1      UpdateStatement.replace (package:drift/src/runtime/query_builder/statements/update.dart:133)
#2      UserPreferencesNotifier.reset (package:spotube/provider/user_preferences/user_preferences_provider.dart:95)
#3      _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1171)
#4      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:344)
#5      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:652)
#6      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:309)
#7      BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:279)
#8      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:167)
#9      GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:499)
#10     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:475)
#11     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:425)
#12     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:420)
#13     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:383)
#14     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:330)
#15     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:299)
#16     _rootRunUnary (dart:async/zone.dart:1415)
#17     _CustomZone.runUnary (dart:async/zone.dart:1308)
#18     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#19     _invoke1 (dart:ui/hooks.dart:330)
#20     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:442)
#21     _dispatchPointerDataPacket (dart:ui/hooks.dart:262)

----------------------------------------
[2024-09-26 08:52:18.513237]---------------------
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:1407)
#2      _CustomZone.runUnary (dart:async/zone.dart:1308)
#3      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5      _DelayedData.perform (dart:async/stream_impl.dart:541)
#6      _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:617)
#8      _rootRun (dart:async/zone.dart:1391)
#9      _CustomZone.run (dart:async/zone.dart:1301)
#10     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#12     _rootRun (dart:async/zone.dart:1399)
#13     _CustomZone.run (dart:async/zone.dart:1301)
#14     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

----------------------------------------
---------
[2024-09-26 08:52:53.316147]---------------------
[TrackNotFoundError] The Emptiness Machine - Linkin Park
#0      JioSaavnSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/jiosaavn.dart:60)
<asynchronous suspension>
#1      SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:139)
<asynchronous suspension>
#2      DownloadManagerProvider.addToQueue.<anonymous closure> (package:spotube/provider/download_manager_provider.dart:191)
<asynchronous suspension>
#3      DownloadManagerProvider.addToQueue (package:spotube/provider/download_manager_provider.dart:188)
<asynchronous suspension>
#4      TrackOptions.build.<anonymous closure> (package:spotube/components/track_tile/track_options.dart:290)
<asynchronous suspension>

----------------------------------------
[2024-09-26 08:53:42.920810]---------------------
Failed to open http://0.0.0.0:18925/stream/4LCCg3tHXF0raesCFzE7mL.
#0      new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:93)
#1      _rootRunUnary (dart:async/zone.dart:1407)
#2      _CustomZone.runUnary (dart:async/zone.dart:1308)
#3      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5      _DelayedData.perform (dart:async/stream_impl.dart:541)
#6      _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:617)
#8      _rootRun (dart:async/zone.dart:1391)
#9      _CustomZone.run (dart:async/zone.dart:1301)
#10     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#12     _rootRun (dart:async/zone.dart:1399)
#13     _CustomZone.run (dart:async/zone.dart:1301)
#14     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

----------------------------------------
---------
[2024-09-26 08:53:55.426879]---------------------
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:1407)
#2      _CustomZone.runUnary (dart:async/zone.dart:1308)
#3      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5      _DelayedData.perform (dart:async/stream_impl.dart:541)
#6      _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:617)
#8      _rootRun (dart:async/zone.dart:1391)
#9      _CustomZone.run (dart:async/zone.dart:1301)
#10     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#12     _rootRun (dart:async/zone.dart:1399)
#13     _CustomZone.run (dart:async/zone.dart:1301)
#14     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

----------------------------------------
---------

Operating System

Android 13

Spotube version

3.8.1

Installation source

Play Store (Android)

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@Salvatore-tech Salvatore-tech added the bug Something isn't working label Sep 26, 2024
@Aerya
Copy link

Aerya commented Sep 26, 2024

Same on Windows, Linux & iOS. Even with 3.8.0.

Not linked from DNS:
https://i.imgur.com/myNmpJM.png

@Salvatore-tech
Copy link
Author

Salvatore-tech commented Sep 26, 2024

I also tried to reinstall the application, but the playing of any song nor playlist is not working.

`[2024-09-26 09:03:13.432446]---------------------
[TrackNotFoundError] Move - Adam Port, Stryv, Keinemusik, Orso, Malachiii
#0 JioSaavnSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/jiosaavn.dart:60)

#1 SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:139)

#2 sourcedTrackProvider. (package:spotube/provider/server/sourced_track.dart:25)

#3 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-26 09:03:37.975692]---------------------
YoutubeExplodeException: Video LOXn1x-4E84 returned 403 (stream: 18
#0 StreamClient.getManifest. (package:youtube_explode_dart/src/videos/streams/stream_client.dart:46)

#1 retry (package:youtube_explode_dart/src/retry.dart:16)

#2 Future.timeout. (dart:async/future_impl.dart:949)

#3 YoutubeSourcedTrack.toSiblingType (package:spotube/services/sourced_track/sources/youtube.dart:145)

#4 YoutubeSourcedTrack.fetchSiblings (package:spotube/services/sourced_track/sources/youtube.dart:239)

#5 YoutubeSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/youtube.dart:63)

#6 SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:117)

#7 sourcedTrackProvider. (package:spotube/provider/server/sourced_track.dart:25)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-26 09:03:54.088060]---------------------
YoutubeExplodeException: Video CVFxCNHKPOM returned 403 (stream: 313
#0 StreamClient.getManifest. (package:youtube_explode_dart/src/videos/streams/stream_client.dart:46)

#1 retry (package:youtube_explode_dart/src/retry.dart:16)

#2 Future.timeout. (dart:async/future_impl.dart:949)

#3 YoutubeSourcedTrack.toSiblingType (package:spotube/services/sourced_track/sources/youtube.dart:145)

#4 YoutubeSourcedTrack.fetchSiblings (package:spotube/services/sourced_track/sources/youtube.dart:239)

#5 YoutubeSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/youtube.dart:63)

#6 SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:117)

#7 sourcedTrackProvider. (package:spotube/provider/server/sourced_track.dart:25)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-26 09:04:03.031254]---------------------
YoutubeExplodeException: Video FJJKa3SktIU returned 403 (stream: 18
#0 StreamClient.getManifest. (package:youtube_explode_dart/src/videos/streams/stream_client.dart:46)

#1 retry (package:youtube_explode_dart/src/retry.dart:16)

#2 Future.timeout. (dart:async/future_impl.dart:949)

#3 YoutubeSourcedTrack.toSiblingType (package:spotube/services/sourced_track/sources/youtube.dart:145)

#4 YoutubeSourcedTrack.fetchSiblings (package:spotube/services/sourced_track/sources/youtube.dart:239)

#5 YoutubeSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/youtube.dart:63)

#6 SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:117)

#7 sourcedTrackProvider. (package:spotube/provider/server/sourced_track.dart:25)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


`

@EL-HOUSS-BRAHIM
Copy link

The API is just out of control I think it's broken, something has changed from the Spotify YouTube API's, but I also tried other audio source but it still not working at all, wait I just changed some sittings and it worked I changed the audio source to piped but it's just playing one song over and over no matter the original song and other sources are not working.

@MrPrezAtambaev
Copy link

This is probably related to #1916 and should be fixed in the library causing the issue according to Hexer10/youtube_explode_dart#286

@BloodRaven0
Copy link

I've been experiencing this issue from roughly since 1.81 was released. Downgrading to older versions doesn't fix it, so it might indeed be an API issue. It's weird, because on my home wifi and PC where my internet is fast it almost never occurs, but with my slow mobile data Spotube is almost unusable. If I can help diagnose the problem somehow, let me know.

@KRTirtho
Copy link
Owner

Duplicate of #1916

@KRTirtho KRTirtho marked this as a duplicate of #1916 Sep 30, 2024
@KRTirtho KRTirtho closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2024
@KRTirtho KRTirtho added the duplicate This issue or pull request already exists label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

6 participants