Add ability to share stream URL externally#3449
Add ability to share stream URL externally#3449jadkik wants to merge 8 commits intoTeamNewPipe:devfrom
Conversation
Stypox
left a comment
There was a problem hiding this comment.
Shouldn't you share the url for the currently selecred stream?
|
You are right, I'm not very familiar with the code base yet. I also moved and renamed the menu item and placed it below "Open in browser". How do you handle translation? Should I add a placeholder entry for the menu item in all |
You should only touch the |
|
Sorry, marked this as ready for review, but I just noticed it still breaks with SoundCloud items because Will look into it later to try and find a proper fix. |
|
Updated to work with audio and video streams. Tested it with some Soundcloud links, YouTube links and MediaCCC link. |
Stypox
left a comment
There was a problem hiding this comment.
Sorry for the delay, I forgot this PR needed to be reviewed.
Code looks good, and most importantly, it works :-D
Once the two small issues I pointed out are fixed, this is ready to go
wb9688
left a comment
There was a problem hiding this comment.
Just these really small things
|
@Stypox: The reason I said URL is that I think we use URL instead of link throughout the app |
|
Well, there is also the chance that people confuse stream to mean live stream, because that's the usual connotation. I suggest "Share media URL" to be unambiguous about what the option does. I'd prefer "Share video/audio URL" based on whether it's SoundCloud or one of the others, though. It's extra code, but worth it, if it can be implemented. |
I assume it wouldn't be hard to have both |
|
How can people know the resolution is audio free? With the external player setting there is that mute button, but no such thing here |
The selector shows whether the resolution has audio or not |
|
Only if you've set external player in settings, yes that's what I was saying. Otherwise people won't know |
|
Oh right, I see. I don't think there is much that can be done, a completely new ui would be needed because always showing the muted state would probably be confusing. I'd leave it as it is currently for now, in order not to complicate things too much. |
679bc75 to
2aeccc0
Compare
|
No progress since a year, no GitHub actions build and merge conflicts. Closing this for now. Feel free to reopen it when there is progress again. |
|
@litetex I'm willing to resolve the conflicts and get this merged but I need feedback from the reviewers about how to proceed. |
|
@dandare1980 Let members of the TeamNewPipe decide about it as rewrite of the app is on the cards.
if jadkik agrees to work on it again then |
|
@jadkik I apologise for your PR getting ignored. It's been 2 years, but are you still interested in this feature? If so, maybe it would be better to wait for the rewrite, because it will be sure to contain massive changes to the player code. Maybe that makes it easier or harder to obtain and show the direct stream URL, I don't know. @ShareASmile Thanks for bringing this to our attention! |
This comment was marked as off-topic.
This comment was marked as off-topic.
I haven't used my Kodi/RPi setup in a few months, so I don't immediately need this myself anymore.
I haven't kept up with the developments here - so I wouldn't know. I'll try to rebase this and see how messy it gets.
Good point, I do not know. I think I had made it pick the first option or some kind of preferred option based on existing code. I was building on top of what the "play in external player" did, so if that didn't work with some videos it would also fail when sharing that stream URL. |
What is it?
Description of the changes in your PR
Fixes the following issue(s)
Testing apk
debug.zipdebug.zip (updated 2020-05-10)
Agreement