summaryrefslogtreecommitdiffstats
path: root/bindings/python/ipod.py
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: 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: Be more consistent with other container objects and classesTodd Zullinger2008-08-231-4/+54
| | | | | | | | 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-231-2/+5
| | | 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-201-65/+14
| | | | | | | 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-171-2/+2
| | | 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
* 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
* Try to deal with typestamps in a sane way in the Python bindingsNicholas Piper2007-08-071-1/+4
| | | 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-311-14/+83
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1662 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
* 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 some PhotoDB reading features, thanks to John Carr for prompting.Nicholas Piper2007-03-261-0/+246
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1410 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * ChangeLogJorg Schuler2007-02-121-57/+78
| | | | | | | | | | | | 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
* 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
* Use gtkdoc documentation for python docstrings, topped up with docstrings by ↵Nicholas Piper2007-01-141-15/+224
| | | | | Todd Zullinger. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1366 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Catch up with flag2->skip_when_shuffling, flag3->remember_playback_position ↵Nicholas Piper2006-05-301-17/+7
| | | | | renames and remove flag1. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1293 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix some Playlist handling - len(), creating without kwargs.Nicholas Piper2006-05-231-5/+5
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1274 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Assume local if localdb is specifiedNicholas Piper2006-05-191-1/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1270 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Config file for DoxygenNicholas Piper2006-05-171-1/+4
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1269 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Support for removing tracks and playlists, local databases, checking if a ↵Nicholas Piper2006-05-151-20/+106
| | | | | track is in a playlist, delayed copies, etc. I really did think I already committed this. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1265 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Allow searching for playlists by id, name and numberNicholas Piper2006-05-151-5/+63
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1264 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Allow add_song.py to create a playlist to put the new tracks intoNicholas Piper2006-05-071-2/+11
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1259 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Track, Database and Playlist support for the nicer API. add_song.py uses ↵Nicholas Piper2006-05-071-12/+191
| | | | | this now. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1258 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Very start of a much nicer API from PythonNicholas Piper2006-04-091-0/+147
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1242 f01d2545-417e-4e96-918e-98f8d0dbbcb6