-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Show a warning before adding a duplicate video to a playlist #4186
Comments
Closing #1473 in favour of this. Alerting the user seems more useful than removing after the fact. |
Hi, I would like to work on this issue as a part of my project for Master Degree course (Software Construction), I discussed it with my instructor @atamrawi |
@ahmad-abdelbaset great! Go for it, nobody else has taken it up so far. Thank you :-) |
@Stypox I think there should { or would be great } to have an option to Both
As Batch remove duplicates from playlist would greatly help in eliminating duplicates from prevously made playlists by users (especially longer ones) from which manual removal is most difficult. |
@ShareASmile @ahmad-abdelbaset yeah, I agree, there should be:
|
Thank you @Stypox and @ShareASmile, it is really good idea, I will own this one. |
Hey, I didn't have time to add the feature of "Remove Duplicated", sorry. |
Any updates on implementing this? |
@infinitewaveparticle PR #5334 is in progress. |
@SameenAhnaf I can see that, but it's been 6 months since anything has been posted about it. The contributor @ahmad-abdelbaset was doing this for a course in school which would have in all likelihood ended in May or June at the latest. If he doesn't reply to this it may be safe to assume that it's abandoned. |
I would like to start working on this. I don't intend to reuse the implementation of @ahmad-abdelbaset, but I will take all of the feedback into account that he received in his PR. I hope this is ok. |
Yes Please, go ahead. Ahmad was working on it as part of his course work project and no longer working on it. I guess there is a lot of improvements can be made - What we proposed was something with a limited scope. |
I would say that if an item is already in a playlist, that playlist should be greyed out/not selectable, with a simple "(contains video)" added after the playlist name. But then it's possible that users who want to put a video multiple times in a playlist for some reason will complain. So maybe just the text in brackets and greying out, but not preventing selection of such a playlist. |
I agree with you that graying out is a good option for indicating that a video has already been added to a playlist. However, I'm not sure about the necessity of using brackets in this case. I feel like just graying it out would be a good enough indicator already. What do you think? |
It won't be intuitive enough by itself for a lot of users, I'm afraid. Also, "(already added)"? Seems better than the first option. It's inclusive of audios from SC, BC, etc. Or... an explainer text in its own section under the New Playlist button that literally states: "The greyed out playlists already contain this item." That way playlists with long names won't cause issues. |
I really like the idea of an extra section that explains this feature to the user. |
Note that we you may need to perform a check on already created playlist as they may have already contain duplicate videos. |
I have now created a pull request. |
I'm not sure if that landed... |
This comment explains why the PR got closed. However, we may come back to this implementation in the future if we need it. |
That PR had issues main concern was this in this comment
|
Guys, wdyt about this layout in screenshot? I prefer, showing only checkboxes instead of thumbnails. If you still think thumbnails are important, they should be greyed out and a tick mark should be placed in the middle. Unchecking any playlist should remove that video entirely from that playlist.
This round icon should always follow these gestures. |
I have just one question: When does this land???? (i know it's just an idea, but it's a great one. I vote for it!) |
@maverick74 On the right of each playlist name, a screenshot was added in #4186 (comment) |
@ShareASmile Yes, there were some problems with the implementation. But imo the conclusion was that we should wait for #4186 to be implemented to see if this would be really needed. However, if you think I should give it a try, I will gladly implement this as well. @SameenAhnaf I believe that this is an interesting design decision. However, I believe this would be out of scope for this issue, because it would entail a redesign of the entire dialog. I think it is worth having some discussions in a separate issue. If you plan to implement this soon, I can put this PR on hold for now. |
Yes, that would be awesome if you also implement that. please go ahead.
@Jared234 agree with you, let us keep it Simple here. |
I surely expressed myself in a bad way. What i really mean is to ask when does your idea get implemented and delivered to us, users? (i understand it's just an idea for now. My expression is just with the intention to say that i loved it and that i would like to get my hands on something similar right away) |
@maverick74 I read @Jared234 Many users have been complaining that Newpipe UI is changing too frequently. However, I'd leave the decision to other team members how your PR should be handled. I'm not a dev. So, I can't open a PR at this moment. Btw, do you have any plan to implement #7973? Not an order or instruction, I'm just curious to know. |
@SameenAhnaf Jared has already said that in 7973 last comment
That explains mostly everything he has intended to say. |
@ShareASmile Sure, I can do that. I'll create an additional PR on issue #5558 instead of adding it to this PR. I think this is the best solution. Do you agree? @SameenAhnaf Ok, good to know. |
Yes, agree. It would be best to separately deal with 2 PR's for each of these 2 issues. Take your time, Let PR's land one by one, i will be ready to test👍 |
After discussing this feature with @opusforlife2 in the PR, we decided to omit the "Duplicate Video Found" dialog and just use the grayed out playlists to indicate duplicates. However, we want to display a short toast after a user adds a duplicate to one of the playlists. It should say either "Duplicate added" or "Duplicate added x times". Do you think it is important for the user to know how many times this video is already in the playlist? Or do you think this information is unnecessary? Here is a short poll: |
Depending on translations, that might not be a one-line text. A toast can run on to a 2nd line without causing any layout issues. |
@opusforlife2 @Jared234 The toast should have DEDUPLICATE and REMOVE buttons. They are meant to to remove duplicates at the bottom and delete the video entirely from any playlist respectively. #1473 is already closed in favor of this issue. So, there should be an easy way to remove duplicates. |
I agree that we should allow the user to deduplicate their playlist. However, I don't think this is the right place to do it. For example, if you implement the deduplicate feature as a button only in the toast, you would have to add the video another time to be able to press this button. |
Right, makes sense. Sameen reopened it. So it is also available for someone else to take up if needed. |
Describe the feature you want
It would be nice to be alerted when trying to add a video to a playlist that the playlist already contains.
Is your feature request related to a problem? Please describe it
Additional context
How will you/everyone benefit from this feature?
It prevents you from accidentally adding a video to a playlist twice. Especially helpful for long playlists.
Edit: adding keywords for searching: duplicate/entry/entries/playlist/playlists/videos
The text was updated successfully, but these errors were encountered: