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

No music #1979

Closed
1 of 2 tasks
skruglov2023 opened this issue Oct 9, 2024 · 14 comments
Closed
1 of 2 tasks

No music #1979

skruglov2023 opened this issue Oct 9, 2024 · 14 comments
Labels
bug Something isn't working deployed This issue has been fixed/implmented and has been released

Comments

@skruglov2023
Copy link

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

  • I have searched the existing issues

Current Behavior

App doesn't play anything with youtube as source

Expected Behavior

Both devices should be playing music

Steps to reproduce

open app
choose a song
Song doesn't play, just keeps skipping over songs.
Can't set piped as source as it doesn't have the right song.

Logs

[2024-10-08 23:01:11.760585]---------------------
YoutubeExplodeException: Video cRkaPdfjzEk returned 403 (stream: 137
#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-10-08 23:01:11.767503]---------------------
Failed to open http://0.0.0.0:20620/stream/0RAn8LOs5QVMLy2xH30bUj.
#0 new AudioPlayerInterface. (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. (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. (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. (dart:async/zone.dart:1249)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)



[2024-10-08 23:01:22.398272]---------------------
YoutubeExplodeException: Video PAyOcwZggnA 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-10-08 23:01:26.650759]---------------------
YoutubeExplodeException: Video t4QK8RxCAwo returned 403 (stream: 137
#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 SiblingTracksSheet.build.. (package:spotube/modules/player/sibling_tracks_sheet.dart:114)

#5 Future.wait. (dart:async/future.dart:524)

#6 SiblingTracksSheet.build. (package:spotube/modules/player/sibling_tracks_sheet.dart:109)


[2024-10-08 23:01:27.949240]---------------------
YoutubeExplodeException: Video t4QK8RxCAwo returned 403 (stream: 137
#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 SiblingTracksSheet.build.. (package:spotube/modules/player/sibling_tracks_sheet.dart:114)

#5 Future.wait. (dart:async/future.dart:524)

#6 SiblingTracksSheet.build. (package:spotube/modules/player/sibling_tracks_sheet.dart:109)


[2024-10-08 23:01:44.152422]---------------------
[MediaKitError]
Failed to open http://0.0.0.0:11186/stream/1QEEqeFIZktqIpPI4jSVSF.
#0 new CustomPlayer. (package:spotube/services/audio_player/custom_player.dart:51)
#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. (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. (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. (dart:async/zone.dart:1249)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)


[2024-10-08 23:01:48.232320]---------------------
YoutubeExplodeException: Video 3dOx510kyOs returned 403 (stream: 135
#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-10-08 23:01:49.576333]---------------------
YoutubeExplodeException: Video PAyOcwZggnA 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-10-08 23:01:49.578265]---------------------
[MediaKitError]
Failed to open http://0.0.0.0:11186/stream/0bRNszTbTFLNlunAeh7eom.
#0 new CustomPlayer. (package:spotube/services/audio_player/custom_player.dart:51)
#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. (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. (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. (dart:async/zone.dart:1249)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)


[2024-10-08 23:01:49.942918]---------------------
VideoUnplayableException: Video '7wRHBLwpASw' 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: Please sign in
#0 StreamClient._getCipherStream (package:youtube_explode_dart/src/videos/streams/stream_client.dart:179)

#1 StreamClient._getStreams (package:youtube_explode_dart/src/videos/streams/stream_client.dart:137)

#2 Stream.toList. (dart:async/stream.dart:1351)

#3 StreamClient.getManifest. (package:youtube_explode_dart/src/videos/streams/stream_client.dart:37)

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

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

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

#7 SiblingTracksSheet.build.. (package:spotube/modules/player/sibling_tracks_sheet.dart:114)

#8 Future.wait. (dart:async/future.dart:524)

#9 SiblingTracksSheet.build. (package:spotube/modules/player/sibling_tracks_sheet.dart:109)


[2024-10-08 23:01:50.505436]---------------------
YoutubeExplodeException: Video 7wRHBLwpASw returned 403 (stream: 137
#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 SiblingTracksSheet.build.. (package:spotube/modules/player/sibling_tracks_sheet.dart:114)

#5 Future.wait. (dart:async/future.dart:524)

#6 SiblingTracksSheet.build. (package:spotube/modules/player/sibling_tracks_sheet.dart:109)


Operating System

Windows 11 23H2, Android 14

Spotube version

3.8.2

Installation source

Website (spotube.krtirtho.dev), Play Store (Android)

Additional information

So far I've tried reinstalling the app on both devices, signing in/out of spotify, changing to a different playlist or specific song. Nothing plays.

Self grab

  • I'm ready to work on this issue!
@skruglov2023 skruglov2023 added the bug Something isn't working label Oct 9, 2024
@SissioMisio
Copy link

SissioMisio commented Oct 9, 2024

Same here, running on Android

@hervoan
Copy link

hervoan commented Oct 9, 2024

same here, runing on android and windows.

@Sweet-Paw
Copy link

Same here, Windows

@s-b-repo
Copy link

s-b-repo commented Oct 9, 2024

please can we use invidious.io as a source

@XaviFortes
Copy link
Contributor

Same issue here, running windows.

@ThierryParis
Copy link

same for me.
Perhaps youtube has found how to detect spotube and limit our access ?

@skruglov2023
Copy link
Author

same for me. Perhaps youtube has found how to detect spotube and limit our access ?

If that's the case, that's 2 open source apps I've lost in under a month (the other being snapenhance)

If I had the time and more in-depth knowledge I'd help out with code to adjust to whatever "defense" the big corporations are trying to play, but unfortunately I'm in college and have very minimal app dev knowledge.

@DLAcoding
Copy link

DLAcoding commented Oct 9, 2024

Same here since today (on Windows)

[2024-10-09 09:17:52.556146]---------------------
YoutubeExplodeException: Video _qG6vnzmXZM returned 403 (stream: 137
#0      StreamClient.getManifest.<anonymous closure> (package:youtube_explode_dart/src/videos/streams/stream_client.dart:46)
<asynchronous suspension>
#1      retry (package:youtube_explode_dart/src/retry.dart:16)
<asynchronous suspension>
#2      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:949)
<asynchronous suspension>
#3      YoutubeSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/youtube.dart:85)
<asynchronous suspension>
#4      SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:117)
<asynchronous suspension>
#5      sourcedTrackProvider.<anonymous closure> (package:spotube/provider/server/sourced_track.dart:25)
<asynchronous suspension>
#6      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:348)
<asynchronous suspension>

----------------------------------------
[2024-10-09 09:17:54.020202]---------------------
YoutubeExplodeException: Video _qG6vnzmXZM returned 403 (stream: 137
#0      StreamClient.getManifest.<anonymous closure> (package:youtube_explode_dart/src/videos/streams/stream_client.dart:46)
<asynchronous suspension>
#1      retry (package:youtube_explode_dart/src/retry.dart:16)
<asynchronous suspension>
#2      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:949)
<asynchronous suspension>
#3      YoutubeSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/youtube.dart:85)
<asynchronous suspension>
#4      SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:117)
<asynchronous suspension>
#5      sourcedTrackProvider.<anonymous closure> (package:spotube/provider/server/sourced_track.dart:25)
<asynchronous suspension>
#6      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:348)
<asynchronous suspension>

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

@XaviFortes
Copy link
Contributor

XaviFortes commented Oct 9, 2024

It's because of this library
Hexer10/youtube_explode_dart#290
Updating youtube_explode_dart to 2.2.3 worked
Made this pr #1980

@XaviFortes
Copy link
Contributor

### before updating to 2.2.3 it happen in IOS after update i get muxed with empty data

      final video = await _yt.videos.get(youtubeUrl);
      final manifest = await _yt.videos.streamsClient.getManifest(video.id);
      final muxedStreams = manifest.muxed;
      final muxedUrls = muxedStreams.toList().toSet();
      log("muxedStreams: ${manifest.muxed}");

### the log => [log] muxedStreams: []

Spotube is not on iOS

@ThierryParis
Copy link

@XaviFortes , you should look at the download page :-)
https://spotube.krtirtho.dev/downloads

@XaviFortes
Copy link
Contributor

@ThierryParis My bad didn't know it was there as it doesn't appears on the readme and on the tags of the repo haha

@skruglov2023
Copy link
Author

Latest update 3.8.3 fixes problem.

@ThierryParis
Copy link

Thanks

@KRTirtho KRTirtho added the deployed This issue has been fixed/implmented and has been released label Oct 10, 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 deployed This issue has been fixed/implmented and has been released
Projects
Status: Deployed
Development

No branches or pull requests

9 participants