summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * src/ithumb-writer.c: removed re-using of thumbnail data in orderJorg Schuler2006-09-213-31/+6
| | | | | | | | to avoid incompatibility with iTunes (even though our way was more efficient...) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1317 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c: changed number of directories for 6G 8GB iPodJorg Schuler2006-09-213-7/+10
| | | | | | | Nano to 14 after user report. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1316 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: time_added and time_modified whereJorg Schuler2006-09-211-0/+5
| | | | | | | interchanged. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1315 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Sizing of pixmap did not work properly for data (non-file) coverart.Jorg Schuler2006-09-172-6/+6
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1314 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2006-09-176-60/+298
| | | | | | | | | | | | | | | | | | | src/itdb_artwork.c: added itdb_artwork_add_thumbnail_from_data(). * src/itdb.h src/itdb_track.c: added itdb_track_set_thumbnails_from_data(). * src/itdb.h src/itdb_photoalbum.c: added itdb_photodb_add_photo_from_data(). * src/itdb_artwork.c (itdb_thumb_get_gdk_pixbuf): added support to retreive thumbnail from raw data instead of file. * src/ithumb-writer.c (ithumb_writer_write_thumbnail): added support to write thumbnail from raw data instead of file. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1313 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Forgot references to artwork definitions for new colors of iPod Nano.Jorg Schuler2006-09-171-1/+5
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1312 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2006-09-173-20/+66
| | | | | | | | src/itdb_device.c: added definitions for new sixth generation iPod Videos, iPod Nanos and iPod Shuffle. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1311 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * tests/test-ls.c: added option to list contents of localJorg Schuler2006-08-212-5/+34
| | | | | | | | repository and specified playlist. Thanks to Richard Hyde for the patch. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1310 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-artwork-writer.c (ipod_buffer_grow_file): printf(3) typeJorg Schuler2006-08-181-2/+2
| | | | | | | | warnings caused compile error with FreeBSD 6.0-stable/GCC 3.4.4. Thanks to Mike Heffner for the patch. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1309 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c (itdb_write): don't crash if error ==Jorg Schuler2006-07-082-6/+12
| | | | | | | NULL (SF tracker bugs item #1519048) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1308 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c (itdb_init_ipod): only write iTunesSDJorg Schuler2006-07-022-10/+24
| | | | | | | | (shuffle database) when initializing shuffle. Thanks to James Joyce for the patch. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1307 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c (wcontents_write): added g_strerror in errorJorg Schuler2006-06-282-5/+10
| | | | | | | messages. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1306 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c: fixed endianness autodetection for big endianJorg Schuler2006-06-272-3/+9
| | | | | | | mobile phones. Thanks to Rached Ben Mustapha for the patch. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1305 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.cJorg Schuler2006-06-243-9/+56
| | | | | | | | | | src/itdb.h: Added itdb_get_itunessd_path (). itdb_init_ipod() will no longer overwrite existing iTunesDB and iTunesSD. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1304 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c (itdb_device_get_ipod_info): compare more thanJorg Schuler2006-06-102-2/+9
| | | | | | | | 4 characters of iPod model if the stored model number is more than 4 characters long. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1303 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2006-06-077-29/+162
| | | | | | | | | | | | | | | | | | | | src/itdb_device.c: Added itdb_device_write_sysinfo() and itdb_device_set_sysinfo(). * src/itdb_itunesdb.c (itdb_create_directories): Use functions introduced above. (itdb_write): Write SynsInfo file when writing the iTunesDB if SysInfo hash has been changed by application. * src/itdb_device.[ch]: mark sysinfo hash as changed/unchanged. * src/itdb_photoalbum.c (itdb_photodb_write): Write SynsInfo file when writing the iTunesDB if SysInfo hash has been changed by application. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1302 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c (itdb_create_directories): add space afterJorg Schuler2006-06-052-2/+5
| | | | | | | ":" when writing SysInfo file. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1301 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2006-06-053-8/+14
| | | | | | | | | | | | | src/itdb_device.c Rename itdb_info_get_ipod_model_name() -> itdb_info_get_ipod_model_name_string() itdb_info_get_ipod_generation_name() -> itdb_info_get_ipod_generation_string() Input on naming welcome! git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1300 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2006-06-05 Jorg Schuler <jcsjcs at users.sourceforge.net>Jorg Schuler2006-06-0421-278/+610
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/db-artwork-parser.h src/db-artwork-parserc (ipod_supports_cover_art): made available G_GNUC_INTERNAL. Added ipod_supports_photos(). * src/itdb_itunesdb.c (itdb_create_directories): Create Photos directory. 2006-06-04 Jorg Schuler <jcsjcs at users.sourceforge.net> * src/db-image-parser.c src/itdb_artwork.c src/itdb_device.c src/itdb_photoalbum.c src/itdb_track.c src/ithumb-writer.c: Phased out private IPOD_COVER_SMALL... enum in favor of identical public enum "ItdbThumbType" ITDB_THUMB_COVER_SMALL... * src/db-image-parser.c (ipod_image_new_from_mhni): Accept all thumbnail types we know about (i.e. type != -1). * src/db-artwork-debug.h src/db-artwork-parser.h src/db-image-parser.h src/db-parse-context.h src/glib-compat.h src/itdb_endianness.h: Added CVS "$Id:" line, added copyright notices where missing, added explanations to itdb_endianess.h ;-) * src/itdb_itunesdb.c src/itdb_track.c src/itdb_device.c src/itdb_device.h Made naming consistent and suitable for export: Itdb_IpodModel -> Itdb_IpodInfo ipod_model_table -> ipod_info_table itdb_device_get_model_info() -> itdb_device_get_ipod_info() MODEL_TYPE_... -> ITDB_IPOD_MODEL_... nth_GENERATION -> ITDB_IPOD_GENERATION_nth Exported Itdb_IpodModel, Itdb_IpodGeneration, Itdb_IpodInfo, itdb_device_get_ipod_info(). * src/itdb_device.c: new API: itdb_info_get_ipod_info_table(), itdb_info_get_ipod_model_name() * src/itdb.h src/itdb_artwork.c: Removed unused field ->type in Itdb_Artwork and corresponding enum ItdbArtworkType. 2006-06-03 Jorg Schuler <jcsjcs at users.sourceforge.net> * src/itdb_artwork.c (itdb_thumb_get_gdk_pixbuf): handle thumbnail padding correctly -- who would have thought that iTunes indicates _negative_ padding at times... Please use the test-photos program to check out whether or not your photos show up correctly without black bars or funny colors. * src/db-artwork-writer.c src/db-image-parser.c src/itdb.h src/ithumb-writer.c: Hopefully do padding right: - read padding fields from mhni header and store them with each thumbnail - calculate padding for PhotoDB only (padding for iTunesDB Artwork does not seem to be necessary) - include the padding into the total width/height It seems to work well on my iPod Nano -- feedback appreciated. * tests/test-photos.c: added possibility to dump all photos into a directory: tests/test-photos dump <mountpoint> <output_dir> * src/itdb_artwork.c: changed byte order for full screen iPod Nanos. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1299 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-artwork-writer.cJorg Schuler2006-06-027-48/+83
| | | | | | | | | | | | | | | | | src/db-image-parser.c src/itdb.h src/ithumb-writer.c: Hopefully do padding right: - read padding fields from mhni header and store them with each thumbnail - calculate padding for PhotoDB only (padding for iTunesDB Artwork does not seem to be necessary) - include the padding into the total width/height It seems to work well on my iPod Nano -- feedback appreciated. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1298 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * tests/test-photos.c: added possibility to dump all photos into aJorg Schuler2006-06-023-42/+109
| | | | | | | | | | | directory: tests/test-photos dump <mountpoint> <output_dir> * src/itdb_artwork.c: changed byte order for full screen iPod Nanos. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1297 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.h:Jorg Schuler2006-06-0112-113/+174
| | | | | | | | | | | | | | | | | | | | | | | | src/itdb_private.h: moved Itdb_DB to private part. * src/itdb.h: src/itdb_private.h: src/itdb_itunesdb: New: db_get_itunesdb(), db_get_photodb() * src/db-artwork-parser.c src/db-artwork-writer.c src/db-image-parser.c src/db-image-parser.h src/db-parse-context.c src/db-parse-context.h src/itdb_endianness.h src/itdb_itunesdb.c src/ithumb-writer.c: Remove all direct access to Itdb_DB->db. enum git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1296 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-artwork-writer.c (write_mhni): fix segfault caused byJorg Schuler2006-06-014-8/+12
| | | | | | | wrong access of enum inside Itdb_DB git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1295 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac:Jorg Schuler2006-05-313-3/+70
| | | | | | | m4/python: check for eyeD3 (Todd Zullinger) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1294 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
* ***** merged photo-support branch back to MAIN. branch is taggedJorg Schuler2006-05-3039-902/+3188
| | | | | | | | | photo-support-merged_00 ipod.py will need minor patching (flag2, flag3). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1292 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
* * 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