summaryrefslogtreecommitdiffstats
path: root/bindings/python
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * 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
* * configure.acTodd Zullinger2007-01-042-31/+32
| | | | | | | | | | | | | | | gnome-autogen.sh bindings/python/Makefile.am docs/reference/libgpod-overrides.txt docs/reference/Makefile.am: fix make distcheck, minor automake cleanups. * bindings/python/gpod.i bindings/python/gpod.i.in: rename gpod.i -> gpod.i.in. it is now generated by autoconf. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1347 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Reverse tr and sort so that output of grep/awk is sorted before changing ↵Nicholas Piper2006-12-181-1/+1
| | | | | | newlines to spaces - Todd Zullinger git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1346 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Install Python libraries to pyexecdir instead; which is not equal to ↵Nicholas Piper2006-12-131-6/+6
| | | | | | pythondir on 64bit arch. Thanks to Todd Zullinger git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1345 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* USe /mnt/ipod as the default mountpoint, to match rest of gtkpodNicholas Piper2006-12-111-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1344 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add README.in - thanks to Todd ZullingerNicholas Piper2006-12-112-0/+54
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1343 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove unused hash-bang in gtkpod.pyNicholas Piper2006-11-271-1/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1342 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
* Don't remove required files when we make clean.Nicholas Piper2006-05-291-1/+2
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1284 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add a couple of simple unit tests; use Make test to run. Runs against ↵Nicholas Piper2006-05-232-0/+68
| | | | | | _installed_ gpod bindings for now though. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1275 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
* Initial version.Nicholas Piper2006-05-194-0/+3
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1271 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-172-1/+237
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1269 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* sw_get_playlist() seems to have also (?) become lost. Maybe I've just lost a ↵Nicholas Piper2006-05-171-0/+11
| | | | | | ability to use cvs ;-) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1268 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Have errors reported with the correct path for anyone that's building ↵Nicholas Piper2006-05-171-2/+2
| | | | | | packages and using DESTDIR. Thanks to Todd Zullinger. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1267 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Support for removing tracks and playlists, local databases, checking if a ↵Nicholas Piper2006-05-152-48/+129
| | | | | | 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
* Another attempt at fixing gint64 and guint64 handling. 'Seems to work', this ↵Nicholas Piper2006-05-151-10/+12
| | | | | | time. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1263 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Stop having to list each python file in the gpod module; thanks to Todd ↵Nicholas Piper2006-05-151-10/+3
| | | | | | Zullinger git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1262 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add missing gtkpod.py ; rename playwith_ipod_api.py to use an underscore.Nicholas Piper2006-05-143-1/+100
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1261 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Allow add_song.py to create a playlist to put the new tracks intoNicholas Piper2006-05-072-11/+33
| | | | 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-075-53/+266
| | | | | | this now. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1258 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add gint8-gint64 typemaps for 'in'Nicholas Piper2006-05-061-0/+42
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1255 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Rearrange slightly, create a gpod package ready for the nicer APINicholas Piper2006-05-062-12/+19
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1254 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add sw_get_rule() to extract smart playlist rules from GList*, and hopefully ↵Nicholas Piper2006-04-253-13/+113
| | | | | | improve the guint8,16,32,64 handling git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1249 f01d2545-417e-4e96-918e-98f8d0dbbcb6