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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [RELEASE] CrystalHD Linux distributions for Apple TV with UI installer (Win, Linux) (/showthread.php?tid=97949)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


- Sam.Nazarko - 2011-04-17

Where are you currently putting it?


- jadel - 2011-04-17

Ilia Wrote:Hi Guys,

@thermobaric - I tried that before, after your comment I went to try again and it worked, after i rebooted a few times.

Now i have:
atv1 + crystalubuntu (sams img) + airplay(airplayer) + airtunes (shairport)
(next is to put it all on the internal drive Smile )

all working.. a MASSIVE thank you to Sam for his image.

Cheers,
Ilia

Hey , how did you setup airplay? Is there a guide somewhere? That would be a neat addition I think.

Also, Sam .. awesome installer mate! Thanks heaps for all the time and effort on this. Very easy.


- Grenti - 2011-04-17

Sam.Nazarko Wrote:Where are you currently putting it?

/root/.xbmc/userdata/advancedsettings.xml


- AngryUndead - 2011-04-18

Grenti Wrote:/root/.xbmc/userdata/advancedsettings.xml

I'm having the same problem as Grenti. The same settings, in the same file.

This is the relevant log/xml snippet:

Code:
15:23:38 T:3043039072 M:203341824  NOTICE: -----------------------------------------------------------------------
15:23:38 T:3043039072 M:203046912  NOTICE: Starting XBMC, Platform: Linux (Ubuntu 8.04.4 LTS, 2.6.24-28-generic i686). Built on Mar  9 2011 (Git:Unknown)
15:23:38 T:3043039072 M:203108352  NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
15:23:38 T:3043039072 M:203108352  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
15:23:38 T:3043039072 M:203108352  NOTICE: special://masterprofile/ is mapped to: /root/.xbmc/userdata
15:23:38 T:3043039072 M:203108352  NOTICE: special://home/ is mapped to: /root/.xbmc
15:23:38 T:3043039072 M:203108352  NOTICE: special://temp/ is mapped to: /root/.xbmc/temp
15:23:38 T:3043039072 M:203108352  NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
15:23:38 T:3043039072 M:203108352  NOTICE: Log File is located: /root/.xbmc/temp/xbmc.log
15:23:38 T:3043039072 M:203108352  NOTICE: -----------------------------------------------------------------------
15:23:38 T:3043039072 M:203075584  NOTICE: Setup SDL
15:23:38 T:3043039072 M:203157504  NOTICE: load settings...
15:23:39 T:3043039072 M:202784768  NOTICE: special://profile/ is mapped to: special://masterprofile/
15:23:39 T:3043039072 M:202825728  NOTICE: loading special://masterprofile/guisettings.xml
15:23:39 T:3043039072 M:202870784  NOTICE: Getting hardware information now...
15:23:39 T:3043039072 M:202870784  NOTICE: Checking resolution 12
15:23:39 T:3043039072 M:202850304  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
15:23:39 T:3043039072 M:202788864  NOTICE: Loaded playercorefactory configuration
15:23:39 T:3043039072 M:202788864  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
15:23:39 T:3043039072 M:202788864  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
15:23:39 T:3043039072 M:202817536  NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
15:23:39 T:3043039072 M:202817536  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <!-- reduce memory usage, however small -->
                                              <loglevel>0</loglevel>
                                              <!-- library settings -->
                                              <videolibrary>
                                                <hideallitems>true</hideallitems>
                                              </videolibrary>
                                              <!-- gpu temp -->
                                              <gputempcommand>echo &quot;$(nvidia-settings -tq gpuCoreTemp) C&quot;</gputempcommand>
                                              <!-- hw accelerated fan art -->
                                              <useddsfanart>true</useddsfanart>
                                            </advancedsettings>

Basically, I still have ? for the gpu temp and, the log file continues so a 0 for the loglevel is obviously not working. I'm not getting any xml parse errors, however. The code for the AdvancedSettings parser (https://github.com/xbmc/xbmc/blob/master/xbmc/settings/AdvancedSettings.cpp) is fairly straightforward and seems to match what I've done...

So, other than that, everything is going swimmingly. Avatar plays back from my QNAP NAS storage at 1080p without a hitch.

Well, I've also put .asoundrc in /root/ and /home/atv/ with the HDMI settings found in /.asoundrc and ... no sound in the XBMC UI. So that's two problems. Other than that ... yea, you get the picture.

Thanks again. And thanks to anyone who can help with this.


- Sam.Nazarko - 2011-04-18

"15:23:38 T:3043039072 M:203108352 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc"

Check out /usr/share/xbmc then. This change of directory is likely an effect of running XBMC from rc.local after installing via APT as root.


- AngryUndead - 2011-04-18

Sam.Nazarko Wrote:"15:23:38 T:3043039072 M:203108352 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc"

Check out /usr/share/xbmc then. This change of directory is likely an effect of running XBMC from rc.local after installing via APT as root.

Is that for the .asoundrc or for the advancedsettings?

I was thinking that advancedsettings.xml should work since it prints it out.

Thanks


- Sam.Nazarko - 2011-04-18

Sorry, read the question wrong. It should be parsing just fine, as evidenced by the fact that it is showing in logs. Check things like line ending (windows/*nix)

By the way, will someone PM me if they are willing to try out some stuff. It's fully scripted and automated, just need a tester before it goes live. You'd be testing out stuff like PVR, Airplay, default shutdown behaviour etc.


- Grenti - 2011-04-18

Why doesn't the gpu temp show up if everything is in its correct place in advancedsettings.xml and it is being parsed?


- AngryUndead - 2011-04-18

Sam.Nazarko Wrote:Sorry, read the question wrong. It should be parsing just fine, as evidenced by the fact that it is showing in logs. Check things like line ending (windows/*nix)

By the way, will someone PM me if they are willing to try out some stuff. It's fully scripted and automated, just need a tester before it goes live. You'd be testing out stuff like PVR, Airplay, default shutdown behaviour etc.

I did that in nano on the atv itself. I may have to turn up the logging level or something... wait i don't think I can do that.

I think we may be dealing with a bug in XBMC. I'll have some time to look at it when I get home.


- Sam.Nazarko - 2011-04-18

Grenti Wrote:Why doesn't the gpu temp show up if everything is in its correct place in advancedsettings.xml and it is being parsed?

Good question.

AngryUndead Wrote:I did that in nano on the atv itself. I may have to turn up the logging level or something... wait i don't think I can do that.

I think we may be dealing with a bug in XBMC. I'll have some time to look at it when I get home.

The PVR build might fix this.


- pmcd - 2011-04-18

Sam.Nazarko Wrote:Back up the disc with DD. If people want I can make a program that does this.

This was originally brought up for those of us who are slightly nervous about losing our ATV OSX setup. Would it be possible to write something that would back up the internal to an external usb (via a hub) hard drive? That would certainly be handy.

philip


- Sam.Nazarko - 2011-04-19

If you don't mind getting your hands a little dirty then:

Boot into atv-bootloader. Connect via telnet and run:

dd if=/dev/sda | gzip -c > hdd.img.gz

If you ever want to restore, boot that same USB and run this over telnet:

gunzip -c hdd.img.gz | dd of=/dev/sda

(Thanks for donation pmcd)


- pmcd - 2011-04-19

Sam.Nazarko Wrote:If you don't mind getting your hands a little dirty then:

Boot into atv-bootloader. Connect via telnet and run:

dd if=/dev/sda | gzip -c > hdd.img.gz

If you ever want to restore, boot that same USB and run this over telnet:

gunzip -c hdd.img.gz | dd of=/dev/sda

(Thanks for donation pmcd)

Thank's, will give it a go. I assume this will also copy empty space? I have a 320 gig internal ( which replaced the original 40- and I still have it). There is only around 80 gigs on the 320 gig drive. So would the end result be closer to 80 ( because of gzip)?

philip

(Thank you ... been having a great time with the atv1)


- Sam.Nazarko - 2011-04-19

It will copy the drive exactly. Partition tables, data etc so it can be restored to its original state 100%. Personally I would verify the content is same by running md5sum. 0s don't take up a lot when they are compressed, so output size shouldn't be that large. Having said that, I'd use an 8GB usb for atv-bootloader.


- naa3e5 - 2011-04-19

Just got done installing this on my aTV. Is there anyway to enable both optical(5.1) and analog (2ch) out simultaneously? I use optical for DD/DTS in my main zone, living room, but Zone 2 of my receiver can only use analog. So I need both to work...