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-11 16:10

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.

Nice. Airplay sounds good.

thermobaric Wrote:Sam,

A slight modification to the linux installer would be nice. I decided to play with Ubuntu and VMware. Wouldn't you know, no parted installed. So, after waiting for the download, the script bonks due to no parted. I apt-get it, and then the script begins again. It gets really mad at me this time because /dev/sdb wasn't available due to operator error. Begin again...

If there's a way to have it check and see if there's a current image downloaded, that might save some of us donkeys at least 15 minutes... (Yes, smarter souls would just read the script and start wherever it cut out, but it would have been much cooler if dd had done its thing while I was getting the boys sorted for school).

Just a thought.

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).


USB sound possible? - juanlu - 2011-04-11 16:12

Hi Sam,

First: thanks for your effort and your work, is the first time I try a Linux for my ATV and after installing it (not without pain, because my Powerbook "ubuntized" did not inject the distro for the usb installation), but after a bit of tweaking it´s installed and working almost fine.
I say almost because I have two questions:
a) HD content doesn't play well. I tested some movies I watched in an ATV of my brother (pin's image there) perfectly well. These movies hang my new installation or stop the play or I see pixelation or dropouts with lack of sync audio-video. My question is: I have the old Broadcom chip...have I to downgrade the drivers?

b) you stated in the manual "This Ubuntu distribution will support TOSLINK and HDMI output. For HDMI output, it is necessary to go to Settings > System > Audio Output and select the use of a Custom Device (obviously enabling Digital Sound Output), the custom device must be entered exactly as: plughw:0,3".... is it possible to get USB sound?

Thanks a lot. Excited about to get the most of ATV

JL


- Sam.Nazarko - 2011-04-11 16:15

juanlu Wrote:Hi Sam,

First: thanks for your effort and your work, is the first time I try a Linux for my ATV and after installing it (not without pain, because my Powerbook "ubuntized" did not inject the distro for the usb installation), but after a bit of tweaking it´s installed and working almost fine.
I say almost because I have two questions:
a) HD content doesn't play well. I tested some movies I watched in an ATV of my brother (pin's image there) perfectly well. These movies hang my new installation or stop the play or I see pixelation or dropouts with lack of sync audio-video. My question is: I have the old Broadcom chip...have I to downgrade the drivers?

b) you stated in the manual "This Ubuntu distribution will support TOSLINK and HDMI output. For HDMI output, it is necessary to go to Settings > System > Audio Output and select the use of a Custom Device (obviously enabling Digital Sound Output), the custom device must be entered exactly as: plughw:0,3".... is it possible to get USB sound?

Thanks a lot. Excited about to get the most of ATV

JL

a) Doesn't play well is in no way specific. What are bitrates, profile levels etc (mediainfo output), XBMC.log output. Drivers don't need to be upgraded, the stable ones are automatically fetched and compiled for you.
b) Never tried USB sound. You could get a USB sound card and try set it up in Ubuntu but its not going to be a clear cut simple install.


- thermobaric - 2011-04-11 16:47

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

I understand. I just thought perhaps with your recent incorporation of MD5s it might be easy to have the script bounce a local MD5 off of one on the server prior to download. Then again, I thought spotted dick was a type of STD for the longest time... Laugh


- Sam.Nazarko - 2011-04-11 18:03

I could hypothetically MD5 the chosen image or SHA1 it but this would require adjustments. I'm not sure how I'd implement this into Linux -- unless I used a PHP script and wgetted the contents which returned the hash from MySQL (running checksum each time would be too intensive).

Maybe for later but I don't see it being the focus area of development as many users don't repeatedly run the script. I need to port the apt repository before April 30th as Hardy goes end of life then. Also need to start a build service as XBMC dev team no longer compiles for Hardy


- thermobaric - 2011-04-11 18:26

Sam.Nazarko Wrote:Maybe for later but I don't see it being the focus area of development as many users don't repeatedly run the script.

Excellent point. The juice is probably not worth the squeeze. I'm only doing it again because I wanted to start with a fresh image before I renew fighting with afp via your instructions. I never underestimate my ability to stealthily break things.


- Sam.Nazarko - 2011-04-11 18:48

thermobaric Wrote:Excellent point. The juice is probably not worth the squeeze. I'm only doing it again because I wanted to start with a fresh image before I renew fighting with afp via your instructions. I never underestimate my ability to stealthily break things.

You'll learn by breaking Smile


- Bandit_Kaine - 2011-04-11 21:19

Hey Sam, nice work.. took a few tries though..

First time got blinking question mark.
same thing second time.
third time it went through and installed everything just fine.

On the previous image i had of pin87 my usb disks would automatically show up in XBMC as a source.

This didn't work with this image, i added hfssupport and nothing, i had to manually mount the disk using ssh and add it to fstab to auto mount at every boot up and then umount at shutdown. not sure what the problem is, any solution?

another thing was sound over hdmi didnt work. I had to set it to hdmi, custom custom and manually yupe plughw:0,3, reboot and then it worked.


- Sam.Nazarko - 2011-04-11 21:25

Bandit_Kaine Wrote:Hey Sam, nice work.. took a few tries though..

First time got blinking question mark.
same thing second time.
third time it went through and installed everything just fine.

On the previous image i had of pin87 my usb disks would automatically show up in XBMC as a source.

This didn't work with this image, i added hfssupport and nothing, i had to manually mount the disk using ssh and add it to fstab to auto mount at every boot up and then umount at shutdown. not sure what the problem is, any solution?

another thing was sound over hdmi didnt work. I had to set it to hdmi, custom custom and manually yupe plughw:0,3, reboot and then it worked.

You had to set sound manually because that is how I configured it. Most people use TOSLINK/Analog, so it is preconfigured for that.

https://help.ubuntu.com/community/Mount/USB -- nothing is broken, I just didn't choose to enable either feature


- endymion76 - 2011-04-12 12:57

Nice work Sam.

Only one question:
How do i shut down apple tv?
From the XBMC i actually cannot put to sleep or shut down the machine, only close the xbmc interface and returning to linux.

Thanks