WalsGit / Add2WL-for-Invidious

A userscript for Invidious that adds an "add to watch later" button on video thumbnails
MIT License
5 stars 0 forks source link

Remove video in a playlist from video player page #4

Open anthony-robin opened 6 months ago

anthony-robin commented 6 months ago

Hey, here is another idea I got to improve the Invidious playlist feature :)

Currently it is only possible to add a video to a playlist from a player video page and we cannot remove it:

Capture d’écran 2024-05-07 à 13 56 19

It would be amazing if this action could acts as a toggle (if video is already in playlist it removes it) instead of adding it a scond time OR if a second form could be added to permit user to remove directly from playlist.

Do you think it is a good case that could be part of your script ? Thank you :)

WalsGit commented 6 months ago

Hi,

it's odd that it's not a default feature in IV. I know that the whole "add to Watch Later" won't be implemented for now by the IV, because they said it needed a change in their database, so that's why I decided to create this script ; but I don't think it should be too hard for them to add the remove option natively. So, first, my suggestion is to open an issue asking for this enhancement with them so that they could look into it.

That being said, that is not a priority form me but I will look into it. I just noticed that my add/remove button doesn't appear in the watch later playlist thumbs in the video page view (when watching a video from your playlist). that would be a way to remove a video from that page using my script, so fixing that would be my priority for now.

Thanks again for your suggestion and feedback.

anthony-robin commented 6 months ago

I agree that having this toggle in Invidious core would be better. There is already an open issue on the project to implement the feature, but as for now, it is still in pending state.

Good catch on the video page thumb, I didn't notice it before 😄