futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
724 stars 44 forks source link

[Feature Request] Automatic sync with YouTube playlists #857

Open MoldyTexas opened 6 months ago

MoldyTexas commented 6 months ago

Perhaps this one could be against Grayjay's developmental ethos, but will it be possible to create a mechanism where playlists from YouTube are automatically synced with Grayjay playlists?

For example: Let's say I get a notification over on YouTube regarding a video upload. As I usually do with my daily consumption of content there, I just press "add to watch later" from the notification and then get to it sometime later. Now, I'd really love to have the option to automatically sync this folder with Grayjay, and not having to add videos to the watch later playlist on the Grayjay app itself because I often watch these videos on my PC.

In my particular use case, this one feature of Grayjay is stopping me from completely shifting to this app over YouTube (and thus not paying for yt premium) because this sync is significant to my usage.

Thank you the team of engineers at FUTO for this magnificent app!

MoldyTexas commented 6 months ago

Gave it a bit of thought and it doesn't seem like an impossible task to achieve. They need a mechanism that can make high frequency API calls to the particular account's data, which shouldn't be a problem because that's exactly what they do when importing playlists and everything. I may also be wrong as I haven't been through the code ofc, but I really hope this is how it can be implemented.

seltinusjulio commented 6 months ago

importing playlists are even not working

Werner1201 commented 3 months ago

Truthfully the importing of playlists are not working, but for some reason I can't edit the source code of the plugin, because I have found the error, the URL to fetch the playlists changed. It's not /playlist or /playlists. Now it is /feed/playlists ![Uploading 17182405389787212436670355751025.jpg…]()

It is an edit of just changing the URL for the fetch function and I think it is on a .js or a Jason file with the Constants

adam-devel commented 3 months ago

792 may be relevant, it talks about syncing in the opposite direction compared to this issue

RSXEnthusiast commented 1 month ago

This would also be useful for creator created playlists. I shuffle a sketch comedy playlist while I sleep. This playlist is updated by the creator on YouTube, but on GrayJay I have to update my version of it manually.

I think a better solution for MoldyTexas' use case would be to add a Watch Later button to the notification, like YouTube includes in their notification, in combination with the upcoming desktop client, but syncing playlists would also be a solution.