z-huang/InnerTune

Album and Playlists API Changes

AbuTar opened this issue ยท 53 comments

Checklist

  • I am able to reproduce the bug with the latest debug version.
  • I've checked that there is no open or closed issue about this bug.
  • This issue contains only one bug.
  • The title of this issue accurately describes the bug.

Steps to reproduce the bug

Open Innertune
Press on Account
Select a Playlist

Expected behavior

Playlists load and I can download, add to queue, save to playlist etc....

Actual behavior

The playlist doesn't load and I can't do anything

Screenshots/Screen recordings

image

Logs

gxh

InnerTune version

0.5.3

Android version

14

Additional information

No response

Yep, same.

I can't sync or import new playlists.

Still able to play a playlist already downloaded though

Same here. I tested on several yt music streaming apps, impossible to load these pages anymore since yesterday. There are a lot of comments about it.

You can use New Pipe at the moment to play them, it works for me.

https://newpipe.net/#download

Just share the playlist from yt music with new pipe and the playlist will appear.

Happens in other situations too. Going to an artist's account, and tapping the arrow to see more albums (or anything else for that matter) causes this problem, and nothing is loading, nor I see any network traffic (shown through a setting on my phone, updated ev sec.), instead one has to know the album name beforehand to search, maybe an inital ~4-6kb incoming data and nothing later.
Screenshot_20240622-162253_InnerTune_1

Cropped image of attempting to find more albums from an artist

Hi all, youtube updated their api, that's why. I'm currently working on a fix. I have successfully fixed the albums and playlists not loading. Have you seen this bug anywhere else?

Edit:
Maybe change the title to something more explicit since it's not an import issue

Any ideas for a better title? Youtube API issue etc....

Any ideas for a better title? Youtube API issue etc....

What about Album and Playlists API changes?

Ok got it

Any ideas for a better title? Youtube API issue etc....

What about Album and Playlists API changes?

Will you push and release the update soon ? I wanted to show the app to a friend

Will you push and release the update soon ? I wanted to show the app to a friend

It's already pushed, I will try to release later today if I have time or tomorrow. If you just want to show it to a friend you can download this version (it's a bit more laggy because it's debug)

Will you push and release the update soon ? I wanted to show the app to a friend

It's already pushed, I will try to release later today if I have time or tomorrow. If you just want to show it to a friend you can download this version (it's a bit more laggy because it's debug)

Thanks for the hard work; I've been using the app as my go-to Spotify alternative. I'm interested though how you're able to roll out updates so quickly; I'm getting better at coding rn (start uni next year) and it seems like a very short amount of time spent on what seems like a big issue

I'm interested though how you're able to roll out updates so quickly; I'm getting better at coding rn (start uni next year) and it seems like a very short amount of time spent on what seems like a big issue

I'm finishing my third year of computer science in a 5 year diploma, but doing side project is what gets you more experience imo. But it's not always easy to do both at the same time. This issue was not that big, it can seems huge because of the size of the json sent from youtube music, but the more you deal with it, the "easier" it gets (even though it's never fun, they're doing everything they can to stop people from using third party apps)

Anyway, here is the link for the latest version.

Thanks! Hope everything goes well

Liked songs work for me now but my other playlists still aren't loading

Liked songs work for me now but my other playlists still aren't loading

You mean Top playlist and offline playlists? Or playlist you made yourself? Both are working for me, if you have screenshot/if you want to open issue in my repo

Liked songs work for me now but my other playlists still aren't loading

You mean Top playlist and offline playlists? Or playlist you made yourself? Both are working for me, if you have screenshot/if you want to open issue in my repo

Playlists I've made in youtube music (besides my liked songs), for example nina Mix won't play ( A playlist made in yt music) but liked songs does work
Screenshot_20240622_204543_InnerTune
Screenshot_20240622_204527_InnerTune
Screenshot_20240622_204520_InnerTune

Playlists I've made in youtube music (besides my liked songs), for example nina Mix won't play ( A playlist made in yt music) but liked songs does work

Oh you mean the one linked to your account? Yeah I haven't thought of those ones since I don't use google. I'll make sure to correct this

Thanks! It doesn't have to be immediate though, I'm OK with just my liked songs for a while. Feel free to take your time

Playlists I've made in youtube music (besides my liked songs), for example nina Mix won't play ( A playlist made in yt music) but liked songs does work

Oh you mean the one linked to your account? Yeah I haven't thought of those ones since I don't use google. I'll make sure to correct this

Do you know when you will be done with fixing that?

Checklist

  • I am able to reproduce the bug with the latest debug version.
  • I've checked that there is no open or closed issue about this bug.
  • This issue contains only one bug.
  • The title of this issue accurately describes the bug.

Steps to reproduce the bug

Open Innertune Press on Account Select a Playlist

Expected behavior

Playlists load and I can download, add to queue, save to playlist etc....

Actual behavior

The playlist doesn't load and I can't do anything

Screenshots/Screen recordings

image

Logs

gxh

InnerTune version

0.5.3

Android version

14

Additional information

No response

Same issue here....came here to check if it's been reported. Thanks OP

I had originally downloaded through droidify and didn't realize it was a much different version! I discovered the backup and restore option and decided to fresh install through github and WOWZERS! Totally different home screen than the droidify version, plus the bug fix woo! You have been busy and i LOVE this newer version even more! You rock!!! Thanks for all your work! Love this app!

Do you know when you will be done with fixing that?

This is now fixed.

Will this update be sent to droidify?

I don't handle that.

I downloaded your fix but when installing it says cannot install due to conflicting api package with my guess that it has to be updated through droidify itself?

F-Droid are building the packages with their keys iirc, and since F-Droid and I don't have the same key, long story short you can't.

I don't want to uninstall and lose all my settings and improted playlists etc :/ thanks for all your work! Love this app!

You can export them, it should save the playlists and settings (just not the downloaded songs). If you have another phone/emulator you can try to see if everything works well (there should be no problem if you export your data in the settings => backup and restore) .

In addition, to have an update on F-Droid you must have one from this repo and not mine. Plus F-Droid repos take some time to update, it's often better to take them directly from github or use apps that fetch it for you, for example Obtainium.

Oops I just updated my comment didn't realize you would respond so fast ๐Ÿค— all good! Thanks a million

Is this the top apk the one that's gully fixed
Screenshot_20240623_093946_Chrome

Oops I just updated my comment didn't realize you would respond so fast ๐Ÿค— all good! Thanks a million

Haha no problem !

Is this the top apk the one that's gully fixed

Yep, I wrote it in the Edit !

@Malopieds can you add yours to Izzyondroid repo?

Oops I just updated my comment didn't realize you would respond so fast ๐Ÿค— all good! Thanks a million

Haha no problem !

Is this the top apk the one that's gully fixed

Yep, I wrote it in the Edit !

Thanks a ton! Can I mark this issue as done now?

@Malopieds can you add yours to Izzyondroid repo?

I don't do this, I think it has to be the maintainer of izzy to do this. But since the package is the same I don't think he would.

Can I mark this issue as done now?

No, since it's not resolved here

I also have playlists issue. IT only shows the Album of the song I downloaded or seen, but doesn't show the album if didn't download it, played it or seen it.

Screenshot_20240623-142039
Screenshot_20240623-142046

I also have playlists issue. IT only shows the Album of the song I downloaded or seen, but doesn't show the album if didn't download it, played it or seen it.

Screenshot_20240623-142039 Screenshot_20240623-142046

Hello! @Malopieds has fixed the issue in his fork and released a working version I presume. Do check out his version! On a side note, @Malopieds would you mind going into a little more detail regarding the API changes from Youtube and the changes you made to the code (for educational purposes)? Appreciate it!

@Malopieds can you add yours to Izzyondroid repo?

I don't do this, I think it has to be the maintainer of izzy to do this. But since the package is the same I don't think he would.

I think you have to get in touch with izzy. I am not sure how this works, but izzy's repo is different from F-Droid, not so strict. @IzzySoft
I am sure you could resolve this, the app is in need of updates. Currently it's broken and unusable. I guess @z-huang doesn't have the time anymore to do it, so it's a blessing you could do the work.

On a side note, @Malopieds would you mind going into a little more detail regarding the API changes from Youtube and the changes you made to the code (for educational purposes)? Appreciate it!

I started a discussion on my repo, feel free to ask questions there

I think you have to get in touch with izzy. I am not sure how this works, but izzy's repo is different from F-Droid, not so strict. @IzzySoft
I am sure you could resolve this, the app is in need of updates. Currently it's broken and unusable. I guess @z-huang doesn't have the time anymore to do it, so it's a blessing you could do the work.

Let's see

@Malopieds thank you in advance, our hero. ๐Ÿซก

can you add yours to Izzyondroid repo?

Huh? Why? Why "add it"? It is there for more than 2 years already (since 2022-04-09). What do I miss here?

@IzzySoft I think that person is talking about @Malopieds's repo not this repo

Ah โ€“ sorry, had no time to follow the entire thread. Specific question then please ๐Ÿ˜‰

Ah โ€“ sorry, had no time to follow the entire thread. Specific question then please ๐Ÿ˜‰

I opened an issue on my repo for more clarity !

Album are not opening

@Nitin927 are you using @Malopieds's forked version?

Hey, is there a way to update f-droid, sorry if you talked about that, I didn't read everything.

Hey, is there a way to update f-droid, sorry if you talked about that, I didn't read everything.

Yeah they answered it... they don't control fdroid so no. But you can backup your settings and install the updated version above

Albums that aren't hearted still don't open on @Malopieds's version

Albums that aren't hearted still don't open on @Malopieds's version

I can assure you it does work. Please use the right version (the pre-release one, fix-login).

@Malopieds Thanks. For future reference, the fix-login APK is inside v0.5.7-rc2.

Albums that aren't hearted still don't open on @Malopieds's version

I can assure you it does work. Please use the right version (the pre-release one, fix-login).

It works does crash sometimes, but does work ๐Ÿ‘

It works does crash sometimes

How so? Could you fill an issue in my repo maybe?

It works does crash sometimes

How so? Could you fill an issue in my repo maybe?

Well for example when you swipe it away on the apps screen, or when you put a sleep timer and turn of screen after a minute it stops playing (bit doesn't crash) and can't play anymore.

@7heMech please open an issue on my repo with logs and screenshots/scresnrecord otherwise I can't and won't help.

Any chance of the fix being upstreamed?

Any chance of the fix being upstreamed?

Barely any. Only if @z-huang becomes available online.

Any chance of the fix being upstreamed?

Barely any. Only if @z-huang becomes available online.

If you open his profile you can see 4th of July commit in private repo

If you open his profile you can see 4th of July commit in private repo

๐Ÿ’€๐Ÿ’€๐Ÿ’€

@7heMech please open an issue on my repo with logs and screenshots/scresnrecord otherwise I can't and won't help.

Sorry for not getting back at you with this, but the issue has been resolved in your newer releases, thanks.

The bug has been fixed. Thanks @Malopieds for the fix!

Sorry guys, I've been busy recently and hardly have time to work on this project. I still plan to maintain the project, though. I'll check the issues for other bugs and make a release!