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

YouTube Integration #1409

Open
z-huang opened this issue Aug 17, 2024 · 28 comments
Open

YouTube Integration #1409

z-huang opened this issue Aug 17, 2024 · 28 comments
Labels
enhancement New feature or request

Comments

@z-huang
Copy link
Owner

z-huang commented Aug 17, 2024

As there are many issues related to YouTube Music integration, I decided to move them into this issue. The features you’re asking contain as follows:

  • Sync liked songs, playlists, albums, artists, and history
  • Show YTM history
  • Personalized suggestion
  • Multiple channel support

It’s a huge work to implement this, from digging the API and considering data flow, to connecting the UI, and currently I don’t have a clear picture of how it should be like. Therefore, I need your suggestions, as detail as possible: How should local library and YTM library interact? Fully or partly?

@gmankab
Copy link

gmankab commented Aug 17, 2024

thank you for your very nice app ❤️

How should local library and YTM library interact? Fully or partly?

partialy in first commits, but the goal full integration

should we combine library songs and liked songs in order to be compatible with YTM library?

i think app should show 2 playlist, offline, and youtube music synced

offline one is always visible, and synced one is visible only if user logged in to youtube

i think here is a good roadmap for liked songs syncing commits:

  • synced playlist visible in app
  • make able playing music from synced playlist
  • liked shongs should be added to synced playlist if user logged into acoount, if not then add to offline playlist
  • allow to import csv with liked songs, exported from youtube music to any playlist (synced or offline one)
  • allow to export songs from any playlist (offline and online one) to csv file, the file should be in same syntax like official export from youtube music
  • sync all other playlist, besides liked songs
  • sync all liked albums
  • sync all liked artists

@gmankab
Copy link

gmankab commented Aug 17, 2024

how to use official export of liked songs from youtube music to csv:

@gmankab
Copy link

gmankab commented Aug 17, 2024

gyawun and simpmusic are good examles of apps with youtube music synchronisation

@Malopieds
Copy link
Contributor

Malopieds commented Aug 17, 2024

I think OuterTune (a fork of InnerTune) also has it.

@gmankab
Copy link

gmankab commented Aug 17, 2024

I think OuterTune (a fork of InnerTune) also has it.

wow, first time seeing it, thank you a lot!

@z-huang
Copy link
Owner Author

z-huang commented Aug 18, 2024

I think OuterTune (a fork of InnerTune) also has it.

I tried, and it looks like songs, albums and artists are two-way synced. But playlist sync is not supported yet. I will figure out how the dev implement it.

@z-huang
Copy link
Owner Author

z-huang commented Aug 18, 2024

When a user turns on YTM sync, what should we do with the original local database? Merge, be replaced, or hide?

@mikooomich
Copy link

But playlist sync is not supported yet.

What do you mean by this? I added a song to a playlist and it appears on my account.

If you're talking about creating a new playlist and adding to it, the syncing technically work, albeit some Ux issues (the create playlist dialog in the playlist screen isn't the updated version with the sync toggle, and playlists don't appear immediately right after creation)

Hi, I am one of the OuterTune devs

@z-huang
Copy link
Owner Author

z-huang commented Aug 18, 2024

@mikooomich I cannot add or delete songs for my YTM playlists.

@ruskcoder
Copy link

I cannot add or delete songs for my YTM playlists.

It is working for me, I just signed in, and switch to the old interface layout, and all my ytm playlists show up in the library section. I usually use OuterTune to add/remove songs from my playlist.

@gmankab
Copy link

gmankab commented Aug 18, 2024

When a user turns on YTM sync, what should we do with the original local database? Merge, be replaced, or hide?

good solution would be a "choose user" menu, that allow to choose betweeh offline user with old local database, and online user with new synced database

@Anonuser-code
Copy link
Contributor

When a user turns on YTM sync, what should we do with the original local database? Merge, be replaced, or hide?

Merge

@unseenlarks
Copy link

the 'account' section that leads to a user's YTM playlists, and the profile section found in settings that leads to the YTM home screen don't seem to be necessary, the first because those playlists could be on InnerTune's home screen after login, and the second because it shows the YTM UI which clashes as InnerTune's is much cleaner and easier to use.

if logged in, everything that belongs to the active YTM profile could be displayed on the main/home screen. if logged out, only local recommendations, albums, etc. would be there instead.

@Xisrr1
Copy link

Xisrr1 commented Aug 29, 2024

There is another Music streaming app called 'Echo', which has YT music integration, and does a much better job at syncing everything and using recommendations from your account instead of locally.

@z-huang
Copy link
Owner Author

z-huang commented Aug 30, 2024

There is another Music streaming app called 'Echo', which has YT music integration, and does a much better job at syncing everything and using recommendations from your account instead of locally.

Link please~

@gmankab
Copy link

gmankab commented Aug 30, 2024

https://github.com/brahmkshatriya/echo

@asifbagali
Copy link

java.lang.UnsupportedOperationException
at k8.g.u(Unknown Source:5)
at k8.g.e(SourceFile:10)
at z8.t.u(SourceFile:58)
at va.a.m(Unknown Source:8)
at lb.n0.run(Unknown Source:100)
at rb.a$a.run(SourceFile:82)

@NiceSapien
Copy link

Guys, is work being done on this? It would be very cool to have. Also, I had a question: Once this is implemented, would all my listening history from InnerTune appear in YouTube wrapped thingy at the end ot the year? This wrapped thingies is the reason I use spotify mods instead lol

@zettaexa
Copy link

Guys, is work being done on this? It would be very cool to have. Also, I had a question: Once this is implemented, would all my listening history from InnerTune appear in YouTube wrapped thingy at the end ot the year? This wrapped thingies is the reason I use spotify mods instead lol

Yes since YouTube is getting data for Recaps through your watch history, which as you can see in the starting post is being worked on to be synced with YTM

@1YuvrajS

This comment has been minimized.

@PhilippKosarev
Copy link

Personally I think it could be a good idea to have offline and online playlists; with the ability convert offline to online and vice versa. It's good for privacy since then it will only interact with the cloud when the user requests to.
Also just merging all playlists on login without asking the user could introduce a whole lot of issues and frustrated users (their asmr mommy roleplay playlist got leaked)

@hsp1020
Copy link

hsp1020 commented Oct 13, 2024

simpmusic app updates all.

Sync liked songs, playlists, albums, artists, and history
Show YTM history
Personalized suggestion

@aneesh1122
Copy link

simpmusic app updates all.

Sync liked songs, playlists, albums, artists, and history
Show YTM history
Personalized suggestion

Add songs to a local playlist and add some songs. It won't show you the newly added songs. You have to restart the app to see those songs.

There are many bugs in that app.

@siggi1984
Copy link
Contributor

siggi1984 commented Oct 19, 2024

https://github.com/Maloy-Android/Muzza

Here is another fork of Innertune that has YouTube Music integration. It's still in beta and some components are still missing. But it looks promising. Maybe you can check it out.

https://t.me/appmuzzaupdatesnews

@aneesh1122
Copy link

https://github.com/Maloy-Android/Muzza

Here is another fork of Innertune that has YouTube Music integration. It's still in beta and some components are still missing. But it looks promising. Maybe you can check it out.

https://t.me/appmuzzaupdatesnews

I've been searching for a yt music player which can

  1. sync likes and playlists with yt account
  2. list all the cached songs
  3. can set the cache limit
  4. has mix playlists in the home page

@siggi1984
Copy link
Contributor

https://github.com/Maloy-Android/Muzza
Here is another fork of Innertune that has YouTube Music integration. It's still in beta and some components are still missing. But it looks promising. Maybe you can check it out.
https://t.me/appmuzzaupdatesnews

I've been searching for a yt music player which can

1. sync likes and playlists with yt account

2. list all the cached songs

3. can set the cache limit

4. has mix playlists in the home page

Basically, you're looking for ViMusic with YTM integration. I haven't come across it yet.

@namename-123
Copy link

please add an option to view the YouTube ui directly, or better just to include what the site shows
I really want categories like "forgotten favorites" and "from the community" and I hope these are implemented in the future, thank you for the amazing app 🙏

@Maloy-Android
Copy link

Hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests