summaryrefslogtreecommitdiffstats
path: root/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Python: make Track.get_coverart() return None if artwork is absentTodd Zullinger2009-01-031-2/+4
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2192 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Python: fix sha DeprecationWarning with python-2.6Todd Zullinger2008-12-281-2/+10
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2183 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Python: Set the mediatype field for Track objectsTodd Zullinger2008-08-231-1/+9
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2112 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Python: Whitespace cleanup of tests.pyTodd Zullinger2008-08-231-5/+5
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2111 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Python: Be more consistent with other container objects and classesTodd Zullinger2008-08-232-5/+65
| | | | | | | | This enables testing whether a key exists in an object (e.g. "'title' in track") as well as iterating over a Track or Photo object's keys, values, or items. The items() and pairs() methods were renamed to values() and items(), respectively, in the Track and Photo classes. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2110 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Python: Add a quiet parameter to Database.remove() and use it in testsTodd Zullinger2008-08-232-3/+6
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2109 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Update python bindings to work with the new thumbnail API.Todd Zullinger2008-08-204-90/+20
| | | | | | | This removes sw_get_artwork_thumbnails() and the Thumbnail class from the python bindings. The get_pixbuf() function is now in the Photo class. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2108 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove references to itdb_thumb_get_gdk_pixbuf()Todd Zullinger2008-07-172-3/+3
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2050 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Write shuffle data (thanks to Diogo Dutra)Todd Zullinger2008-05-021-0/+3
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1967 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * bindings/python/examples/Makefile.amJorg Schuler2008-04-192-0/+53
| | | | | | Added fix_empty_artist_field.py provided by Thomas Perl. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1963 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* cleanup more of our dirs with make uninstallTodd Zullinger2008-03-291-0/+3
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1955 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Track.set_thumbnail() was renamed to Track.set_coverart_from_file() a long ↵Todd Zullinger2008-02-131-1/+1
| | | | | time ago git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1949 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-074-3/+133
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1672 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* cleanup some trailing whitespaceTodd Zullinger2007-07-311-15/+15
| | | 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-316-77/+257
| | | 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-161-4/+9
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1653 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add version and version_info attributes to the Python bindingsNicholas Piper2007-07-122-1/+13
| | | 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-111-5/+5
| | | | | 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
* include tests.py in EXTRA_DISTTodd Zullinger2007-06-291-1/+3
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1613 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove hard coding of _proxied_attributesNicholas Piper2007-06-281-18/+3
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1608 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* update a few more CVS references for SubversionTodd Zullinger2007-06-031-1/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1522 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* change CVS references and links to SVNTodd Zullinger2007-05-301-1/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1509 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* treat time_t as longTodd Zullinger2007-05-131-2/+2
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1433 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* treat time_t as intTodd Zullinger2007-05-121-0/+2
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1431 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Namespace cleanup part II (python bindings and documentation).Jorg Schuler2007-04-272-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | structs: SPLPref -> Itdb_SPLPref SPLRules -> Itdb_SPLRules SPLRule -> Itdb_SPLRule SPL_* -> ITDB_SPL_* enums, #defines: LIMITTYPE_* -> ITDB_LIMITTYPE_* LIMITSORT_* -> ITDB_LIMITSORT_* SPLMATCH_* -> ITDB_SPLMATCH_* SPLACTION_* -> ITDB_SPLACTION_* SPLFIELD_* -> ITDB_SPLFIELD_* SPLDATE_IDENTIFIER -> ITDB_SPL_DATE_IDENTIFIER splft_* -> ITDB_SPLFT_* splat_* -> ITDB_SPLAT_* enum SPLAction -> ItdbSPLAction enum SPLActionType -> ItdbSPLActionType enum SPLField -> ItdbSPLField enum SPLFieldType -> ItdbSPLFieldType enum ItdbLimitType (new) enum ItdbLimitSort (new) enum ItdbSPLMatch (new) removed SPL_MAXSTRINGLENGTH (use ITDB_SPL_STRING_MAXLEN) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1419 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-161-1/+1
| | | | | gtkpod does git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1415 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-262-3/+4
| | | 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-263-3/+428
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1410 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* only descend into the python subdir if HAVE_PYTHON is set, this avoids some ↵Todd Zullinger2007-03-021-0/+2
| | | | | 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
* * ChangeLogJorg Schuler2007-02-124-130/+118
| | | | | | | | | | | | 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
* 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
* 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
* 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
* Use gtkdoc documentation for python docstrings, topped up with docstrings by ↵Nicholas Piper2007-01-145-18/+279
| | | | | Todd Zullinger. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1366 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add prototypes for wrapper functions. Thanks to Todd Zullinger.Nicholas Piper2007-01-141-0/+15
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1365 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* don't include any swig built files in the tarballs.Todd Zullinger2007-01-131-5/+6
| | | | | s/SWIG_SOURCES/SWIG_INTERFACES/ to avoid a warning from automake about unused sources. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1359 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* fix more make distcheck issuesTodd Zullinger2007-01-121-25/+18
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1358 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * bindings/python/Makefile.am: correct 'make dist' failure (patchJorg Schuler2007-01-101-8/+8
| | | | | by Todd Zullinger) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1354 f01d2545-417e-4e96-918e-98f8d0dbbcb6