[maemo-commits] [maemo-commits] r16339 - in projects/haf/branches/hildon-thumbnail/daemonize: . albumart-providers/googleimages daemon
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Oct 3 16:17:45 EEST 2008
- Previous message: [maemo-commits] r16338 - in projects/haf/branches/hildon-thumbnail/daemonize: . daemon
- Next message: [maemo-commits] r16340 - projects/haf/trunk/ke-recv/src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-10-03 16:17:06 +0300 (Fri, 03 Oct 2008) New Revision: 16339 Modified: projects/haf/branches/hildon-thumbnail/daemonize/ChangeLog projects/haf/branches/hildon-thumbnail/daemonize/albumart-providers/googleimages/google-images-art-downloader.vala projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c Log: 2008-10-03 Philip Van Hoof <philip at codeminded.be> * albumart-providers/googleimages/google-images-art-downloader.vala * daemon/utils.c: Using 32 bytes long digests Modified: projects/haf/branches/hildon-thumbnail/daemonize/ChangeLog =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/ChangeLog 2008-10-03 13:13:59 UTC (rev 16338) +++ projects/haf/branches/hildon-thumbnail/daemonize/ChangeLog 2008-10-03 13:17:06 UTC (rev 16339) @@ -1,5 +1,10 @@ 2008-10-03 Philip Van Hoof <philip at codeminded.be> + * albumart-providers/googleimages/google-images-art-downloader.vala + * daemon/utils.c: Using 32 bytes long digests + +2008-10-03 Philip Van Hoof <philip at codeminded.be> + * daemon/utils.c * daemon/md5.c * daemon/Makefile.am Modified: projects/haf/branches/hildon-thumbnail/daemonize/albumart-providers/googleimages/google-images-art-downloader.vala =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/albumart-providers/googleimages/google-images-art-downloader.vala 2008-10-03 13:13:59 UTC (rev 16338) +++ projects/haf/branches/hildon-thumbnail/daemonize/albumart-providers/googleimages/google-images-art-downloader.vala 2008-10-03 13:17:06 UTC (rev 16339) @@ -90,7 +90,7 @@ Checksum.compute_for_string ( ChecksumType.MD5, (artist + " " + album).down (), - -1) + ".jpeg", + 32) + ".jpeg", null); // Make sure the directory .album_arts is available Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c 2008-10-03 13:13:59 UTC (rev 16338) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c 2008-10-03 13:17:06 UTC (rev 16339) @@ -60,7 +60,7 @@ if(!g_file_test (cropped_dir, G_FILE_TEST_EXISTS)) g_mkdir_with_parents (cropped_dir, 0770); - ascii_digest = g_compute_checksum_for_string (G_CHECKSUM_MD5, uri, -1); + ascii_digest = g_compute_checksum_for_string (G_CHECKSUM_MD5, uri, 32); thumb_filename = g_strdup_printf ("%s.png", ascii_digest); cropped_filename = g_strdup_printf ("%s.jpeg", ascii_digest); @@ -104,7 +104,7 @@ if(!g_file_test (dir, G_FILE_TEST_EXISTS)) g_mkdir_with_parents (dir, 0770); - str = g_compute_checksum_for_string (G_CHECKSUM_MD5, down, -1); + str = g_compute_checksum_for_string (G_CHECKSUM_MD5, down, 32); art_filename = g_strdup_printf ("%s.jpeg", str);
- Previous message: [maemo-commits] r16338 - in projects/haf/branches/hildon-thumbnail/daemonize: . daemon
- Next message: [maemo-commits] r16340 - projects/haf/trunk/ke-recv/src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]