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 stuck at 0:00 #630

Closed
1 task done
Happyfeet01 opened this issue Aug 15, 2023 · 13 comments
Closed
1 task done

Songs stuck at 0:00 #630

Happyfeet01 opened this issue Aug 15, 2023 · 13 comments
Labels
bug Something isn't working

Comments

@Happyfeet01
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

hello,

I have installed on my Google Pixel 6 Pro Spotube. Yesterday I have played some songs, but now I have no sound in this App. I can see the music playing but I can't hear anything. The logs show the following

id: TQ3A.230705.001.A1
board: raven
bootloader: slider-1.2-9883526
brand: google
device: raven
display: TQ3A.230705.001.A1
fingerprint: google/raven/raven:13/TQ3A.230705.001/10216780:user/release-keys
hardware: raven
host: android-build
isPhysicalDevice: true
manufacturer: Google
model: Pixel 6 Pro
product: raven
tags: release-keys
type: user
versionBaseOs: 
versionCodename: REL
versionIncremental: eng.nobody.20230715.190317
versionPreviewSdk: 0
versionRelease: 13
versionSdk: 33
versionSecurityPatch: 2023-07-05
------- APP INFO -------
environment: release
version: 3.0.1
appName: Spotube
buildNumber: 97
packageName: oss.krtirtho.spotube
---------- ERROR ----------
DioException [bad response]: The request returned an invalid status code of 504.
------- STACK TRACE -------
#0      DioMixin.fetch.<anonymous closure> (package:dio/src/dio_mixin.dart:507)
#1      _RootZone.runUnary (dart:async/zone.dart:1661)
#2      _FutureListener.handleError (dart:async/future_impl.dart:165)
#3      Future._propagateToListeners.handleError (dart:async/future_impl.dart:796)
#4      Future._propagateToListeners (dart:async/future_impl.dart:817)
#5      Future._completeError (dart:async/future_impl.dart:592)
#6      _SyncCompleter._completeError (dart:async/future_impl.dart:51)
#7      _Completer.completeError (dart:async/future_impl.dart:23)
#8      Future.any.onError (dart:async/future.dart:620)
#9      _RootZone.runBinary (dart:async/zone.dart:1666)
#10     _FutureListener.handleError (dart:async/future_impl.dart:162)
#11     Future._propagateToListeners.handleError (dart:async/future_impl.dart:796)
#12     Future._propagateToListeners (dart:async/future_impl.dart:817)
#13     Future._completeError (dart:async/future_impl.dart:592)
#14     Future._chainForeignFuture.<anonymous closure> (dart:async/future_impl.dart:537)
#15     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#16     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
------- CUSTOM INFO -------```

### Expected Behavior

If the error is fixed, you should be able to play the music without problems. 

### Steps to reproduce

1. Open the App
2. Sign up for Spotify
3. Try playing music 

### Operating System

Android

### Spotube version

13

### Installation source

GitHub Releases (Binary)

### Additional information

_No response_
@Happyfeet01 Happyfeet01 added the bug Something isn't working label Aug 15, 2023
@KRTirtho
Copy link
Owner

Piped APIs are down due to an recent YouTube API change that returns 403 (Forbidden) error for any YouTube video/audio stream
Same issue was on unofficial youtube API client (YouTubeExplode.dart) old version. Luckily, youtube _explode.dart fixed the issue in their library & the streams are now working

So update is now available on Nightly
Just go to "Setting" > "API Type" & change it to "YouTube" from "Piped" to get everything working again

@KRTirtho KRTirtho pinned this issue Aug 15, 2023
@KRTirtho KRTirtho changed the title no sound Songs stuck at 0:00 Aug 15, 2023
@KRTirtho
Copy link
Owner

KRTirtho commented Aug 15, 2023

The piped API fix depends on https://github.com/TeamPiped/Piped developers. They need to fix & update the backend

@Happyfeet01
Copy link
Author

Okay thanks, good to know. 👍

@Happyfeet01
Copy link
Author

@KRTirtho Maybe this Fix? TeamNewPipe/NewPipeExtractor#1084

@KRTirtho
Copy link
Owner

Not sure

@jazznfunk
Copy link

Thanks! I can confirm that Nightly + Piped => Youtube works on Linux Mint 21 and Android 12 phone!

@TBNRDev
Copy link

TBNRDev commented Aug 15, 2023

Hello, looks like it's not fixed yet but the simple fix is to change the Piped Instance to the working API of Piped, the working one that i found is api.piped.ProjectSegFau.lt (projectsegfau.lt us)

@Vitalii-code
Copy link

The "projectsegfau.lt" is working for me, thank you

@Devious3901
Copy link

Piped APIs are down due to an recent YouTube API change that returns 403 (Forbidden) error for any YouTube video/audio stream Same issue was on unofficial youtube API client (YouTubeExplode.dart) old version. Luckily, youtube _explode.dart fixed the issue in their library & the streams are now working

So update is now available on Nightly Just go to "Setting" > "API Type" & change it to "YouTube" from "Piped" to get everything working again

TBH i cant listen music on differents API, idk why, im just installed Spotube, and thying listening. I choose one right API, and then he broken

@TBNRDev
Copy link

TBNRDev commented Aug 17, 2023

try projectsegfau.lt us server

@KRTirtho
Copy link
Owner

In my case drgns.space also worked if anyone needed in case

@KRTirtho
Copy link
Owner

KRTirtho commented Aug 19, 2023

v3.1.0 now uses YouTube API by default now. Also it'll warn user if it detects any of the Piped instance doesn't work

@KRTirtho
Copy link
Owner

I'm closing this issue as it's fixed & released
piped related issues can be tracked in https://github.com/TeamPiped/Piped repository

@KRTirtho KRTirtho unpinned this issue Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Deployed
Development

No branches or pull requests

6 participants