TeamNewPipe / NewPipe

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

Play YT content via Kodi not working #10503

Open DudeOnInternet opened 11 months ago

DudeOnInternet commented 11 months ago

Checklist

Affected version

n/a

Steps to reproduce the bug

See discussion: https://github.com/TeamNewPipe/NewPipe/discussions/10269

In short: Whenever I want to watch a video when being in my living room, I use the "Play with Kodi" feature. This will first activate the Kore Kodi remote control app on my phone. This normally than automatically start the YT app on kodi, and then I can watch the selected video on my large screen television. This used to work till lately, in the mean time say 6 months ago, now nothing happens anymore on Kodi. When I now press "Play with Kodi" this still activates the Kodi remote control app on my phone, and than nothing happens any more on Kodi. I have tried Kodi on my RPI4 and Raspbian OS, and I have tried Kodi on an Odroid N2+ using CoreELEC, and on both it is failing.

Not sure whether this is a real NewPipe issue, I suspect it to be a youtube API issue, hence my initial question whether there perhaps are alternatives for circumventing the YT API, but after some back and forth communication on the subject opusforlife2 gave the advise to create new issue for it, which I did now.

When additional info is needed please let me know, more than happy to provide this!!

Expected behavior

Play video in Kodi when button "Play with Kodi" is pressed

Actual behavior

No video is played

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

woheller69 commented 11 months ago

for me that works well with v0.25.2

DudeOnInternet commented 11 months ago

for me that works well with v0.25.2

Good to hear it is working for you!!

I'm also on v0.25.2, and have just tested it with no luck. I get the YT message that the content is not available on this app. I've tried several video's, all fail.

Can I ask you how you configured the YT app on kodi? Did you make a personal API, or do you use an YT account, or did you do some other clever tricks? And what version of kodi/YT app are you using?

DudeOnInternet commented 11 months ago

Suggestion for the developers. I found an app which is able to play YT content on Kodi. It uses the DLNA/UPnP protocol. No YT app (with all the API problems) is needed, it plays the content directly. The app is called Tubio. The app is not ideal, a lot of commercials despite add blocking enabled, and without account/YT login no favorites etc. can be saved. I really prefer your NewPipe app, but sadly id does not work entirely for me ....yet;-) Perhaps you can have a look at the DLNA/UPnP protocol, whether this can be implemented in your app as well. This would really improve your app and make it compatible with a lot more devices, beside kodi, devices which also support DLNA/UPnP.

woheller69 commented 11 months ago

for me that works well with v0.25.2

Good to hear it is working for you!!

I'm also on v0.25.2, and have just tested it with no luck. I get the YT message that the content is not available on this app. I've tried several video's, all fail.

Can I ask you how you configured the YT app on kodi? Did you make a personal API, or do you use an YT account, or did you do some other clever tricks? And what version of kodi/YT app are you using?

At the moment I have youtube plugin 6.8.18, kodi 18.2 Personal youtube API

DudeOnInternet commented 11 months ago

Thank you for letting me know you are using a personal API!! So this than sort a less confirms my initial thought that the issue is YT API related, not so much the NewPipe app. As I do not have a personal API, this prevents me from viewing content on YT. This has worked for me for a very long time, but I guess YT is becoming stricter and closing all gaps.

Than my suggestion to New Pipe developers,

And for the time being till there is a permanent solution; is there someone or does anybody know someone who has an API workaround which can be shared?

For completeness I'm using the following configurations: Kodi 19.4; YT plugin 6.8.25 OpenELEC/Kodi 20.2 ; YT plugin 7.0.1