I used this package last night and it seemed to work great, thanks tkimball83!
For others that aren't familiar with how to do all this (I struggled a bit), here's some rough instructions from what I can remember (FAIR WARNING: Probably not entirely accurate as I'm doing this from memory, but should hopefully get you close):
1) On your server, in your home directory, execute: git clone https://github.com/tkimball83/plexconnect.git
2) Install the necessary rpm-building tools: yum install rpm-build rpmdevtools
3) Create the file ~/.rpmmacros with contents like so (modify /root/plexconnect to the location you git cloned to):
%packager MYNAME
%_topdir /root/plexconnect
%_tmppath /root/plexconnect/tmp
4) Run: rpmbuild -ba plexconnect/SPECS/plexconnect.spec
5) To install: rpm -ivh plexconnect/RPMS/noarch/plexconnect-0.3-2.el6.noarch.rpm
You'll likely want to do the following files after the install:
Configure plexconnect:
Modify /var/lib/plexconnect/Settings.cfg (configure the port_webserver to the desired port to listen on and verify ip_pms and port_pms are correct for your setup)
Modify /etc/sysconfig/plexconnect (configure the appropriate user you will be running the service as, and possibly the python invocation - see NOTE below about python27)
Setup dnsmasq:
Modify /etc/dnsmasq.conf (make sure the conf-dir=/etc/dnsmasq.d line is uncommented)
Modify /etc/dnsmasq.d/plexconnect.conf (change x.x.x.x with your server's IP address)
Restart dnsmasq (/etc/init.d/dnsmasq restart) and possibly make sure it starts at system startup (chckconfig dnsmasq on)
Setup apache:
Modify /etc/httpd/conf.d/plexconnect.conf (Configure for the appopriate port you have plexconnect listening on if it's not 8080)
Restart apache (/etc/init.d/httpd restart)
Start plexconnect (/etc/init.d/plexconnect start) and possibly make sure it starts at system startup (chkconfig plexconnect on)
Important note: Centos6 does NOT come with python version 2.7 standard, and this is required for plexconnect to run. I'd recommend using the SCLs (http://dev.centos.org/centos/6/SCL/docs/) to do this:
1) Execute: yum install centos-release-SCL
2) Execute: yum install python27
3) To enable the SCL python 27 environment when plexconnect starts, modify /etc/sysconfig/plexconnect and put this line at the top:
. /opt/rh/python27/enable
and this line at the bottom:
PLEXCONNECT_PYTHON=python
Try restarting plexconnect after doing all this and hopefully it runs (/etc/init.d/plexconnect restart)
Logs go to /var/log/plexconnect for debugging.
If everything seems to work, resume the plexconnect setup instructions to setup your AppleTv.