Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not a code issue per se, but shouldn't there be an easier way? #14

Open
glenking opened this issue Feb 28, 2017 · 4 comments
Open

Not a code issue per se, but shouldn't there be an easier way? #14

glenking opened this issue Feb 28, 2017 · 4 comments
Labels
Milestone

Comments

@glenking
Copy link

As I've not written any code since the Commodore 64, I'm a bit stumped with all this. Somehow, I am imagining it should be easier. That for a Bravia Android TV running YouTube, it should be possible to have a very small body of code that, when you add in the 'dfW4edfr03' or whatever is the name of the vid you want, and then POST it with the correct headers, it loads and runs the video you named. As an example, if I run the following code it starts the YouTube app:

{"method":"setActiveApp","params":[{"uri":"com.sony.dtv.com.google.android.youtube.tv.com.google.android.apps.youtube.tv.activity.TvGuideActivity"}],"id":10, "version":"1.0"}

IF I change the to uri to {"method":"setActiveApp","params":[{"uri":"com.sony.dtv.com.amazon.aiv.eu.com.amazon.ignition.IgnitionActivity"}],"id":10, "version":"1.0"}, it opens Amazon Videos.

Short and sweet. Sooo... there isn't a simple short program that will simply open the existing YouTube app and start a particular video?

@KHerron
Copy link
Owner

KHerron commented Mar 1, 2017 via email

@glenking
Copy link
Author

glenking commented Mar 1, 2017

Thanks, I had tried many permutations of that without success. I kept on getting "illegal Json" errors.

@KHerron KHerron added this to the 5.4 milestone Jul 3, 2017
@KHerron
Copy link
Owner

KHerron commented Jan 18, 2018

@glenking,

Going back through these, to clear them out and was wondering if you ever resolved your issue.
Sony has discontinued YouTube on my TV, during one of the updates.

Was this possibly your issue?

@glenking
Copy link
Author

Thanks for the followup.

First, sorry to hear Sony deleted YouTube from your tv.

What I eventually settled on was the joaoapp called AutoCast. It casts the vid from an android tablet to the TV. Works very well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants