summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * docs/reference/tmpl/device.sgmlJorg Schuler2007-04-2715-181/+435
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docs/reference/tmpl/itunesdb-time.sgml docs/reference/tmpl/libgpod-unused.sgml docs/reference/tmpl/track.sgml src/db-artwork-parser.c src/db-artwork-writer.c src/db-itunes-parser.h src/itdb.h src/itdb_device.c src/itdb_device.h src/itdb_itunesdb.c src/itdb_private.h tests/Makefile.am: Christophe's patch for automatic correction of timestamps depending on which timezone the iPod is set to. ATTENTION DEVELOPERS: as a consequence all exported timestamps are no longer guint32 mac-type timestamps but standard time_t timestamps. This also includes the 64 bit timestamps in smart playlists. The following functions are therefore no longer needed and are deprecated: itdb_time_mac_to_host(), itdb_time_host_to_mac(): simply return the argument without changing it. Argument and return value are now both of type 'time_t'. itunesdb_time_get_mac_time(): returns the seconds passed since Epoch in seconds and is equivalent to time(NULL). These functions may be removed in a future version of libgpod. Programs linking to libgpod may need to be changed slightly if they made any assumptions on the type of timestamps used. This should be obvious through compile-time warnings. tests/test-ls.c: print a list of recently played tracks. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1417 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* put down the pipe and commit something that should actually work...Todd Zullinger2007-04-161-2/+4
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1416 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* use the mac-style path for filename_ipod in the extended info file, like ↵Todd Zullinger2007-04-162-1/+6
| | | | | gtkpod does git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1415 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2007-04-14 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2007-04-145-3/+85
| | | | | | | | | * src/itdb_device.c: add itdb_device_supports_artwork and idb_device_supports_photo functions * docs/reference/tmpl/device.sgml: update api doc * src/itdb_itunesdb.c: don't try to write artwork database if the iPod model doesn't support artwork. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1414 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.h: changed 'gchar *chapterdata' to 'gpointerJorg Schuler2007-04-083-9/+15
| | | | | | | | chapterdata' with note that chapterdata is not yet supported. * src/itdb_track.c (itdb_track_duplicate): arrange the strings in the same order as in Itdb_Track for easier error-checking. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1413 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add missing tests/Makefile.am fileNicholas Piper2007-03-271-0/+11
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1412 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Use build-tree libraries for Python test, not the installed set.Nicholas Piper2007-03-264-3/+13
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1411 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add some PhotoDB reading features, thanks to John Carr for prompting.Nicholas Piper2007-03-264-3/+432
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1410 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: streamline MHOD52 patch (remove mk_mhod52()Jorg Schuler2007-03-252-190/+182
| | | | | and let mk_mhod() handle the sorting of mhod52 directly). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1409 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: Write out MHOD52 hunks after masterJorg Schuler2007-03-232-7/+266
| | | | | | | playlist. This speeds up the iPod interface when browsing titles or albums etc. because the iPod won't have to sort through the track list. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1408 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c (write_playlist): corrected what is writtenJorg Schuler2007-03-222-6/+9
| | | | | | into the mhyp header according to the iTunesDB wiki (mhod count / libmhod count) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1407 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * docs/reference/libgpod-sections.txt: added descriptions byJorg Schuler2007-03-214-0/+40
| | | | | Christophe Fergeau. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1406 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2007-03-216-6/+194
| | | | | | | | | | | | src/itdb_artwork.c src/itdb_photoalbum.c src/itdb_track.c src/ithumb-writer.c: Added new API functions: itdb_photodb_add_photo_from_pixbuf function(), itdb_track_set_thumbnails_from_pixbuf() and itdb_artwork_add_thumbnail_from_pixbuf(). Thanks to Christophe Fergeau. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1405 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c (itdb_cp_track_to_ipod): cast filenameJorg Schuler2007-03-213-2/+24
| | | | | | | extension to lowercase because some people reported new iPod models choking on filenames with uppercase extensions like test.MP3. Not sure if it helps, though. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1404 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_artwork.c (itdb_artwork_remove_thumbnail): memory usedJorg Schuler2007-03-212-2/+12
| | | | | | | | | by thumbnail to be removed will be freed now. ATTENTION: this changes the previous API description that stated that the thumbnail will not be freed. This behaviour was inconsistent with all other _remove functions in libgpod and caused a memory hole. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1403 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* only descend into the python subdir if HAVE_PYTHON is set, this avoids some ↵Todd Zullinger2007-03-022-0/+8
| | | | | problems with the Makefiles created by automake 1.7 git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1402 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* allow the use of nicer version strings in AM_CHECK_PYMODTodd Zullinger2007-02-273-3/+10
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1401 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* build docs when creating tarballsTodd Zullinger2007-02-273-1/+13
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1400 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* include newly added declarations / remove unused declarations / fix a few ↵Todd Zullinger2007-02-271-1/+3
| | | | | warnings when generating the docs git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1399 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2007-02-255-22/+93
| | | | | | | | | | | | | src/itdb_itunesdb.c src/itdb_playlist.c: introduced splft_binary_and as separate field type as this will simplify handling in applications. * src/itdb_itunesdb.c (get_mhod, mk_mhod): replaced if()... with a switch()... to catch changes made to SPLFieldType more easily. * src/itdb.h: introduced Itdb_Mediatype enum. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1398 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c (get_mhod): don't skip unknown action typesJorg Schuler2007-02-242-39/+44
| | | | | | in smart rules to avoid writing illegal smart playlist rules corrupting the iTunesDB in the process. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1397 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2007-02-245-43/+125
| | | | | | | | | src/itdb_itunesdb.c src/itdb_playlist.c: Updated smart playlist handling to recognize album artist, tv show, last skipped, season number, skipcount and video kind fields. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1396 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-itunes-parser.hJorg Schuler2007-02-243-3/+12
| | | | | | src/artwork-writer.c: Set unknown2 of mhfd header to 2 instead of 1, otherwise iTunes7 wipes the ArtworkDB. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1395 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * ChangeLogJorg Schuler2007-02-128-134/+140
| | | | | | | | | | | | INSTALL_CVS configure.ac bindings/python/gtkpod.py bindings/python/ipod.py bindings/python/examples/add_song.py bindings/python/examples/create_mp3_tags_from_itdb.py: updates and fixes from Nicholas Piper. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1394 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Translate track attributes to UTF-8 (dropping any chars we can't do), and if ↵Nicholas Piper2007-02-101-2/+2
| | | | | there is no title tag in the mp3 then use the filename (not the whole pathname) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1393 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Cope with invalid/not available mp3 tagsNicholas Piper2007-02-101-13/+24
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1392 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c: reduced maximum size for ithmb files fromJorg Schuler2007-02-092-2/+9
| | | | | 500 MB to 256 MB after reports of slow iPod interface behavior. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1391 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Correction to how we fall back to using md5_hash entry from ext database if ↵Nicholas Piper2007-01-231-3/+9
| | | | | sha1_hash key isn't found. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1390 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2007-01-183-5/+11
| | | | | | src/itdb_itunesdb.c (itdb_cp_track_to_ipod): changed declaration of 'filename' from "gchar *" to "const gchar *". git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1389 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* s/eye3D/eyeD3/ in python requirementsTodd Zullinger2007-01-161-1/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1388 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/fr.po: updated French catalog -- thanks to Éric LassaugeJorg Schuler2007-01-162-97/+104
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1387 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: bumped version to 0.4.3-CVS for further developmentJorg Schuler2007-01-152-2/+4
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1386 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: bumped version to 0.4.2 for releaseJorg Schuler2007-01-152-22/+30
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1384 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Run 'make update-po'Jorg Schuler2007-01-157-293/+333
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1383 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * tests/test-photos.c: change "error" to "warning" in warningJorg Schuler2007-01-151-1/+1
| | | | | message. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1382 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * INSTALL_CVS:Jorg Schuler2007-01-154-3/+28
| | | | | | | | TROUBLESHOOTING: short note about the python packages required to build the python bindings. * Makefile.am: added TROUBLESHOOTING to EXTRA_DIST git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1381 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/de.po: updated German catalogJorg Schuler2007-01-152-167/+185
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1380 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Always ended up "modified" after a 'make dist' -> check in.Jorg Schuler2007-01-151-140/+0
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1379 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* created new ignore fileJorg Schuler2007-01-150-0/+0
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1378 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * .cvsignoreJorg Schuler2007-01-151-0/+11
| | | | | | | | | | | | | po/.cvsignore tests/.cvsignore: updated with additional files to ignore. * bindings/.cvsignore: bindings/python/.cvsignore bindings/python/docs/.cvsignore docs/.cvsignore docs/reference/.cvsignore m4/.cvsignore: created new ignore files git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1377 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/ja.po: updated Japanese catalog -- thanks to Kentaro FukuchiJorg Schuler2007-01-152-168/+194
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1376 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* add some of Nick's recent work on the python bindingsTodd Zullinger2007-01-151-0/+21
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1375 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* update instructions for creating a tarball, --enable-gtk-doc is no longer neededTodd Zullinger2007-01-151-11/+7
| | | | | | remove warning to use CVS instead of the releases add note about using automake-1.9 for those interested in some minor python-related improvements git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1374 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* build bindings after docs so the gtk-docs can be converted and usedTodd Zullinger2007-01-151-1/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1373 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* add support files for converting gtk-docs to python docstringsTodd Zullinger2007-01-152-0/+140
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1372 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/sv.po: updated Swedish catalog -- thanks to Stefan AsserhallJorg Schuler2007-01-152-44/+50
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1371 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* At a suggestion from Todd, attempt to fix writing unicode values. Ideally, ↵Nicholas Piper2007-01-141-1/+15
| | | | | the caller will either have not changed the userdata items OR will have populated them with unicode objects. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1370 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Correction to 1.4 - sha1/md5_hash handling in ext db. Also, don't write ↵Nicholas Piper2007-01-141-4/+9
| | | | | filename_ipod if we don't have a value for it. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1369 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* If the Database was garbage collected, then any Tracks would be corrupt. ↵Nicholas Piper2007-01-141-3/+9
| | | | | Keep a reference to the Database to avoid this. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1368 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Support sha1_hash entries in the extended database as well as md5_hash. ↵Nicholas Piper2007-01-141-8/+17
| | | | | Thanks to Todd for noticing. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1367 f01d2545-417e-4e96-918e-98f8d0dbbcb6