2011-10-03, 16:03
Will have to try this later!
NEI Wrote:You need to change -ios in the regex with -atv2. I think the script is old and needs an update.
Giraff Wrote:This script is awesome, works great. I included a line to copy over the updated the updated appleremote xml file
Giraff Wrote:This script is awesome, works great. I included a line to copy over the updated the updated appleremote xml file too.
I'm wondering it it is possible to add the running of this script to the menu in nito tv for added convenience? I don't want it to be totally automated, but being able to do it from a couch would be nice. It would also make it a lot easier to keep my friends atv2 updated too.
Anyone else been thinking along these lines?
NEI Wrote:What does this update do to the remote? Where do you get it from? Thanks.
cp joystick.AppleRemote.xml /private/var/mobile/Library/Preferences/XBMC/userdata/keymaps
dssnobie Wrote:I think the ultimate solution would be an Add-on which will run the script. Just my 2c.
dpkg -i $xbmcdeb > installoutput.txt
Giraff Wrote:I've been pootin' around with this problem. Teaching myself some scripting. I've managed to run the script from within a xbmc addon. I get it to download the update but it doesn't do the actual updating. The dpkg will not run. I'm guessing this is because it's running within the program it is trying to update. Anyone have any ideas on how to do this? Is there a way to kill xbmc, and still make the script run?
I made it write the output to a file since it will not show the terminal output in the addon.
Code:dpkg -i $xbmcdeb > installoutput.txt
The output from that was a zero sized file.
scriptname&
dpkg -i $xbmcdeb 2>&1 installoutput.txt
davilla Wrote:Also, under iOS, you are not permitted to fork.