f-spot r4277 - in trunk/dpap-sharp: . lib



Author: apart
Date: Sun Aug 17 23:58:52 2008
New Revision: 4277
URL: http://svn.gnome.org/viewvc/f-spot?rev=4277&view=rev

Log:
Download thumbnails instead of hires photos


Modified:
   trunk/dpap-sharp/ChangeLog
   trunk/dpap-sharp/lib/Database.cs

Modified: trunk/dpap-sharp/lib/Database.cs
==============================================================================
--- trunk/dpap-sharp/lib/Database.cs	(original)
+++ trunk/dpap-sharp/lib/Database.cs	Sun Aug 17 23:58:52 2008
@@ -477,7 +477,7 @@
             }*/
 			// maybe use FetchResponse to get a stream and feed it to pixbuf?
 			 byte [] photos_data = client.Fetcher.Fetch (String.Format ("/databases/{0}/items",id), 
-			                                     String.Format ("meta=dpap.filedata&query=('dmap.itemid:{0}')",photo.Id));
+			                                     String.Format ("meta=dpap.thumb,dpap.filedata&query=('dmap.itemid:{0}')",photo.Id));
 			ContentNode node = ContentParser.Parse (client.Bag, photos_data);
 			
 			// DEBUG



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]