Need some pointers on CrystalBuntu on ATV1

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mullum Offline
Junior Member
Posts: 17
Joined: Apr 2012
Reputation: 0
Post: #21
PVR on an ATV ?? is this by using a USB TV tuner ?
if so which ones work on crystalbuntu ? (specifically, is there one that works with a satellite TV box ?)
find quote
puulima Offline
Senior Member
Posts: 230
Joined: May 2010
Reputation: 1
Post: #22
It's the version of XBMC that gets you PVR - not the hardware. I haven't implemented it yet - but you have to have a TV Tuner somewhere on your home network - "serving" up the TV streams (backend) and the appropriate add-on(s) installed in XBMC to pull it in (frontend). I have an HDHomeRun for my tuner - serves up TV to any PC on the home network- works with XBMC (and yes on my ATV) right out of the box - very simple to setup live TV on XBMC (just live streaming - not the PVR functionality that is). Very cool gadget.

You'll have to do some reading...I'm in the early stages myself.
find quote
mullum Offline
Junior Member
Posts: 17
Joined: Apr 2012
Reputation: 0
Post: #23
Ahh ok, sounds cool - not quite what I'd want to do here myself as it wouldnt really suit my setup. But nonetheless worth bearing in mind for possible future setups.
find quote
puulima Offline
Senior Member
Posts: 230
Joined: May 2010
Reputation: 1
Post: #24
I replaced my LCD TV in the rec room with a 1080p projector - so needed a way to have Live TV via the PJ. The HDHomeRun works like a charm - was up & running in minutes and after editing the .strm files (eliminated one tuner) - we can change channels pretty quickly. Only issue is - the TV works great on the old "hacked" ATV OS setup - but fails miserably with the CrystalBuntu USB boot...hence why I started this thread.

Upstairs I'm still using WMC as my PVR with the HDHomeRun - have it setup so you can go directly to it from a Menu Item in XBMC and when you quit WMC - you're back where you left XBMC. All very wife & kid/remote friendly.

I'm on the waiitng list for a Raspberry Pi also - it sounds quite promising and perhaps could replace my old ATV.
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 11,994
Joined: Jan 2011
Reputation: 132
Location: Arizona, USA
Post: #25
(2012-04-03 20:01)puulima Wrote:  I created the USB Patchstick and tested it out this am. Posted something on the STMLabs forum a bit earlier. CPU is running at 100% pretty much all the time - can't play back anything 1080p, 720p coughs and stutters from time to time, menus lag and movies take quite a while to start. None of these issues when running on the ATV OS. The CrystalHD option is enabled in the Video settings but sure seems like the CPU is doing all the heavy lifting. How do I determine if the CrystalHD card is working? I'm going to reboot - not sure what that does since I'm running off the USB drive (for now).

Very hesitant to do the full install as I can't afford to have the ATV out of service...

Here's the XBMC.log file (after a second boot - and in two pieces)
Part 1: XBMC.log part 1
Part 2: XBMC.log part 2

let me know what else to post...

Thanks for any assistance.

Try modifying your advancedsettings.xml file so that it says this instead:

Code:
<advancedsettings>
  <useddsfanart>true</useddsfanart>
  <gui>    
    <algorithmdirtyregions>1</algorithmdirtyregions>
    <nofliptimeout>1000</nofliptimeout>
  </gui>
</advancedsettings>


The nofliptimeout part should specifically help with the CPU issue.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
(This post was last modified: 2012-04-16 08:59 by Ned Scott.)
find quote
puulima Offline
Senior Member
Posts: 230
Joined: May 2010
Reputation: 1
Post: #26
I'm accessing the ATV via WinSCP copied the advancedsettings.xml over to my local PC, added the nofliptimeout - but I'm getting an access denied error message when I try to copy it back? Actually, looked at the properties and only the "owner" has W access...same for all files it looks like. I know I used to be able to access/edit files on my ATV via WinSCP - so how do I gain Write access to make this change?
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 11,994
Joined: Jan 2011
Reputation: 132
Location: Arizona, USA
Post: #27
IIRC, you need to type

./configure

When you first SSH in. Then enable the Root account.

Then SSH in using user:root password:atv

That should give you access.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
pumkinut Offline
Posting Freak
Posts: 875
Joined: May 2006
Reputation: 9
Post: #28
No need to enable root. That's what sudo is for. Instead of trying to copy advancedsettings.xml back to a write protected folder, copy via SCP to /home/atv then SSH in and move it.
Code:
sudo cp /root/.xbmc/usersettings/advancedsettings.xml /root/.xbmc/usersettings/advancedsettings.xml.bak
sudo mv /home/atv/advancedsettings.xml /root/.xbmc/usersettings/

Alternatively, not the way I'd recommend, you can give users write access to the /root/.xbmc folder:
Code:
sudo chmod 777 -R /root/.xbmc
find quote
puulima Offline
Senior Member
Posts: 230
Joined: May 2010
Reputation: 1
Post: #29
(2012-04-19 16:06)pumkinut Wrote:  No need to enable root. That's what sudo is for. Instead of trying to copy advancedsettings.xml back to a write protected folder, copy via SCP to /home/atv then SSH in and move it.
Code:
sudo cp /root/.xbmc/usersettings/advancedsettings.xml /root/.xbmc/usersettings/advancedsettings.xml.bak
sudo mv /home/atv/advancedsettings.xml /root/.xbmc/usersettings/

Alternatively, not the way I'd recommend, you can give users write access to the /root/.xbmc folder:
Code:
sudo chmod 777 -R /root/.xbmc

Thanks - I ended up granting the write access as I kept getting an error trying to copy the xml to a backup file. I did change the folder in the above example to userdata Wink But still an error. I've copied a test video to the userdata folder also (big buck bunny) so will try that out. Can't imagine that playing files over the network would be an issue - since it isn't on the "norm" ATV setup - but at least this will eliminate that variable and give me a solid 1080p source to test.

Looks like the command to set the permissions back is:
Code:
sudo chmod 755 -R /root/.xbmc
...is that correct?[/code]
(2012-04-19 07:40)Ned Scott Wrote:  IIRC, you need to type

./configure

When you first SSH in. Then enable the Root account.

Then SSH in using user:root password:atv

That should give you access.

Thanks for the reply Ned, saw it after I saw the subsequent reply...
(This post was last modified: 2012-04-19 17:04 by puulima.)
find quote
pumkinut Offline
Posting Freak
Posts: 875
Joined: May 2006
Reputation: 9
Post: #30
Not sure what the command to change back should be, I don't have access to my XBMC box over the internet, but 755 sounds right. Yeah, sorry about the mixup, should be userdata, not usersettings. I'm going off of memory. Usually when I print out full paths, I have an XBMC box handy that I can SSH into to verify things.
find quote
Post Reply