-
-
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
Add Share menu item to local playlists #8542
Conversation
#1788 (comment) could have been used instead. YouTube allows anonymous playlists for upto 50 videos. Example playlist URL: http://www.youtube.com/watch_videos?video_ids=5aTwJEW_Se4,7zplexrqshk,i9ZzrGYEhhw |
@SameenAhnaf I choose a link per video to allow more flexible usage and easier implementation. If there's some interest I might add an option in the settings panel to choose what format to share the playlist. If there are more than 50 videos in the playlist I could generate multiple links. |
Ok, thanks. I actually need to turn on this toggle in content settings as there's a limit for characters in text messages. Toggle: |
A newline-separated text is shared
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rebased and pushed a commit myself, since there were various problems:
- There was no need to use a
isSharingPlaylist
boolean to prevent the user from tapping the button multiple times in a row. Such a check would be needed if the button modified the playlist, in which case pressing multiple times would lead to possible problems, but in this case if the user wants to share twice (in a row, before waiting for the previous share to be done), let them do whatever they want. - The list elements (loading, error panel, ...) were used to show loading/errors for the sharing process. This is not a good idea, since those elements have to do with the list itself, not the actions you perform on it, otherwise strange situations would occur. Also, there is no need to show a loading indicator for the share button, it probably only takes a few microseconds to complete.
- A new "Share playlist" string was added, but I think the already-translated "Share" works better and is more standard.
- The share button was being hidden in the three-dot menu, but it is better if it is shown, when there is room.
Thank you anyway @carmebar, and please tell me if these changes look good to you ;-)
Looks great. Thanks for taking the time to write such informative feedback. Much appreciated. |
This seems to generate a list of youtube links. Playing each individual link and adding them one by one to a youtube playlist is very tedious. I didn't find a way to add them all at once to a youtube playlist. Am I missing something? If not, the 50 links playlist implementation would be more helpful... |
@nlof this feature is intended to share all the videos from a playlist outside NewPipe in a simple list. To import videos into a Youtube playlist you can follow these steps: https://webapps.stackexchange.com/a/106340 (the 'add all' in the dropdown might have been removed...) |
@carmebar Thanks for that link. It's pretty cumbersome though, I don't like getting that techy, it's too time consuming and I don't know linux. There was however a google spreadsheet which might work... hopefully :) |
What is it?
Description of the changes in your PR
Before/After Screenshots/Screen Record
Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence