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)



- illiac4 - 2011-04-27 06:49

illiac4 Wrote:Hi!

Well i have posted this before but now it seems that the installer does not work if no internal disk is attached in ATV and using USB pen only.

I have setup an ATV, removed the internal disk and created USB pen drive using your installer and it will not boot. When a reattcah the drive it works but not if unattached.

I assume i have to change something in com.apple.boot.plist

Well i did it. Hope that i did not break something else with this Smile
I did:
Edit: com.apple.boot.plist (Using Gparted distro)
---------------------------------------
sudo su
cd
sudo umount /dev/sdb2
fsck.hfsplus /dev/sdb2
mkdir mnt
mount -t hfsplus -o rw /dev/sdb1 mnt
cd mnt
sudo nano com.apple.boot.plist

(edit from sdb3 to sda3 (because there is no internal disk in ATV))

cd
sudo umount /dev/sdXn
rm -rf mnt

Now it boots and also updates are working Smile


- pumkinut - 2011-04-27 07:05

GuySie Wrote:So, you're saying to wait it out for your next PVR-related patch? Because I already edited mine after reading this in your manual:

"However, if XBMC is crashing, then this is likely due to a lack of memory available to the system. Therefore, a reboot is optimal. It does take notably longer before XBMC is restarted but ensures the system regains resources. This can be done by adding sudo reboot to the end of rc.local which can be edited via SSH with sudo nano /etc/rc.local. To regain access to the TTY session at any time, remove the reboot command."

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



- Andy S2K - 2011-04-27 08:11

thnmnt Wrote:Did you try holding 'menu' on the remote? That should bring it up. (hold menu again to get rid of it)

yes, with the old mine release this works. Now with the Sam Image holding the menu on the remote open the video in a window and give me the possibilitity of navigation in the xbmc menu.....


A little help with airplay - cakeove - 2011-04-27 13:37

Sam.Nazarko Wrote:Nice. Airplay sounds good.



I've said several times why I redownload the image every time. I won't repeat the lengthy explanation here.

You're right! No direct references to parted but there is to partprobe which synchronises the filesystems. I will therefore add an apt-get install parted to the top of the script (it doesn't have to be patched).


Sam, First of all excellent work. i could install the image on the internal hdd without any problems.

However i am experience some problems enabling airplay. i follow your recommendation installing python 2.6.

http://www.lysium.de/blog/index.php?/archives/229-Installing-Python-2.6-on-Ubuntu-8.04.html

the last commands where

ln -s /opt/python2.6/bin/python2.6 /usr/bin/python-2.6
ln -s /opt/python2.6/bin/pydoc /usr/bin/pydoc-2.6.

Are these ok? i am not very familiar with these links.

The second step its following the Pascal tutorial. I successfully install airplay on ubuntu 10.10 + XBMC 10.1 without any problem. I works perfect.

When i try in the apple tv the first problem that i found is
atv@appletv-ubuntu:/usr/bin$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-pip
atv@appletv-ubuntu:/usr/bin$

I try manually install it. but i am not very familiar with python. I could install the python-pip but i guest i was installed on the python-2.5 and when i try to run airplayer i get errors.

Do you have any idea to solve this? I read in the post that you have to make that only airplayer uses python 2.6. how can i do this?

Regards.


Can you put some guide - cakeove - 2011-04-27 13:41

Ilia Wrote:I have made it work Big Grin

You do need to update python to 2.6 -> http://www.lysium.de/blog/index.php?/archives/229-Installing-Python-2.6-on-Ubuntu-8.04.html
and the DNS updater from the install readme.

I try following the instructions but get this error.

atv@appletv-ubuntu:/usr/bin$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-pip
atv@appletv-ubuntu:/usr/bin$

i will appreciate your help with this
regards.


- da-bitsch - 2011-04-27 17:44

cakeove Wrote:I try following the instructions but get this error.

atv@appletv-ubuntu:/usr/bin$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-pip
atv@appletv-ubuntu:/usr/bin$

i will appreciate your help with this
regards.

this might help - http://www.saltycrane.com/blog/2010/02/how-install-pip-ubuntu/


- Sam.Nazarko - 2011-04-27 19:17

GuySie Wrote:Just used the installer, finally got crystalbuntu running on the internal HD! I was having serious problems with my db size and the amount of fanart on my 8gig USB stick. Feels a bit speedier and more stable when playing 720s too versus my old pin87 install! Thanks Sam!



I have used the options="-m" method to get more working Harmony buttons.
https://github.com/Evinyatar/atvclient/wiki/
and then
http://forum.xbmc.org/showthread.php?tid=55660

On my old install this needed a recompiled atvclient, but on Sam's it worked out of the box.

Two things I'm wondering about are: what's this .asoundrc for menusounds trick that's mentioned a few times in this thread? I don't really miss the menu sounds (silence is golden and all), but i'm OCD enough that I want to have everything up and running, just in case... and: I'm also one of the people who have odd behaviour from advancedsettings.xml. My DDS fanart works (after the CPU chugged along for a few hours converting them all, poor thing) but the GPU temp is still a ?.

Glad its working fast then. GPU temp can be setup by following the documentation. As for .asoundrc -- if you prefer silence, keep it that way.

GuySie Wrote:So, you're saying to wait it out for your next PVR-related patch? Because I already edited mine after reading this in your manual:

"However, if XBMC is crashing, then this is likely due to a lack of memory available to the system. Therefore, a reboot is optimal. It does take notably longer before XBMC is restarted but ensures the system regains resources. This can be done by adding sudo reboot to the end of rc.local which can be edited via SSH with sudo nano /etc/rc.local. To regain access to the TTY session at any time, remove the reboot command."

After the PVR patch the following change will occur:

Code:
xinit /usr/bin/xbmc --standalone

Code:
xinit /usr/local/bin/xbmc --standalone

This is due to a locally produced package. The thing is, this change will not be an append, it will be an overwrite. So after the PVR update, reboot func. will stop working until you re-add the reboot line. I still don't recommend it for the reason I explained in the quote above. But I trust it is working?


- cakeove - 2011-04-27 19:39

da-bitsch Wrote:this might help - http://www.saltycrane.com/blog/2010/02/how-install-pip-ubuntu/

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??


- Sam.Nazarko - 2011-04-27 21:35

Unfortunately, your questions are beyond the scope of this thread, as it is does not cover custom modifcations. However, the best advice I'd give is to build pip manually (configure, make, make install).


- Grenti - 2011-04-27 23:01

Sam.Nazarko Wrote:Glad its working fast then. GPU temp can be setup by following the documentation.

this is what I have for the GPU temp

<gputempcommand>echo "$(nvidia-settings -tq gpuCoreTemp) C"</gputempcommand>

the temp still shows up as ?