InnerTune icon indicating copy to clipboard operation
InnerTune copied to clipboard

Album and Playlists API Changes

Open AbuTar opened this issue 1 year ago • 47 comments

Checklist

  • [X] I am able to reproduce the bug with the latest debug version.
  • [X] I've checked that there is no open or closed issue about this bug.
  • [X] This issue contains only one bug.
  • [X] 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

AbuTar avatar Jun 21 '24 22:06 AbuTar

Yep, same.

I can't sync or import new playlists.

Still able to play a playlist already downloaded though

BioTheHuman avatar Jun 22 '24 06:06 BioTheHuman

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.

Richard38907 avatar Jun 22 '24 07:06 Richard38907

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

1seco avatar Jun 22 '24 08:06 1seco

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

Malopieds avatar Jun 22 '24 16:06 Malopieds

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

AbuTar avatar Jun 22 '24 16:06 AbuTar

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

What about Album and Playlists API changes?

Malopieds avatar Jun 22 '24 16:06 Malopieds

Ok got it

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

What about Album and Playlists API changes?

AbuTar avatar Jun 22 '24 16:06 AbuTar

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

Deemitry88 avatar Jun 22 '24 17:06 Deemitry88

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)

Malopieds avatar Jun 22 '24 17:06 Malopieds

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

AbuTar avatar Jun 22 '24 17:06 AbuTar

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.

Malopieds avatar Jun 22 '24 18:06 Malopieds

Thanks! Hope everything goes well

AbuTar avatar Jun 22 '24 18:06 AbuTar

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

AbuTar avatar Jun 22 '24 19:06 AbuTar

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

Malopieds avatar Jun 22 '24 19:06 Malopieds

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

AbuTar avatar Jun 22 '24 19:06 AbuTar

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

Malopieds avatar Jun 22 '24 19:06 Malopieds

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

AbuTar avatar Jun 22 '24 19:06 AbuTar

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?

Name-Yug avatar Jun 23 '24 03:06 Name-Yug

Checklist

  • [x] I am able to reproduce the bug with the latest debug version.
  • [x] I've checked that there is no open or closed issue about this bug.
  • [x] This issue contains only one bug.
  • [x] 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

Germsicle avatar Jun 23 '24 08:06 Germsicle

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!

Germsicle avatar Jun 23 '24 08:06 Germsicle

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.

Malopieds avatar Jun 23 '24 08:06 Malopieds

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

Germsicle avatar Jun 23 '24 08:06 Germsicle

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

AbuTar avatar Jun 23 '24 08:06 AbuTar

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 avatar Jun 23 '24 09:06 Malopieds

@Malopieds can you add yours to Izzyondroid repo?

d4f5409d avatar Jun 23 '24 09:06 d4f5409d

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?

AbuTar avatar Jun 23 '24 09:06 AbuTar

@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

Malopieds avatar Jun 23 '24 10:06 Malopieds

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

MehRad13 avatar Jun 23 '24 12:06 MehRad13

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!

wglee99 avatar Jun 23 '24 12:06 wglee99

@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.

d4f5409d avatar Jun 23 '24 12:06 d4f5409d