XBMC Community Forum
[RELEASE] CrystalHD Linux distributions for Apple TV with UI installer (Win, Linux) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [RELEASE] CrystalHD Linux distributions for Apple TV with UI installer (Win, Linux) (/showthread.php?tid=97949)



- Sam.Nazarko - 2011-04-27 23:26

Sounds like the file is not being parsed then.


- Grenti - 2011-04-27 23:39

The log file says it's being parsed.


- Sam.Nazarko - 2011-04-27 23:56

Run the echo command then and check that temperature is being output from a TTY session.


- Grenti - 2011-04-28 00:11

nvidia-settings was not installed with the CrystalHD Linux image. I installed it and now the temp shows up. Thanks for your help and making the apple tv awesome!


- da-bitsch - 2011-04-28 00:47

cakeove Wrote:I get this
atv@appletv-ubuntu:~$ sudo easy_install pip
Searching for pip
Reading http://pypi.python.org/simple/pip/
Reading http://pip.openplans.org
Reading http://www.pip-installer.org
Best match: pip 1.0
Downloading http://pypi.python.org/packages/source/p/pip/pip-1.0.tar.gz#md5=327fc4a03df189506966e15021730550
Processing pip-1.0.tar.gz
Running pip-1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-p13XRs/pip-1.0/egg-dist-tmp-udcYxy
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.txt' found under directory 'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Adding pip 1.0 to easy-install.pth file
Installing pip script to /usr/bin
Installing pip-2.5 script to /usr/bin

Installed /usr/lib/python2.5/site-packages/pip-1.0-py2.5.egg
Processing dependencies for pip
Finished processing dependencies for pip



the installing airplayer and execute

but i get this error now


python /home/atv/Airplayer/airplayer/airplayer.py
Traceback (most recent call last):
File "/home/atv/Airplayer/airplayer/airplayer.py", line 19, in <module>
from protocol_handler import AirplayProtocolHandler
File "/home/atv/Airplayer/airplayer/protocol_handler.py", line 4, in <module>
import lib.biplist
File "/home/atv/Airplayer/airplayer/lib/biplist/__init__.py", line 197
if extra == 0b1111:
^
SyntaxError: invalid syntax


how can i get install in python2.6??

do this

http://www.pip-installer.org/en/latest/

if you cant install it then change your debian defaults to include python 2.6


- nchall - 2011-04-28 01:14

http://forum.xbmc.org/showpost.php?p=635570

in the harmony config program on your computer set the remote up as a media center pc->plex->plex player. after that follow the instructions in the above post.

works well for me.


- pmcd - 2011-04-28 01:59

pumkinut Wrote:Why not just write a reboot script and save it as a favorite?
Code:
atv | sudo -S reboot

Hmm ... is there anything special to add to this? That is, do you just make a text file and add some .scrpt or whatever and change permissions? Writing xbmc scripts doesn't seem obvious. Any help would really be appreciated as this would be a nice way to do it.

philip


- pumkinut - 2011-04-28 03:35

pmcd Wrote:Hmm ... is there anything special to add to this? That is, do you just make a text file and add some .scrpt or whatever and change permissions? Writing xbmc scripts doesn't seem obvious. Any help would really be appreciated as this would be a nice way to do it.

philip
Create the file in your text editor of choice. Save it with a name, I called my reboot.sh and then make it executable with the following:
Code:
chmod +x <filename>
Substitute whatever you named your file for the <filename> part.

After that, I just added a favorite and navigated to wherever I saved reboot.sh and chose that. When I want to reboot the atv, I simply pull up my favorites, select the reboot script and voila.

I also created a shutdown script for when I want to pull power from the atv. Since the atv is not ACPI compliant, it won't power down fully, but with the script, the hard drive will park and the OS will stop, thereby decreasing the chances of data corruption greatly. Of course, the same applies to this, create the file, make it executable, choose it as a favorite.
Shutdown:
Code:
atv | sudo -S shutdown -h now

In case you're wondering the command breaks down as follows:

I use the default password for the CrystalHD install, therefore the first atv.

The pipe symbol, the |, feeds whatever precedes it into the next command, so atv is piped into the sudo command, which with the -S switch is looking for the password from stdin (standard input, which is what the | was for). This is needed because both reboot and shutdown need elevated privileges to work.

The -h switch tells linux to halt after shutdown, as opposed to restarting or something else. And, finally, the "now" portion, tells the OS not to wait, but to do it now.


- pmcd - 2011-04-28 05:58

pumkinut Wrote:Create the file in your text editor of choice. Save it with a name, I called my reboot.sh and then make it executable with the following:
Code:
chmod +x <filename>
Substitute whatever you named your file for the <filename> part.

After that, I just added a favorite and navigated to wherever I saved reboot.sh and chose that. When I want to reboot the atv, I simply pull up my favorites, select the reboot script and voila.

[ ]

Thank you for the great explanation for this and the shutdown script. The shutdown script will also come in handy. For some odd reason I don't know how to add either as a favorite. If I try to add an addon then I can never navigate to the scripts folder ( wheer put the two files). When you say to add a favorite, do you mean "addon"?

philip

Edit: Ok, I used the file manager and added it to favorites. But the script doesn't seem to work. It seems to think that atv is a command.


- Hudson_Hawk04 - 2011-04-28 06:44

I am thinking very seriously about using this method on my ATV1 (I had no idea of the footprint difference) My question is in reguards to remotes, using the origional patchstick I am able to use my philips prestigo 8015 universal remote, I was wondering if I would be able to continue using this remote.