[maemo-commits] [maemo-commits] r16351 - 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 18:08:01 EEST 2008
- Previous message: [maemo-commits] r16350 - projects/haf/branches/hildon-thumbnail/daemonize/albumart-providers/googleimages
- Next message: [maemo-commits] r16352 - in projects/connectivity/bluez-debian/trunk: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-10-03 18:07:59 +0300 (Fri, 03 Oct 2008) New Revision: 16351 Modified: projects/haf/branches/hildon-thumbnail/daemonize/albumart-providers/googleimages/google-images-art-downloader.vala projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c Log: Oeps 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 14:52:46 UTC (rev 16350) +++ projects/haf/branches/hildon-thumbnail/daemonize/albumart-providers/googleimages/google-images-art-downloader.vala 2008-10-03 15:07:59 UTC (rev 16351) @@ -90,7 +90,7 @@ Checksum.compute_for_string ( ChecksumType.MD5, (artist + " " + album).down (), - 32) + ".jpeg", + -1) + ".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 14:52:46 UTC (rev 16350) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c 2008-10-03 15:07:59 UTC (rev 16351) @@ -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, 32); + ascii_digest = g_compute_checksum_for_string (G_CHECKSUM_MD5, uri, -1); 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, 32); + str = g_compute_checksum_for_string (G_CHECKSUM_MD5, down, -1); art_filename = g_strdup_printf ("%s.jpeg", str);
- Previous message: [maemo-commits] r16350 - projects/haf/branches/hildon-thumbnail/daemonize/albumart-providers/googleimages
- Next message: [maemo-commits] r16352 - in projects/connectivity/bluez-debian/trunk: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]