TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.57k stars 3.07k forks source link

Add button to stream to TV #5060

Open igorcmelo opened 3 years ago

igorcmelo commented 3 years ago

Checklist

Describe the feature you want

Please, add a button to stream videos to TV, as YouTube mobile has it. I searched it a lot on the app and here on the issues, but didn't find anything similar to it. The share button also don,t show the option to share to my TV.

Alternatively, I was struggling trying to stream via external players such as VLC and XPR, but absolutely nothing worked as well.

Is your feature request related to a problem? Please describe it

No. It is not.

Additional context

Screenshot of YouTube stream button: IMG_20201201_181902_154

How will you/everyone benefit from this feature?

For anyone who has a TV, having to watch ads is VERY annoing. If I could stream from newpipe it would be great.

Zykino commented 3 years ago

This is a duplicate of #668 at least in spirit.

igorcmelo commented 3 years ago

This is a duplicate of #668 at least in spirit.

Thanks for the reply. But, isn't Chromecast a different thing? By the way is currently some way to stream to TV?

triallax commented 3 years ago

@igorcmelo check out https://github.com/TeamNewPipe/PipeCast.

Zykino commented 3 years ago

From the title alone you are right but from the last round of messages, the discussion has been more opened into "I want to cast to my TV/connected thing/kodi/...". Chromecast is referenced in the issue name because it was the first function to have been asked (and I suspect you have some kind of Android smart TV which is using chromecast behind the scene).

See https://github.com/TeamNewPipe/NewPipe/issues/668#issuecomment-711760071 and later messages.

igorcmelo commented 3 years ago

@igorcmelo check out https://github.com/TeamNewPipe/PipeCast.

So, I saw it, but as a newbie, I don't understand it.
Is it planned to future versions?

triallax commented 3 years ago

I don't really know.

ghost commented 3 years ago

Putting my two cents. I implemented chromecast support without play services with TubeLab

I use https://github.com/vitalidze/chromecast-java-api-v2

I first scan the Wi-Fi network to find chromecast https://github.com/stom79/TubeLab/blob/develop/app/src/main/java/app/fedilab/fedilabtube/MainActivity.java#L255

Then a listener adds discovered devices.

https://github.com/stom79/TubeLab/blob/develop/app/src/main/java/app/fedilab/fedilabtube/MainActivity.java#L211

For videos, the icon is displayed if chromecast devices have been found. https://github.com/stom79/TubeLab/blob/develop/app/src/main/java/app/fedilab/fedilabtube/PeertubeActivity.java#L721

It's not in prod yet, but I checked with Exodus-Privacy and no trackers have been found, also no playservices have been added.

My controller for chromecast currently only supports play/pause but I will add resolution and volume supports.

tdbe commented 3 years ago

So is there really no way to simply manually copy the youtube video link, go to a different app that is not Google's YouTube or a webpage that is google's youtube, paste the link and share that link to the tv? (yes, share the link to the tv's google youtube app, if there's nothing else that can take it)

Zykino commented 3 years ago

Well I tried to share the link to the kore app that was able to start the youtube app in my osmc/kodi. So share to an app that connect to a device linked to my TV.

TippyLion28 commented 3 years ago

I think this is covered by #105 and #668

edmundlaugasson commented 2 years ago

Currently using Skytube Extra for that purpose until Newpipe receives that long-awaited button.

DUSKR-09 commented 2 years ago

Currently using Skytube Extra for that purpose until Newpipe receives that long-awaited button.

Wich purpose? Casting to TV? I'm trying it but had no luck, how do you do it?

edmundlaugasson commented 2 years ago

Currently using Skytube Extra for that purpose until Newpipe receives that long-awaited button.

Wich purpose? Casting to TV? I'm trying it but had no luck, how do you do it?

Yes, casting to TV. That was also the initial topic title.

wtimme commented 11 months ago

I have installed NewPipe on my Fire TV Stick. Navigating the app using the TV's remote is cumbersome for me and takes a lot of time.

I also have NewPipe installed on my Android phone. Both devices are in the same WiFi. I would love to be able to control one app from the other. That would also include adding the option to play the current video on my TV.

I haven't had a look at the source code, but I would imagine that there could be a client/server communication between NewPipe instances. How difficult would it be to implement an MVP (ie. just playing the current video on the other instance)?

edmundlaugasson commented 3 months ago

@igorcmelo check out https://github.com/TeamNewPipe/PipeCast.

Unfortunately no releases there, cannot download. Also repository is currently archived and last development seems to happened ca 4 years ago.

WagnerGMD commented 4 weeks ago

4 years later (remain about 2 months), I confirm that's the kind of function which must be provide by NewPipe itself !

PS : Even VLC is able to do this since a long time ? Probably (none update until these last days) because I wasn't aware until a few months ago.

erebion commented 4 weeks ago

"Even VLC"... This is open source, people doing stuff for fun when they have time...

Also, we could pay for someone to do it or just do it ourselves, if there's a need to definitely have it, just saying. What does not help is putting pressure on devs until they burn out (*cough* xz *cough*)

On a more constructive note:

What might be of interest, though, is the fact that VLC use a FOSS library for that.

https://www.videolan.org/vlc/libvlc.html

WagnerGMD commented 3 weeks ago

What does not help is putting pressure on devs until they burn out [...]

You can't read carefully ? Because like I said @erebion we are waiting since almost 4 years ! That's why stop to lie because I had never put the pressure on them. They are not the same thing (neither the people) but you didn't probably read the date and the name from the first post !

By the way, when the people want something constructive, the least is to provide a little news from time to time (such as 2 weeks, 4 months, once by year etc). That's a huge trouble on GitHub because it's sound like they don't care at all (after a long while, despite my patience that's a sign of irrespect) !

PS : No I don't expect another reply from you (after 2 or 3 decaces, I had stop to repeat myself and I don't waste my time anymore to explain (always the same schema = useless).