summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * tools/read-sysinfoextended-sgutils.c: (main): use g_build_filenameChristophe Fergeau2007-09-282-2/+7
| | | | | | | | instead of itdb_resolve_filename since the latter will fail if SysInfoExtended does not already exist git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1706 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove trailing whitespaceChristophe Fergeau2007-09-271-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1705 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix make distcheckChristophe Fergeau2007-09-273-32/+33
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1704 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2007-09-27 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2007-09-275-2/+184
| | | | | | | | | | | | | * configure.ac: build tool to generate the iPod SysInfoExtended file if sgutils is detected * Makefile.am: * tools/ * tools/Makefile.am: changes to optionally build the sgutils-based tool * tools/read-sysinfoextended-sgutils.c: (do_sg_inquiry), (read_sysinfo_extended), (main): new file, reads the SysInfoExtended file from the iPod using SCSI queries git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1703 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: (calculate_db_checksum),Christophe Fergeau2007-09-275-11/+28
| | | | | | | | | | | | | (itdb_write_checksum): * src/itdb_sha1.c: (itdb_compute_hash): * src/itdb_sha1.h: propagate the calculated checksum length as an out parameter to the checksumming functions, fixes a bug where a partial checksum would be written if it contained a \0 * tests/test-checksum.c: (calculate_db_checksum): update test program to that API change git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1702 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c: remove "read only" notice on Nano VideoJorg Schuler2007-09-262-3/+13
| | | | | | | | | | description. * ChangeLog: explained better about SysInfo* files. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1701 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Forgot to add itdb_sysinfo.cJorg Schuler2007-09-242-0/+270
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1699 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* ** code courtesy of Christophe Fergeau **Jorg Schuler2007-09-2413-27/+1281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/itdb_itunesdb.c (mk_mhbd): write extended header needed for new iPod Nanos (3G Video) and iPod Classics. src/itdb_device.c src/itdb_device.h: Code to parse SysInfoExtended and SysInfo for the FireWireGUID. You must either copy the iPod description XML file to Device/SysInfoExtended or add a line 'FirewireGuid: 000A27....' to Device/SysInfo. You can get your FirewireGuid by using the tests/test-fw-id test program. * src/sha1.c src/sha1.h src/itdb_sha1.c src/itdb_sha1.h New files for obscure hash generation code. * src/Makefile.am: added new files. * tests/test-checksum.c tests/test-fw-id.c tests/Makefile.am: test programs to retrieve the FirewireGuid and calculate/write the obscure hash. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1698 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c:Jorg Schuler2007-09-156-116/+305
| | | | | | | | | | | | | | | | | | | | | Re-organized the representation of iPod models -- instead of 1st to 7th generation more well-known names like "iPod Nano 1G", "iPod Nano 2G"... are used. Added untested support for iPod Classic Artwork. Not clear which thumbnail type is used for what. src/itdb_track.c (itdb_track_set_thumbnails_internal): Please note: itdb_track_set_thumbnails() needs to be thought over to make sure all thumbnail types are added properly. Please see note in itdb_track.c for details. src/itdb.h: Added symbols for the new representation indicated above: ITDB_IPOD_GENERATION_*, ITDB_IPOD_MODEL_* git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1695 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-image-parser.cJorg Schuler2007-09-0811-38/+551
| | | | | | | | | | | | | | | | | | | | | | | | | | src/itdb_device.c src/ithumb-writer.c src/db-image-parser.h src/itdb_device.h src/itdb.h src/itdb_artwork.c tests/test-covers.c: added support to read and write coverart on iPhones. New cover formats are: MEDIUM, XLARGE, XSMALL, SMEDIUM -- should be renamed if function becomes clearer. Introduced New image formats for the thumbnails (THUMB_FORMAT_RGB555, THUMB_FORMAT_REC_RGB555). Coding/decoding functions are pack_/unpack_RGB_555() and pack_/unpack_REC_RGB_555(). Introduced possible padding for thumbnail files (Itdb_ArtworkFormat). * src/db-artwork-parser.c: make output filename unique. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1691 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c (itdb_get_control_dir):Jorg Schuler2007-09-045-3/+21
| | | | | | | | | | | | | | | added support for iPhones * itdb.h: added ITDB_IPOD_MODEL_IPHONE_1 enum * itdb_device.c: added iPhone description TODO: define artwork definition in itdb_device.c -- currently artwork is not supported. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1690 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_artwork.c (itdb_thumb_get_filename): checkJorg Schuler2007-08-182-3/+9
| | | | | | | | returnvalue of strchr(). Thanks to Javier Kohen. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1685 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb (itdb_parse): don't callJorg Schuler2007-08-182-24/+31
| | | | | | | | ipod_parse_artwork_db() if iTunesDB was not read successfully. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1682 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: make calls to utf16_strlen()Jorg Schuler2007-08-182-27/+22
| | | | | | | | unnecessary. Thanks to Javier Kohen for the patch. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1680 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-artwork-writer.c (write_mhod_type_3): don't assume thatJorg Schuler2007-08-182-14/+29
| | | | | | | | | | | | length of a utf16 string is twice the length of a utf8 string (even though this was safe here because the strings in question were ASCII). (write_mhod_type_1), (write_mhod_type_3): Don't pad by 4 bytes as this achieves nothing. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1679 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove mention of the short period where time_t access was not possible.Nicholas Piper2007-08-081-7/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1675 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Move PyDateTime_IMPORT outside of ifdef HAVE_GDKPIXBUF + HAVE_PYGOBJECT, ↵Nicholas Piper2007-08-081-1/+1
| | | | | | including it there was a merge error git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1674 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Todd's improvements to the Python README (insert libgpod version numbers ↵Nicholas Piper2007-08-081-13/+13
| | | | | | into the timestamp access table git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1673 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Try to deal with typestamps in a sane way in the Python bindingsNicholas Piper2007-08-075-3/+146
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1672 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* remove duplicate copyright headerTodd Zullinger2007-08-042-25/+5
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1669 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* cleanup some trailing whitespaceTodd Zullinger2007-07-312-15/+20
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1664 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* ignore reserved (and chapterdata) attributes which are returned as gpointersTodd Zullinger2007-07-311-3/+8
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1663 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* merge changes from the bug-1723660 branchTodd Zullinger2007-07-3110-77/+326
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1662 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* ensure that bindings/python/examples/save_photos.py is included in tarballsTodd Zullinger2007-07-162-4/+14
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1653 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/ro.po: nobody told me I forgot to actually add this file toJorg Schuler2007-07-122-0/+679
| | | | | | | | the repository... git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1634 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add version and version_info attributes to the Python bindingsNicholas Piper2007-07-124-1/+21
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1633 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* make the test for xsltproc more robust (read as: make it suck less)Todd Zullinger2007-07-121-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1632 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* try to convert the xml docs into python docstrings even when ENABLE_GTK_DOC ↵Todd Zullinger2007-07-112-5/+12
| | | | | | isn't set so that tarball builds can get the full documentation in python. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1631 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.acJorg Schuler2007-07-082-1/+6
| | | | | | | | po/ro.po: added Romanian catalog. Thanks to Alex Eftimie. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1628 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* fix a few typosTodd Zullinger2007-07-053-8/+12
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1624 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* remove references to Mac type timestampsTodd Zullinger2007-07-052-14/+15
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1623 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* s/PACKAGE_/LIBGPOD_/ in configuration outputTodd Zullinger2007-07-052-3/+8
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1622 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* updated French translation (thanks to Eric Lassauge)Todd Zullinger2007-07-042-18/+20
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1619 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* noted that python bindings now use the mutagen module instead of eyeD3Todd Zullinger2007-07-022-1/+6
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1616 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* With Rev. 1614:Jorg Schuler2007-06-291-0/+7
| | | | | | | | | | | * po/libgpod.po: added to SVN repository (new translators may be looking for it -- like yesterday). * po/*.po: run 'make update-po'. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1615 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Added po/libgpod.potJorg Schuler2007-06-298-385/+1020
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1614 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* include tests.py in EXTRA_DISTTodd Zullinger2007-06-292-2/+9
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1613 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_artwork.c (itdb_thumb_free, itdb_thumb_duplicate): fixJorg Schuler2007-06-292-0/+10
| | | | | | | | | compile time error when compiling without GDKPIXBUF. Alternative fix: add '#include <glib-object.h>'. Thanks to Olivier Crête. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1612 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove hard coding of _proxied_attributesNicholas Piper2007-06-282-18/+8
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1608 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* bump version to 0.5.3SVN for further developmentTodd Zullinger2007-06-232-2/+5
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1583 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* bump version for 0.5.2 releaseTodd Zullinger2007-06-232-1/+6
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1581 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c (mhod52_make_collate_keys): ignore emptyJorg Schuler2007-06-232-6/+15
| | | | | | | | | sort strings -- fixes multiple display of same album on the iPod. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1580 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * TROUBLESHOOTING: comment concerning namespace cleanupJorg Schuler2007-06-182-0/+17
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1559 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* bump version and soname for 0.5.0 releaseTodd Zullinger2007-06-182-4/+7
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1556 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* add glib version and gobject-2.0 to 'Requires:'Todd Zullinger2007-06-172-3/+8
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1554 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.h: corrected description for "BPM" (beats per minute)Jorg Schuler2007-06-172-1/+3
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1552 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.cJorg Schuler2007-06-173-25/+38
| | | | | | | | | | | | | src/itdb.h: libgpod will not change the values for sort_artist. Furthermore, libgpod reads the stored values of sort_artist/_album... from the iTunesDB and makes them available through the Itdb_Track structure. Applications should modify these values along with the corresponding artist/album... fields if a particular sort order is required. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1549 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/es.po: new version updated by Alejandro Lamas Daviña.Jorg Schuler2007-06-148-552/+658
| | | | | | | | make update-po git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1547 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/ja.poJorg Schuler2007-06-114-5/+13
| | | | | | | | | | | po/sv.po po/it.po: Changed license to "same as gtkpod" to "same as libgpod" after consulting with translators. Waiting for response from the Hebrew and Spanish translators. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1545 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* rename INSTALL_CVS to INSTALL_SVNTodd Zullinger2007-06-031-0/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1524 f01d2545-417e-4e96-918e-98f8d0dbbcb6