-
Notifications
You must be signed in to change notification settings - Fork 56
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
Prevent adding duplicates to playlists. #1244
Comments
In the slide-in menu where you can add the video to playlists, there should also be some sort of indicator to specify which playlists already contain said video. |
Not seeing it. Can you share a screenshot? edit: Anyway, I'd say duplicates in the playlist is 99% most likely due to user error and not intentional so grayjay should at least warn the user that the video already exists in the playlist because now I'm going through my playlists and I see I have some videos there three or four times that I never knew that I added them. |
Yup. So the UI should make it clear that a video is already present in a playlist. Then, as you suggest, have detection and prevention of such duplicates. |
I think that duplicates should not be possible. |
I guess you're referring to this kind of UI element:
Another way would be to prevent the user of selecting the playlist in the first place, like make it greyed out in the previous menu. But otherwise yes, that would definitely be useful; the app is not "verbose" enough outside of the video player. |
Yes, exactly. |
Reading about toasts, snackbars would propably be more appropriate in this scenario. I do think that just making it impossible to add a duplicate to a playlist is not enough. It puts a lot of pressure on the developer to remove every way of adding duplicates to a playlist. And if one got in, then it would still need removed. I think duplicates should be reomoved "on sight". The thing is, some people want duplicates, ie comments in #305. Some people want to have a video repeated multiple times for whatever reason. They want to sleep, or they really like a song. So there should be a setting to enable duplicates. That setting would enable a option to remove duplicates from a playlist after selecting it, as well as removing your idea of restriction on adding duplicate videos to playlists. And some playlists could be set as duplicate free, to re-enable the block for them. Or the setting could be less influential and there could be a duplicate enabled playlist button, instead of most of what I just said. Obviously the removal of duplicates automatically would not happen for duplicate enabled playlists. Also, in whatever world, I think that the queue should be duplicate enabled by default. Also I think that part of the duplicate issue would be solved with more verbosity, so you know the add succeeded, and don't add a video multiple times in a row. |
What happened?
When adding a video to a playlist, show some indication if the video already exists in that playlist to prevent the user from adding the same video multiple times.
Happened to me already a couple of times now and I have to go through my playlist to check for duplicates.
Grayjay Version
all
What plugins are you seeing the problem on?
All
Plugin Version
No response
When do you experience the issue?
Relevant log output
No response
The text was updated successfully, but these errors were encountered: