PDA

View Full Version : Python Dev Help Requested


davilla
2008-09-28, 22:57
Need an experienced python dev to show me the error of my ways ;)

Target is atvusb-creator, this is a QT4/Python app that creates the special USB flash drive required for booting the AppleTV. It does more than just create a boot disk, it creates a patchstick for installing various AppleTV plugins as well as other interesting things. Being designed for OSX/Linux/Windows.

It's working under OSX but need some python help to;

1) dd is used to inject various binaries into a disk image, as I need to run dd with a bs=1, it's slow. I'd like to move this to a python routine. a) seek to an offset, b) copy N bytes from src to dst starting at that offset. c) Don't truncate the dst file.

2) dd is used to copy the disk image to the USB device, this takes time and I'd like to update a progress bar to indicate dd status. I currently use "commands.getstatusoutput" to do the "dd" operation. dd can report status by sending a SIGINFO. So routine to do the dd but get a status update using SIGINFO.

3) Any other assistance you can add to this project.


email to davilla@xbmc.org if you are interested.

Nuka1195
2008-10-05, 02:51
Do you still want help?