From: David <wiz...@gm...> - 2008-01-16 20:29:08
|
On Jan 16, 2008 9:52 PM, Pieter De Decker <pde...@gm...> wrote: > > > Command-line tools for ipod:gnupod-tools > > > Okay, so I played a song that I've never played or rated before, I gave it a > rating and then checked its rating and play count using gnupod_search. > > The program returned this: > > RTNG|CNT > > ========== > > 0 |0 > > > (the rating should have been 3 and the play count should have been 1) > > This is interesting. gnupod-tools also fails to fetch the correct > information. Hmm... do gnupod-tools and libgpod have some code in common? > I think that gnopod-tools is an independent implementation in perl. It doesn't have any libgpod dependencies. These are all the Debian packages (testing/lenny) which have a libgpod dependancy: rhythmbox python-gpod libgpod3-nogtk libgpod-dev libgpod-common kipi-plugins gtkpod amarok The simplest to use from the command line would probably be python-gpod. It has examples under /usr/share/doc/python-gpod/examples/. play_with_ipod_api.py is probably a good starting point for experimentation. The docs say that it maps fairly closely to the C libgpod API. David. |