Re: [Gtkpod-questions] About newer iOS and devices

phantomjinx <[email protected]> Tue, 29 Oct 2013 11:00:02 +0000
Newsgroups gmane.comp.ipod.gtkpod,gmane.comp.ipod.gtkpod.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/29/2013 09:32 AM, "Andr=E9s G. Aragoneses" wrote:
> On 29/10/13 09:02, [email protected] wrote:
>>> BTW, if libgpod doesn't support devices from version X of iOS, shouldn'=
t libgpod emit an
>>> error (fail fast), so the consumers of the library (media players) can =
tell the user about
>>> it, instead of fail miserably and make the user think that the media pl=
ayer is buggy?
>> =

>> Yes, I also stumbled over this. The music was copied to the device but i=
t just wasted space,
>> since the iTunesDB was not properly written.
> =

> Great, are you a libgpod dev? I'm willing to look at this specific bug, s=
o if someone could
> give me some pointer to start diving on the code? First question is: is t=
here a reliable way to
> know the iOS version that a device is running?
> =


You'll probably want to clone the git repository at have a look at

https://sourceforge.net/p/gtkpod/libgpod/ci/master/tree/src/itdb_device.c

* itdb_device_get_checksum_type (1907),
* called by itdb_device_write_checksum (1985)

The fact that the checksum returned is ITDB_CHECKSUM_UNKNOWN could be a
useful guide for error handling as well as the writing of the checksum
returning false.

Regards

PGR

- -- =

Paul Richardson

  * [email protected]
  * [email protected]
  * [email protected]

"I know exactly who reads the papers ...

  * The Daily Mirror is read by people who think they run the country.
  * The Guardian is read by people who think they ought to run the country.
  * The Times is read by people who do actually run the country.
  * The Daily Mail is read by the wives of the people who run the country.
  * The Financial Times is read by the people who own the country.
  * The Morning Star is read by the people who think the country ought to b=
e run by another country.
  * The Daily Telegraph is read by the people who think it is."

Jim Hacker, Yes Minister

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJvlSoACgkQcthLMIwdEb1XBwCg8ybuvhp1oKbij2ZbBEJlyyHH
710AmwT4G+9g++2I2zVpg7AakOqaVI6q
=3DDRvR
-----END PGP SIGNATURE-----

---------------------------------------------------------------------------=
---
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=3D65839951&iu=3D/4140/ostg.cl=
ktrk