NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

Add button to stream to TV

Open igorcmelo opened this issue 5 years ago • 18 comments

Checklist

  • [x] I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
  • [x] I have read the contribution guidelines given at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md.
  • [x] This issue contains only one feature request. I will open one issue for every feature I want to request.

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.

igorcmelo avatar Dec 01 '20 21:12 igorcmelo

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

Zykino avatar Dec 01 '20 22:12 Zykino

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?

igorcmelo avatar Dec 02 '20 05:12 igorcmelo

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

triallax avatar Dec 02 '20 06:12 triallax

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.

Zykino avatar Dec 03 '20 11:12 Zykino

@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?

igorcmelo avatar Dec 03 '20 23:12 igorcmelo

I don't really know.

triallax avatar Dec 04 '20 07:12 triallax

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.

ghost avatar Dec 07 '20 19:12 ghost

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)

tdbe avatar Mar 28 '21 20:03 tdbe

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.

Zykino avatar Mar 28 '21 21:03 Zykino

I think this is covered by #105 and #668

TippyLion28 avatar Oct 07 '21 10:10 TippyLion28

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

edmundlaugasson avatar Apr 10 '22 17:04 edmundlaugasson

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?

DUSKR-09 avatar Aug 07 '22 18:08 DUSKR-09

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.

edmundlaugasson avatar Aug 07 '22 22:08 edmundlaugasson

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)?

wtimme avatar Dec 09 '23 20:12 wtimme