From: Peter S. <pe...@se...> - 2009-10-02 18:32:27
|
On Tue, 2009-09-29 at 11:48 +1000, Peter Serwylo wrote: > On Fri, 2009-09-25 at 18:50 +0200, Christophe Fergeau wrote: > > > I was sent these patches for the iphone os 3.0 > > http://cgit.freedesktop.org/~teuf/libgpod/log/?h=iphone30 which I suck > > at integrating in mainline :-/ I suspect most of the code can be > > reused for the nano5g. > > I will definitely check this out (no pun intended). I've been looking > for an excuse to play around with git also, as a bzr user. > I'll grab that branch and have a read through the docs and code when I > get a chance and see if I can get it at least reading from my nano. > Alrighty, so it works (almost) fine :) The itunesCDB gets read successfully, gtkpod writes back to the sqlite database successfully. I presume it also writes back to the iTunesCDB correctly, but I'm unsure as to whether the iPod interface reads from the sqlite databases or the itunesDB file... Naturally, the only problem is the .cbk file. Using the ideas from this mammoth thread: http://www.hydrogenaudio.org/forums/index.php?showtopic=45160&st=2100&p=644564#entry644564 (gets interesting/relevant around page 85->90), where they open up their iPod in iTunes and then do something which will cause iTunes to modify any data on the device. This will recreate a new .cbk file based on the databases which are there. So databases created successfully on linux, and then the .cbk file created by iTunes. At least I think/hope that is what is happening, I will try again tomorrow and check the timestamps of each file after gtkpod and itunes interaction to see who is touching what. Obviously this isn't a long term solution, but just wanted to let you know that those patches you integrated for iphone 3.0 seem to be working for the nano5g as suspected. cheers, Pete. |