This is exactly what I would like to see. It would allow for the user to use an apple tv as an untethered display to any media available through the plex media server.
Oh -- I hadn't parsed out that that was where you were going -- that IS an interesting third idea! If the actual Airplay is being done from the (OS X-based) PMS app and just being requested by the IOS device, then that gets around the IOS app having to call a private Airplay API, plus lets the PMS transcode specifically for the Apple TV. This probably merits a separate feature request thread just by itself...
Ok, now I want all three features :-)
Since xmas I´m back again with an apple tv 2G -- Till now I´ve tried different solution (atv 1G / macmini as media centre) both where not perfect so I have stopped experimenting in march when I´ve bought a multimedia tv but it´s not the same -- I´m missing plex/atv
Since the atv2 was launched I was looking for some app support - the message of the Plex Alpha App was the initial post to think further what could be possible. Now everthing is in move and good solutions are very near.
Here is another supoorter of all the ideas - each one could be the base of an good solution. I think all of the variants could be discussed her cause the thread means to stream the PMS result to an ATV2
The most Plex users are still having an ios device, so the interface on the Plex ios App for operating plex on atv is the best solution and nothing to implement directly to the atv. The easiest way to get the Option 3 assp available is a plugin in in the media server directory of plex. How should it work? I´m starting the movie on my ipod/ipad/iPhone and the mediaserver starts creating the stream and send it parallel to the ipad /ipod AND to the atv2 (via the Airflick used url). There is no need for a new version of the ios APP and no new incremental or release of plex needed. Of course always when I´m watching a video on the ipad/ipod/iphone the stream is also on the atv -- But is this a problem for a first version? I don´t think so, because I have only to eyes to watch.
Pherhaps there is a possibilty of an work together betwenn a member plex dev team and erica sadun for building this solution in a quick first alpha?
I fully support this idea/concept! It will make Plex a true killer application and highly relevant for most of those 1+ million people who own an AppeTV 2.
:-D
I want to say that I already do this with my eyetv, not through plex, but just to show one way how it can be done. I log into my eyetv using the web app. I start a video stream, and then I inspect the element, and pull a url like this http://xx.xxx.xx.xxx:xxxx/live/stream/AAAAAGDAzJYAvLiGAAAAAAAA=/1/4A5E_main.m3u8, where the x’s are the ip address of my home computer. I then put that in the airflick app and it plays perfectly on my appletv. All that is required for an implementation like this is that url, which from the looks of the similarities between the plex and eyetv iphone apps, probably exists in some form. Hope that helps, I’m really hopeful someone can make this happen.
Anyone considered using a screencast to stream the full Mac Plex Client to the ATV? You could then use an iOS device to control the client, since the ATV controls wouldn’t work. I guess the refresh rate would probably be a little slow and wouldn’t feel very interactive when controlling it. Could be worth a punt though…
Not possible, as you said the refresh rate will be too slow and you won't have the audio.
That's a shame, I'd love to have the full Plex client running on my TV. A Mac Mini is not in the picture in the short term, however a new iPad when it's released :rolleyes: . At least the Plex client for ATV is getting a little bit of traction...
So I have been looking for a way to find this. I had emailed Erica Sadun about doing this from airflicks side. This is her response: I’m afraid I’m just not familiar enough with Plex — but I have a really easy way to ask AirFlick to launch a file, so if you know a plex dev, it should be really easy.
See this (linked to https://gist.github.com/755600)
Hopefully this will be able to be integrated into PMS at some point.
Thanks.
Also on my new year wishlist, too.
I hope a plex devoloper can build with this infos a nice plugin for pms.
Could be very nice ....
I’ve created a script for XBMC to receive content through Airplay.
It features pluggable media backends, so it would be quite easy to support Plex as a media backend.
You can find the code on Github and more information on creating a media backend on the wiki Media-backends.
I’ve just pushed changes to Github making Airplayer support Plex and Boxee too. It’s pretty easy to setup, checkout the README and INSTALL file. Please note that Plex and Boxee support is still experimental.
Let me know what you think.
Yeah, it looks great thanks !
Could you please explain how to install AirPlayer for Plex ?
There is so many files that I am a bit lost.
Thank you for your help.
Doesn’t work for me, I am probably doing something wrong. This is what I did :
- I put the Airplayer folder to my desktop
- Edited the path in the script “org.pwiddershoven.airplayer.plist” with “~/Desktop/airplayer/airplayer.py”
- moved the script to the LaunchAgents folder
- In terminal, “cd desktop/airplayer” THEN “chmod +x airplayer.py”
- In terminal, “cd” THEN “cd library/launchagents” THEN “launchctl start org.pwiddershoven.airplayer”
Then I don’t know what to do. There is no log for airplayer so I guess it’s not working.
Any idea what’s wrong here ?
Hi Pascal,
can you give us a short introducing how the airplayer works? And perhaps a how to install info?
Would test it on a 4.2.1 (4.1.1) atv
Thanks for coding this feature !!
Its easier to first run airplayer in the foreground inside your terminal. Then you can see if everything works, if it doesn't you can see what's going wrong.
Follow this steps:
1) Download Airplayer and extract it anywhere
2) In your terminal, cd to where you've extracted airplayer
3) Execute 'sudo pip install -r requirements.txt', this will install the required python packages. If you get 'bash: pip: command not found' then first execute 'sudo easy_install pip'.
4) Now edit settings.py to reflect your setup. For Plex that it should look something like this:
<br />
MEDIA_BACKEND = 'Plex'<br />
<br />
MEDIA_BACKEND_HOST = '127.0.0.1'<br />
MEDIA_BACKEND_PORT = 3000<br />
<br />
MEDIA_BACKEND_USERNAME = 'username'<br />
MEDIA_BACKEND_PASSWORD = 'password'<br />
If you don't use an username and password for the Plex webserver, just set the values to None.
5) Now execute python .
If you get any errors, post them here.
If all goes well and you are able to stream movies and pictures from your iDevice to Plex, you can setup airplayer as a launchd service so you don't have to keep it running inside the terminal. To do that follow these steps:
1) copy the org.pwiddershoven.airplayer.plist file from the scripts/macosx folder inside the airplayer folder to /Users/YourUsername/Library/LaunchAgents/.
2) Open the file with a text editor or with the Property List Editor and replace the "path/to/airplayer.py" value with the path to where you have put the airplayer.py script.
3) Make sure the airplayer.py file is executable by running 'chmod +x airplayer.py' in your Terminal.
That's it.
What Airplayer actually does is pretend to be an ATV. When you run Airplayer, your iDevice will recognize your Mac as an Airplay device where you can stream movies and pictures to, which will be displayed in Plex.
WOW, it works great ! Thank you PascalW !
Sweet stuff! Does this work for audio too?
Nice plugin, works great!
Not that it matters in any way, but the only small issue I have found (if you are interested) is that it stutters a little bit for me as it starts the video in plex. It plays the first half second three times then runs flawless.
Great work!
This is perfect! Exactly what I looked for. Will try it this evening.
Thanks!