-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
Unable to play songs in the app #1748
Comments
same for me, innertune server things i suppose |
I am experiencing the same thing. |
I have the same problem |
I thought it used youtube's servers? |
Same here. |
Yeah, hoping it won't be just like the ViMusic app |
yes, but some apps like innertune still works even without account, but innertune doesn't work, with neither no account nor with one |
Yaa, same thing I can't play any songs & it's showing unknown error |
Yea fr I got a bit scared |
Yup, I'm having the same issue for the last two days now. Rebooted my phone, logged-out from my YouTube Music account, reinstalled the app, installed an older version — and the problem persists. |
The error also occurs for me, however I noticed that any songs that are downloaded or are in the cache are working, so I guess its something with getting the songs from youtube |
Same problem here |
Same issue. |
Same problem |
Same here |
I've had the same issue but this only started the latter half of yesterday the app worked fine in the morning, also all the songs I downloaded before all work fine. I think it's the problem of fetching songs from YouTube bit idk why |
Until the issue's resolved, I recommend using YouTube Music patched with Revanced. |
I have the same issue and only downloaded/cached songs play just fine other than that i get "unknown error" |
i have the same problem but only happen with songs i dont downloaded |
Plz solve it! We have faith! |
Same problem here too. |
Same problem. |
It is a query error to YouTube, it seems that the API does not work correctly and returns an error as shown below. |
It worked yesterday still fine for me but I am having the same issue now, it seems like Google is slowly blocking unauthorized access to their API |
Im going crazy rn, i got back to innertune two days ago (Used to use it in 2022) and this happens |
I have discovered that the error comes from the android key "ANDROID_MUSIC" which is in YoutubeCient, it is necessary to change it and you will be able to get the youtube streaming. |
We all hv the same issue at the same time... ayooo😭🙏 |
I am no techie. I just made a request to devs if that's possible, if yes then to increase upto it. Why don't you dump your facts somewhere else? That would also help! Thanks! |
me too, i was just asking not trying make fun of you.. I was just confused with that request. |
Hi. I made a PR which adds yt-dlp as a fallback to InnerTune. If you want to help with testing you can find the current debug apk here: With login it has to use the new fallback now which means it will be slower and uses more data. |
@gechoto I made another version that uses NewPipeExtractor instead of yt-dlp and it's working really fast for me and doesn't need to do duplicate requests like your solution (one for song info and other for the stream url from yt-dlp). The only thing missing is the logged in functionality, which I suppose can be implemented adding the cookie from InnerTune to all the NewPipeExtractor requests, similar to what you do in your PR. I will try to upload it tomorrow. |
@javdc cool I'm interested in seeing this. If you can get login to work with NewPipeExtractor this might be a good solution. |
I hope the issue will be fixed with new update. And don't forget to fix the discord rpc too in the next update. Thanks |
Hey @gechoto, I just uploaded the PR with NewPipeExtractor, can you try it? #1772 GitHub Action finished, here is the debug apk for testing: https://github.com/z-huang/InnerTune/actions/runs/12456971205/artifacts/2353818490 |
Can play rated E (explicit) song which is good. Phone: Infinix Smart 8 Pro |
Hello everyoneToday, work was done on the solution for the issue when loading music with logged-in accounts. Although I was busy the last two days, I kept an eye on things and managed to dedicate at least two hours today. Good news: Joss Red can now stream music from YouTube via the YouTube API V1 and V3, along with cookie injection. As mentioned earlier, this is a temporary solution that only supports up to 100 MB of server traffic. Exceeding that limit may affect the performance of this API. For developers who want to integrate this method, you will need to have the OAuth login system enabled. In this case, Joss Red does this for you and caches the information. Currently, the API allows the following actions: 1. Log inThe system will return your token and refresh token. To log in, visit the following link: 2. YouTube Music SearchOnce you've obtained successful access, you can search for anything on YouTube Music with your account. This is done using the following structure: Example: Searching for "8 AM" by Nicki Nicole: 3. Retrieve songs by artist IDWith the Joss Red API, you can retrieve an artist's songs using their ID. This can be done with the following structure: Example: Searching for Nicki Nicole's songs: 4. Stream a songNow, the main issue has been fixed. It is possible to obtain the streaming URL, but you need the "video ID." You can retrieve this ID using the search methods discussed earlier. In the case of Innertune, you can provide the "metaid" of the stream, as Joss Red detects whether you are using information from YouTube's API V1 or V3. Once the parameter is provided, a proxy tunnel will be created to give you a protected streaming URL, and it will return the audio as if queried from YouTube's API V1. It's important that the ID is correct. If it's not, everything will fail, cookies will be deleted, and the device's connection will be closed to prevent detection of API usage. The structure is as follows: Example: A song blocked by age restrictions: This will allow you to query music, but note that it may be a bit slow due to data restrictions. Regarding Joss MusicAn update will be developed to allow queries from Joss Red. This will be available as a "switch" in the app's content section, so the user can choose whether to use the Innertune version or the Joss Red version. I hope this solution helps some forks fix this error while they continue working on correcting it in Innertune. |
just use metrolist guys, it works flawlessly |
i think innertune is abandoned as well... havent seen the dev anywhere for months, even now when the app is bugging |
Use metrolists guys, I see z-huang is a contributor there |
I agree. this fork is just much better, i switched to it after the bug appeared and i was stunned really it's an amazing fork, now even after this bug will be fixed, I'm keep using it |
We are here to help the development of a free software by reporting bugs and helping to find the conditions for its arriva and help if you can to find a solution . This is really not the place for inappropriate promotion. I you are happy with an other software that's perfect for you |
https://github.com/DD3Boh/OuterTune seems to have made a temporary fix, it's a fork of this project and they just removed the account for streaming, this means you can't access content that's restricted by account (private) |
Yep, I just checked the code of the fork Metrolist because some people have been recommending it here and it just does the same, it removes login info to get the audio stream, so age restricted songs don't play but at least the rest works. |
Is there a way I can remove the account from the app? Will that fix it? I want to play just public, none age restricted music, the only reason I even logged in was to sync my playlists |
not working for me, says to login altough I am logged in |
not for me, tells me to log in although I am |
Is it fixed now? 12/24 |
I wasn't logged in, initially I could play some songs until finally, the song I was playing suddenly stopped playing, and the message "unknown error" appeared. Guys, it turns out we have to log in to be able to do it. |
Multiple approaches are in the works. You can test a build from my yt-dlp PR here: There is no decision yet on what will be the final solution. |
Is the link taken down. It shows page not found for me |
You have to be logged-in to download |
Hello, @gechoto : I've noticed that you're working on a version using yt-dlp. Do you think this could be the definitive solution for the current issues? I've been reviewing your code, and it looks like you've adapted it quite well. However, I've encountered an issue on my device: when trying to play music restricted by YouTube on its normal connection, the application crashes. I'm not sure if this is specific to my device or a general issue. Is there anything we can assist with to help you perform additional tests? |
Malopieds' Innertune fork is back up and running. Signing into Google does break song playback however, so I would suggest not doing that. |
Checklist
Steps to reproduce the bug
"1. Look up for the song in the search menu or select song from library"
"2. Select song to play"
Expected behavior
"song should play"
Actual behavior
Shows:"Unknown error"
Screenshots/Screen recordings
Logs
Unable to provide log file, apologies.
InnerTune version
0.5.10
Android version
Android 12
Additional information
Have tried reinstalling the app but the issue persists.
The text was updated successfully, but these errors were encountered: