summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * Created new branch "photo-support" for testing of photoJorg Schuler2006-05-061-0/+9
| | | | | | | | | support. Comes complete with a test program to add photos to your iPod. Works great for me -- thanks to Mikey! Update your repository with the "-r photo-support" option to get a copy and help testing. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1257 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
* * src/itdb_itunesdb.c: avoid segfault if album field of podcastsJorg Schuler2006-05-052-3/+15
| | | | | is not set (NULL). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1252 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: smart playlists: avoid assertionJorg Schuler2006-05-022-5/+14
| | | | | when writing rules with empty strings. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1251 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * tests/Makefile.am: removed 'test-rebuild-db' fromJorg Schuler2006-04-262-1/+8
| | | | | | | 'noinst_PROGRAM' declaration (bug reported by Jens Taprogge). 'test-rebuild-db' is only added when the taglib is detected. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1250 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
* Don't change flag1; it is automatic now as it means coverart present or notNicholas Piper2006-04-251-2/+0
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1248 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add create_mp3_tags_from_itdb.py from Thomas PerlNicholas Piper2006-04-242-2/+77
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1247 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * tests/test-rebuild-db.cc: forgot to propagate a GErrorChristophe Fergeau2006-04-122-15/+23
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1246 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * tests/test-ls.c: new test program reading and displaying the iPodChristophe Fergeau2006-04-105-1/+413
| | | | | | | | | | | | content * tests/test-rebuild-db.cc: new test program which looks for mp3 files on the iPod in the Music dir and rebuild an iPod database from that (it uses taglib to parse the tags, so it's conditionnally built depending on taglib's availability) * configure.ac: * tests/Makefile.am: build system changes to accomodate the 2 new test programs git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1245 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.h: removed dead codeChristophe Fergeau2006-04-103-18/+7
| | | | | * src/itdb_playlist.c: make spl_update2 static, kill spl_update git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1244 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * docs/Makefile.am:Christophe Fergeau2006-04-1024-253/+3011
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs/reference/Makefile.am: * docs/reference/libgpod-docs.xml: * docs/reference/libgpod-sections.txt: * docs/reference/tmpl/Internal.sgml: * docs/reference/tmpl/artwork.sgml: * docs/reference/tmpl/device.sgml: * docs/reference/tmpl/itunesdb-copying.sgml: * docs/reference/tmpl/itunesdb-db.sgml: * docs/reference/tmpl/itunesdb-lowlevel.sgml: * docs/reference/tmpl/itunesdb-time.sgml: * docs/reference/tmpl/libgpod-unused.sgml: * docs/reference/tmpl/playlists.sgml: * docs/reference/tmpl/smart-playlists.sgml: * docs/reference/tmpl/track.sgml: * docs/reference/version.xml.in: all the files below are new files needed for gtk-doc support * Makefile.am: * configure.ac: add gtk-doc support to build system * src/itdb_artwork.c: * src/itdb_device.c: * src/itdb_itunesdb.c: * src/itdb_playlist.c: * src/itdb_track.c: update inline comments in those files so that gtk-doc can pick them up to build documentation git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1243 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Very start of a much nicer API from PythonNicholas Piper2006-04-095-3/+203
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1242 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Allow fetching guint8 values into Python. Include function name in exception ↵Nicholas Piper2006-04-081-1/+5
| | | | | when checking guint8. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1241 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Correction to filename (again?), since I started to use all underscores ↵Nicholas Piper2006-04-081-1/+1
| | | | | instead of a mixture. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1240 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2006-04-08 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2006-04-082-0/+5
| | | | | * configure.ac: generate Makefile for bindings/python/examples git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1239 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Correction to filename (again?), since I started to use all underscores ↵Nicholas Piper2006-04-081-5/+3
| | | | | instead of a mixture. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1238 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove Makefile, which is generated and shouldn't be in CVS.Nicholas Piper2006-04-081-416/+0
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1237 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix adding to podcast playlist, support adding multiple songs at once and ↵Nicholas Piper2006-04-081-44/+80
| | | | | support downloading mp3 first. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1236 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Update EXTRA_DISTNicholas Piper2006-04-081-2/+3
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1235 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Provide typemap for guint8, and use to provide podcast support in ↵Nicholas Piper2006-04-082-3/+37
| | | | | add_songs.py example. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1234 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Used wrong variable when printing we couldn't read the ipod. Avoid ↵Nicholas Piper2006-04-081-2/+2
| | | | | ampersands in the search query as well as double quotes. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1233 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove double quotes from search term, and remove 12" too.Nicholas Piper2006-04-071-3/+6
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1232 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Delete the temp files AFTER we finish writing to the ipod.Nicholas Piper2006-04-071-3/+6
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1231 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Cleanup temp files after we're done.Nicholas Piper2006-04-071-2/+8
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1230 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Avoid leaving my key lying around. A bit late.Nicholas Piper2006-04-071-1/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1229 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Clean up this directory a little, and improve coverart fetching.Nicholas Piper2006-04-075-17/+121
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1228 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2006-04-03 Jorg Schuler <jcsjcs at users.sourceforge.net>Jorg Schuler2006-04-0520-611/+1835
| | | | | | | | | | | | | | | | | | | | | | | | | * itdb.h: flag1 -> has_artwork * itdb_track.c: (itdb_track_set_thumbnails, itdb_remove_thumbnails) set has_artwork flag correctly. 2006-04-01 Jorg Schuler <jcsjcs at users.sourceforge.net> * itdb.h: unk178 -> mark_unplayed * itdb_itunesdb.c: reset the mark_unplayed flag when playcount is detected. 2006-03-31 Jorg Schuler <jcsjcs at users.sourceforge.net> * po/es.po: replaced with version from Alejandro Lamas who maintains the gtkpod translation as well. 2006-03-29 Jorg Schuler <jcsjcs at users.sourceforge.net> * itunesdb.c: set filetype identifier when transfering track to the iPod. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1227 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itunesdb.c: set filetype identifier when transfering track toJorg Schuler2006-03-293-9/+29
| | | | | the iPod. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1226 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Alpha version of reversed-endian Artwork writing. Status: iTunesDBJorg Schuler2006-03-2318-211/+478
| | | | | | | | | | can be written and is accepted on mobile phones, ArtworkDB can be read and be written as well, but newly added artwork will not yet display. * itdb.h: adjusted a couple of field lengths (4 byte -> 2 byte or even 1 byte) to address endian issues. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1225 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c (itdb_write_file): move endianess autodetectionJorg Schuler2006-03-183-6/+10
| | | | | to a place before calling ipod_write_artwork_db(). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1224 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Removed leftover debuggin printfsJorg Schuler2006-03-171-5/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1223 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c (mk_mhod): fixed bug when writing podcast urls.Jorg Schuler2006-03-172-3/+12
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1222 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * simplified some code by using itdb_get_path() instead ofJorg Schuler2006-03-172-2/+7
| | | | | | | itdb_resolve_path(). * itdb_itunesdb.c (itdb_get_path): fixed bug. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1221 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_device.[ch]: rewrote ipod-device.c, removed all hal-code,Jorg Schuler2006-03-1621-2522/+925
| | | | | | | | | | | | | | | removed all code irrelevant to writing the iTunesDB and ArtworkDB. * autodetect iControl directory now also works for ArtworkDB. * db-artwork-parser.c (ipod_db_get_artwork_db_path): create Artwork directory if not already present. * itdb.h: Itdb_iTunesDB: moved mountpoint and musicdirs into private Itdb_Device. Use itdb_set_mountpoint() and itdb_get_mountpoint() to access the mountpoint. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1220 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb.h, itdb_itunesdb.c: added functions for autodetection ofJorg Schuler2006-03-143-57/+161
| | | | | | | iControl directory (currently either <mp>/iPod_Control or <mp>/iTunes/iTunes_Control): itdb_get_control_dir() and itdb_get_itunes_dir() git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1219 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb.h: added movie_flag and lyrics_flag to Itdb_TrackJorg Schuler2006-03-124-194/+679
| | | | | | | | | | | | | * itdb.h, itdb_itunesdb.c, itdb_private.h: added support for mobile phone reversed-endian iTunesDB. Please note that you have to rename the folder iTunes_Control to iPod_Control manually. to write reversed-endian files, itdb->reversed must be set to TRUE. When reading an iTunesDB the endianess is detected automatically and itdb->reversed set appropriately. Only the inversed iTunesDBs, 'Play Counts', and OTG playlist files are read yet. The ArtworkDB and thumbnail files cannot be parsed yet. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1218 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * ipod-device.c: added entries for iPod Nano 1 GB black and whiteJorg Schuler2006-03-092-1/+8
| | | | | (thanks to Leonhard Gruenschlos) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1217 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Undoing the last CVS checkin -- I was in the wrong directory. Sorry for that.Jorg Schuler2006-03-093-278/+69
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1216 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * ipod-device.c: added entries for iPod Nano 1 GB black and whiteJorg Schuler2006-03-093-69/+278
| | | | | (thanks to Leonhard Gruenschlos) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1215 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: enable/disable switches for gdk and hal. Thanks toJorg Schuler2006-03-082-11/+31
| | | | | Olivier Crête git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1214 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: bumped version to 0.3.3 for new CVS version.Jorg Schuler2006-03-042-1/+5
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1212 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: bumped version to 0.3.2 for release.Jorg Schuler2006-03-044-9/+23
| | | | | | | | | | * db-artwork-writer.c: increased IPOD_MMAP_SIZE from 2 to 16 MB as a temporary workaround until a propoer solution can be implemented. * db-itunes-parser.h: replaced the #pragma pack(4) with an 'packed' attribute on _MhiiHeader only. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1211 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * ipod-device.c: (ipod_device_set_property): fixed possibleJorg Schuler2006-02-282-8/+15
| | | | | segfault when hald is present. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1210 f01d2545-417e-4e96-918e-98f8d0dbbcb6