-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Can't play any song on MacOS #23
Comments
It says the $ flutter clean
$ flutter pub get
$ flutter run -d macos |
Tried, same error: flutter: [Player._playTrack()] (-1002) unsupported URL
flutter: #0 AudioPlayer._load (package:just_audio/just_audio.dart:778:9)
<asynchronous suspension>
#1 AudioPlayer._setPlatformActive.setPlatform (package:just_audio/just_audio.dart:1346:28)
<asynchronous suspension> |
That's a really weird bug. Can you debug following line in your IDE & check the spotube/lib/components/Player/Player.dart Line 144 in cb12376
|
The uri is present: |
Thanks. And that's seems to be ok since the currentTrack isn't yet converted into a YoutubeTrack. Can you debug this line & see if the spotube/lib/components/Player/Player.dart Line 159 in cb12376
|
The app crashes on this method (line 142):
I've added a It never reaches the line 156 |
I've made some changes there. Try pulling the new modifications & see if works now |
Now I'm getting a crash here spotube/lib/components/Player/Player.dart Line 160 in 8a1f3a3
with error: [Player._playTrack()] (-11828) Cannot Open |
How does the If this is the case then |
I've tried to add |
Can you provide me the URL you're getting in |
|
If I go with the browser without the .mp3 added I can listen to the song. |
I found out the actual issue is Mac OS & iOS CoreAudio not supporting WebMedia codec aka I've updated the code to pull only Please, pull from git & see if audio works now or not |
Now it works! Amazing work 💪🥳 |
Glad it worked |
Taiko2k/Tauon#717 (comment)
|
Describe the bug
Cannot play any song on MacOS
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The song begins
Installation Source/Method
flutter run -d macos
Desktop (please complete the following information):
Additional context
Error logs:
The text was updated successfully, but these errors were encountered: