AppleTV and PS4

Posted on
Sun Apr 23, 2017 8:14 pm
pmgendon offline
Posts: 35
Joined: Apr 20, 2015

AppleTV and PS4

Hey guys,

I was wondering if there is any way to integrate an AppleTV 4th gen and a PS4 in indigo?

thanks

pm

Posted on
Mon Apr 24, 2017 3:59 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: AppleTV and PS4

What do you want to accomplish? If it’s just control then probably the easiest option would be a Logitech Harmony Hub. AFAIK there’s no way of reading current states from the AppleTV or PS4 (unless it’s a jailbroken AppleTV 2).

Computer says no.

Posted on
Sat Dec 22, 2018 8:07 am
davinci offline

Re: AppleTV and PS4

Actually, now there is a way for Apple TV:
https://github.com/jeanregisser/mediaremotetv-protocol

Posted on
Sat Dec 22, 2018 8:44 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: AppleTV and PS4

davinci wrote:
Actually, now there is a way for Apple TV:
https://github.com/jeanregisser/mediaremotetv-protocol


Awesome! Who wants to write a plugin?

Computer says no.

Posted on
Tue Dec 25, 2018 3:18 am
davinci offline

Re: AppleTV and PS4

That would be nice.

I found an "easier" library to directly access Apple TV. Looks promising. Not sure if it is required to install the python libraries or if they can be integrated.

https://github.com/postlund/pyatv

Posted on
Thu Dec 27, 2018 11:31 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: AppleTV and PS4

davinci wrote:
That would be nice.

I found an "easier" library to directly access Apple TV. Looks promising. Not sure if it is required to install the python libraries or if they can be integrated.

https://github.com/postlund/pyatv


Requires Python 3, so while you might be able to get it to work in a round about way, it won't likely be a generic plugin integration.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Dec 28, 2018 2:11 pm
davinci offline

Re: AppleTV and PS4

Thanks for the clarification.

Is it possible to use a Python script inside of Indigo (external script)?

I have to find a way to install it on Mac, because the guide only covers Linux.

Posted on
Fri Dec 28, 2018 2:48 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: AppleTV and PS4

You're gonna want to be VERY careful. 3rd party Python installers will often screw up Python paths that cause the built-in Python 2.7 (and therefore Indigo's Python integration) to break.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Dec 29, 2018 9:44 am
davinci offline

Re: AppleTV and PS4

Yes I am aware of this. Is it possible to use those libraries without actually installing? Kind of like sandboxing. I know it works for individual python files but I'm not sure about this.

It might be overkill for my use case since I only need the GUID and I can wake up Apple TV anyway. The script can also read the GUID.

Posted on
Sun Dec 30, 2018 6:42 am
davinci offline

Re: AppleTV and PS4

I can't get it to run. I was testing in a virtual machine but it can't find the Apple TV.

Any ideas how to get the GUID without setting up a real linux?

Posted on
Mon Dec 31, 2018 5:43 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: AppleTV and PS4

I found a post on the net that indicated that you should use the ATV's serial number as the GUID (which you can get in the About screen). Give that a try.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests

cron