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

Songs Not Loading Due to Server Selection Choice #1921

Closed
1 of 2 tasks
JaivishChauhan opened this issue Sep 26, 2024 · 1 comment
Closed
1 of 2 tasks

Songs Not Loading Due to Server Selection Choice #1921

JaivishChauhan opened this issue Sep 26, 2024 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@JaivishChauhan
Copy link

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

  • I have searched the existing issues

Current Behavior

When fetching songs from different sources like YouTube, Piped, or JioSaavn, if any source fails to retrieve the song, it skips that track and moves to the next one without attempting to play it.

Expected Behavior

If fetching a song fails from one source (YouTube, Piped, or JioSaavn), it should attempt to retrieve the song from the other available sources. Only if all three sources fail should the system skip the song and move to the next one.If all three sources fail, the system should

Steps to reproduce

No response

Logs

Logs
<asynchronous suspension>
#7      sourcedTrackProvider.<anonymous closure> (package:spotube/provider/server/sourced_track.dart:25)
<asynchronous suspension>
#8      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:348)
<asynchronous suspension>

----------------------------------------
[2024-09-26 07:00:05.300054]---------------------
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)

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

Operating System

Android, Windows

Spotube version

V3.8.1

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@JaivishChauhan JaivishChauhan added the bug Something isn't working label Sep 26, 2024
@KRTirtho
Copy link
Owner

KRTirtho commented Oct 1, 2024

Duplicate of #1916

@KRTirtho KRTirtho marked this as a duplicate of #1916 Oct 1, 2024
@KRTirtho KRTirtho closed this as completed Oct 1, 2024
@KRTirtho KRTirtho added the duplicate This issue or pull request already exists label Oct 1, 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

2 participants