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?
ATV2 and iOS nightly build semi automatic update scripts
Giraff
Junior Member Posts: 34 Joined: Jul 2004 Reputation: 0 |
2011-10-09 14:01
Post: #21
|
| find quote |
NEI
Member Posts: 113 Joined: Nov 2003 Reputation: 0 |
2011-10-09 16:51
Post: #22
Giraff Wrote:This script is awesome, works great. I included a line to copy over the updated the updated appleremote xml file What does this update do to the remote? Where do you get it from? Thanks. |
| find quote |
dssnobie
Junior Member Posts: 3 Joined: Jan 2010 Reputation: 0 |
2011-10-09 17:14
Post: #23
Giraff Wrote:This script is awesome, works great. I included a line to copy over the updated the updated appleremote xml file too. I think the ultimate solution would be an Add-on which will run the script. Just my 2c. |
| find quote |
Giraff
Junior Member Posts: 34 Joined: Jul 2004 Reputation: 0 |
2011-10-09 17:26
Post: #24
NEI Wrote:What does this update do to the remote? Where do you get it from? Thanks. I just used this to make the up and down buttons skip ten minutes. By default these are unused and the sideways buttons will only skip a little bit. There is a discussion on this topic in this thread too. I just added a line to copy the remote file to the relevant folder. Code: cp joystick.AppleRemote.xml /private/var/mobile/Library/Preferences/XBMC/userdata/keymapsI originally copied it to the xbmc program folder. That gets deleted on reinstall of a nightly update. This made me need to copy it on every xbmc update. I have since modified it to copy it to the userdata folder. That folder does not get deleted. This way you only need to copy it once, and adding it to the script is rather redundant. |
| find quote |
nick0742
Junior Member Posts: 3 Joined: Sep 2011 Reputation: 0 |
2011-10-11 07:33
Post: #25
hangs at: (Reading database ... 3643 files and directories currently installed.)
Preparing to replace org.xbmc.xbmc-atv2 10.0-9 (using xbmc-20111010-34f799e-master-atv2.deb) ... for me. ![]() edit: Nvrmd, I was just a tad impatient. It worked well |
| find quote |
RodmanSan
Junior Member Posts: 5 Joined: Oct 2011 Reputation: 0 Location: E-Troid |
2011-10-11 11:46
Post: #26
Just wanted to thank you for this script....!
Works great...and i don't need to bend my mind what the next step should be...
|
| find quote |
Giraff
Junior Member Posts: 34 Joined: Jul 2004 Reputation: 0 |
2011-10-18 21:28
Post: #27
dssnobie Wrote:I think the ultimate solution would be an Add-on which will run the script. Just my 2c. 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.txtThe output from that was a zero sized file. Repo - A few simple script to do library update. |
| find quote |
g-off
Fan Posts: 635 Joined: Aug 2011 Reputation: 3 |
2011-10-19 01:08
Post: #28
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? The script is a child process of xbmc so it hangs up too. You might be able to launch a background process script that can survive the death of its parent using Code: scriptname&You need to capture stderr (error stream) too Code: dpkg -i $xbmcdeb 2>&1 installoutput.txtAnother option is to have a script running outside of xbmc looking for a trigger, like a file appearing, that runs the update process. HOW-TO post about a XBMC for iOS problem (AKA YOU MUST POST XBMC.LOG SO WE CAN HELP) I bet you can't read the FAQ
(This post was last modified: 2011-10-19 01:11 by g-off.)
|
| find quote |
davilla
Team-XBMC Developer Joined: Feb 2008 Reputation: 58 |
2011-10-19 02:06
Post: #29
dpkg -i will not run, need user root and you are user mobile for xbmc. Also, remember that iOS restrictions still apply and there are some locations that you do not have full read/write permission.
Also, under iOS, you are not permitted to fork. MediaInfo : http://mediainfo.sourceforge.net/ Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. |
| find quote |
g-off
Fan Posts: 635 Joined: Aug 2011 Reputation: 3 |
2011-10-19 02:16
Post: #30
davilla Wrote:Also, under iOS, you are not permitted to fork. I guess I won't be writing that forking server after all . Probably a good precaution from Apple - I seem to remember uni student unix servers with literally thousands of zombie processes on them.
HOW-TO post about a XBMC for iOS problem (AKA YOU MUST POST XBMC.LOG SO WE CAN HELP) I bet you can't read the FAQ |
| find quote |


. Probably a good precaution from Apple - I seem to remember uni student unix servers with literally thousands of zombie processes on them.
Search
Help