summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* I think I'm abusing a Swig internal implementation detail here; and they ↵Nicholas Piper2006-02-251-3/+3
| | | | | | changed it a little. Update so we can still compile. Using swig at least above 1.3.23. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1209 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac, po/es.po: added Spanish translation catalogJorg Schuler2006-02-243-1/+244
| | | | | | | (thanks to Azael Avalos) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1208 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ipod-device.c: added HP type color photo ipod 'S492'. ThanksJorg Schuler2006-02-192-2/+6
| | | | | | | to David Desrosiers. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1207 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * libgpod-1.0.pc: added gobject-2.0 to 'Requires:' listJorg Schuler2006-02-192-0/+13
| | | | | | | | * src/db-itunes-parser.h: add '#pragma pack(4)' to fix 64bit issue with padding (at least as a temporary fix). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1206 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ipod-device.c: (ipod_device_set_property): fixed bug thatJorg Schuler2006-02-143-14/+18
| | | | | | | | caused ipod-detection to fail if hal daemon was not running. As a consequence cover art was not written to the iPod. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1205 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/ja.po: updated Japanese catalog -- thanks to Kentaro FukuchiJorg Schuler2006-02-142-7/+9
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1204 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* *** empty log message ***Jorg Schuler2006-02-141-86/+154
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1203 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: (itunesstats_read) Fixed error when readingJorg Schuler2006-02-042-3/+9
| | | | | | | | the Shuffle's stat file (0x18 was used as minimal record length instead of decimal '18'). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1202 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c, src/itdb_playlist.c, src/ithumb-writer.c:Jorg Schuler2006-02-034-88/+99
| | | | | | | | | removed nested-functions. Thanks to Brian Jackson for the patch (he was not the only to send patches -- please, nobody feel offended that I didn't act sooner). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1201 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* (ipod_device_get_model_index_from_table): fix warning aboutJorg Schuler2006-01-032-2/+5
| | | | | | | unused computed value (thanks to Martin Aumueller) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1200 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ipod-device.c: (ipod_device_set_property) check hal_contextJorg Schuler2006-01-032-6/+19
| | | | | | | | | | before accessing it to avoid segfault when hald is not running. (ipod_device_hal_initialize) fixed memory leak: 'error' was not freed if libhal_ctx_init() failed. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1199 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ipod-device.c: don't ignore return value ofJorg Schuler2005-12-182-10/+23
| | | | | | | fread/fwrite/ftell because of possible compiler warnings. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1198 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * bumped version to 0.3.1 for CVS version.Jorg Schuler2005-12-112-1/+3
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1197 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * bumped version to 0.3.0 for release.Jorg Schuler2005-12-112-3/+5
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1195 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * README: added quick HOWTO use libgpodJorg Schuler2005-12-112-6/+70
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1194 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_artwork.c: (itdb_thumb_get_gdk_pixbuf) allow to getJorg Schuler2005-12-113-30/+83
| | | | | | | | | pixbuf even if no iPod is present if the thumbnail points to a local filename. This way artwork support is also possible on the 'Local' repository in gtkpod (or any other application). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1193 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c: fixed typo leading to segfault.Jorg Schuler2005-12-102-2/+12
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1192 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/hal-common.c: reverse order of include statements to fixJorg Schuler2005-12-091-2/+2
| | | | | | | compilation error on some systems. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1191 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_artwork.c: fix compilation problem when gdkpixbuf isJorg Schuler2005-12-091-1/+3
| | | | | | | not present. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1190 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c: create Artwork directory when attempting toJorg Schuler2005-12-092-0/+14
| | | | | | | write to it. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1189 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: change g_assert to g_return_if_fail (don'tJorg Schuler2005-12-064-7/+21
| | | | | | | | | | | | | | | | | | terminate the application just because the iTunesDB was manipulated). * src/db-artwork-parser.c: change g_assert to g_return_if_fail (don't terminate the application just because the ArtworkDB was manipulated). * src/itdb_artwork.c: change g_assert to g_return_if_fail (don't terminate the application just because the ithmb file was manipulated). There's a number of g_asserts left in db-parse-context.c which don't catch programming errors but input errors. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1188 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_track.c: take care of artwork_size/_count a littleJorg Schuler2005-12-045-65/+160
| | | | | | | | | | | better, take care of dbid2 a little better. * src/ithumb-writer.c: new ithumb_rearrange_thumbnail_file() taking into account multiple references to the same slot. ithumb-writer now cleans up 0 Byte files. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1187 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* One more detail for the consistent size stuff.Jorg Schuler2005-12-041-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1186 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix warning about Artwork sizes when importing database.Jorg Schuler2005-12-041-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1185 f01d2545-417e-4e96-918e-98f8d0dbbcb6