Comments (27)
Hi folks, I'm the author of Playlet, and I've recently been exploring "the space" for making casting easier. To kinda sum up things
On the phone we have as options
- NewPipe
- ReVanced (which is essentially the official app?)
- Official YouTube app
And on TV we have
I was exploring how the DIAL protocol works (Link with Wi-Fi option) and essentially I believe NewPipe does not need to implement a special protocol for it to be able to cast to to all 3 TV apps.
In fact I've been prototyping on to cast from the Official YouTube mobile app (and even from the browser) to Playlet.
I have a working "work-in-progress" prototype in Playlet here iBicha/playlet#276, and I have shared my findings and approach in yuliskov/MediaServiceCore#10 because I think the same implementation can work with SmartTube.
So if both SmartTube and Playlet implement the DIAL spec (SmartTube already has the LoungeAPI aka casting) then all NewPipe need to do is to integrate the LoungeAPI to be able to cast to YouTube. Then all the apps listed would be speaking the same protocol and become compatible.
Edit: I believe the ConnectSDK has a DIAL implementation (and many more things) so I guess it can be used find the TVs in the local network
from newpipe.
@opusforlife2 This attitude is very unhelpful and the suggestion is not related to the issue. please stop.
from newpipe.
This is a lot more complicated than it really needs to be. Quality of life would be improved if NewPipe just supported the TV linking protocol.
Yes, can we please drop the side discussions about KDE Connect and other kludges? They really have no place here, this isn't a tech support chat.
Also, adding the 'niche' tag is just petty. The sheer number of tickets, reddit posts, and google search results for casting from newpipe clearly says otherwise.
from newpipe.
Yes, but you could be a dear and help test this for all the other people who might want something similar and would be happy with a compromise solution.
from newpipe.
You can use Open Link With, which is a "browser" whose sole purpose is redirecting URLs to apps. Make it the default browser on the TV, it makes life better.
That said, this won't solve the issue that the kde connect app needs to be open on the TV; I've tried the LocalSend app, and it has the same issue. It's just doesn't seem possible to send an URL to the TV in a generic way that would work while NewPipe is open. Switching apps on the TV is not as easy as on a phone, especially for KDE connect which is not added to the home screen and has to be accessed through settings.
from newpipe.
Have you tried using KDE Connect or a similar app?
Not sure I understand how KDE Connect helps pair SmartTube running on Android TV with NewPipe running on my phone. SmartTube can pair with the stock YouTube app on the phone. I'm proposing there should be a way to pair SmartTube with NewPipe also so that one can cast from NP to ST, I'm not looking for alternate solutions to send URLs between devices.
from newpipe.
Yes, can we please drop the side discussions about KDE Connect and other kludges?
Me personally... I just wanted to try what a NewPipe Development/Team Member suggests, and if it works at all.
It was janky and not working most of the time.
They really have no place here, this isn't a tech support chat.
I suppose, that even though I joined the matrix channel, I was still getting answers here. People reading this can now safely dismiss this "(non-)workaround" right away.
My 2 cents is that it was for the better leading the "trying of alternatives" discussion right in this chat 😉.
from newpipe.
Make it easy to flick video from phone to TV
This is what you asked for. I gave a solution for it. Try it and see.
from newpipe.
I don't see what's harmful about helping out the community. But your wish, I guess. ¯\_(ツ)_/¯
from newpipe.
@kubo6472 Are you able to share the video URL from your device to SmartTube on the TV? Does it do anything? Best case scenario it should automatically open SmartTube if it's configured to handle the shared URL intent.
from newpipe.
Have you tried using KDE Connect or a similar app?
from newpipe.
I think there are also other ways to do it, using something like BubbleUPnP or PlainUPnP, Yatse/Kore, etc.
I'm looking for a direct integration without adding more apps (and issues).
from newpipe.
I'd like a guide on the KDE connect thingy. I played with it, but I'm lost how to actually cast anything to my TV. Am I missing something?
from newpipe.
from newpipe.
KDE Connect can't open SmartTube directly
Ah, that sucks. Does the SmartTube app open if you click a YT video link in another (non-browser) app, though? It's possible that it hasn't registered the intent handling with the OS.
from newpipe.
Tried newpipe too, yeah, it does open, however it only works when kde connect as an app, is open.
I have no idea if the intent is registered with the browser or not, but it goes like: KDE -> Firefox -> Newpipe/SmartTube
from newpipe.
Try removing Firefox. Then the intent might pass from KDE to Newpipe directly. And if that's the case, then someone could open a feature request with SmartTube to register its URL intents.
from newpipe.
Without Firefox just nothing happens. I tried having only one app installed at a time.
from newpipe.
What's your OS version?
from newpipe.
from newpipe.
Have you gone into the OS app settings and manually enabled each URL for SmartTube? Does it even have that option?
from newpipe.
from newpipe.
Oh. TV OS doesn't have this setting? https://9to5google.com/2021/04/21/android-12-verified-links/
from newpipe.
from newpipe.
Alright. Nothing for it but going the whole way then. Thanks for testing!
from newpipe.
This is a lot more complicated than it really needs to be. Quality of life would be improved if NewPipe just supported the TV linking protocol.
from newpipe.
You can use Open Link With, which is a "browser" whose sole purpose is redirecting URLs to apps. Make it the default browser on the TV, it makes life better.
That said, this won't solve the issue that the kde connect app needs to be open on the TV; I've tried the LocalSend app, and it has the same issue. It's just doesn't seem possible to send an URL to the TV in a generic way that would work while NewPipe is open. Switching apps on the TV is not as easy as on a phone, especially for KDE connect which is not added to the home screen and has to be accessed through settings.
I have a question that I might try later: what if I put Firefox mobile on the TV, login with my account, then use the Open Link With, or Firefox directly to launch NewPipe/SmartTube by sending the tab with the YouTube video?
from newpipe.
Related Issues (20)
- errors go over minimized videos HOT 1
- Polishing UI to Material 3 OR Flutter. HOT 1
- Full screen bug in Google TV. HOT 1
- Comments don't display properly under some videos HOT 2
- Shorts missing from feed despite being enabled from feed settings HOT 2
- Error HOT 1
- Overscan on videos in fullscreen HOT 1
- Music Type Videos Won't Load HOT 1
- [bug] "YouTube Music" album thumbnails get erased after a few hours HOT 1
- Auto refresh subscription feed. HOT 3
- Some songs on SoundCloud won't load
- MP3 version download for audio HOT 3
- Unable to resolve source from stream info HOT 1
- Loading of Video failed - java.lang.NullPointerException: Attempt to invoke interface method 'int java.lang.Comparable.compareTo(java.lang.Object)' on a null object reference HOT 1
- Migrate project dependencies to using Version Catalogs
- Release v0.27.0 (please TEST!) HOT 53
- Share to YouTube option on Mobile (Android) HOT 7
- Silently fails most downloads HOT 3
- Pin The Subscription Channel HOT 2
- Videos play at faster speed than 1.0x even without changing settings HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newpipe.