From emperorscollies@tds.net Sun Oct 11 02:37:24 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 2F2C37500B9 for ; Sun, 11 Oct 2009 02:37:24 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 1.48 X-Spam-Level: * X-Spam-Status: No, score=1.48 tagged_above=-999 required=2 tests=[BAYES_20=-0.74, HTML_MESSAGE=0.001, TVD_SPACE_RATIO=2.219] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2ysHcb9b2xHF for ; Sun, 11 Oct 2009 02:37:18 +0000 (GMT) Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211]) by menubar.gnome.org (Postfix) with ESMTP id 5789E7500D1 for ; Sun, 11 Oct 2009 02:37:09 +0000 (GMT) Received: by fxm7 with SMTP id 7so7200726fxm.34 for ; Sat, 10 Oct 2009 19:37:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.148.85 with SMTP id o21mr3679147bkv.134.1255228627500; Sat, 10 Oct 2009 19:37:07 -0700 (PDT) Date: Sat, 10 Oct 2009 22:37:07 -0400 Message-ID: Subject: posting From: "emperorscollies tds.net" To: f-spot-list@gnome.org Content-Type: multipart/alternative; boundary=0015175cd96274409504759fb0b1 X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 02:37:24 -0000 --0015175cd96274409504759fb0b1 Content-Type: text/plain; charset=ISO-8859-1 emperorscollies@tds.net --0015175cd96274409504759fb0b1 Content-Type: text/html; charset=ISO-8859-1 emperorscollies@tds.net
--0015175cd96274409504759fb0b1-- From emperorscollies@tds.net Sun Oct 11 02:44:52 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A8C3075013F for ; Sun, 11 Oct 2009 02:44:52 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 1.11 X-Spam-Level: * X-Spam-Status: No, score=1.11 tagged_above=-999 required=2 tests=[BAYES_05=-1.11, HTML_MESSAGE=0.001, TVD_SPACE_RATIO=2.219] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LXhTOZgpgxDc for ; Sun, 11 Oct 2009 02:44:47 +0000 (GMT) Received: from mail-bw0-f215.google.com (mail-bw0-f215.google.com [209.85.218.215]) by menubar.gnome.org (Postfix) with ESMTP id 5A7447500D1 for ; Sun, 11 Oct 2009 02:44:39 +0000 (GMT) Received: by bwz11 with SMTP id 11so2459678bwz.15 for ; Sat, 10 Oct 2009 19:44:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.24.83 with SMTP id u19mr3740294bkb.22.1255229076994; Sat, 10 Oct 2009 19:44:36 -0700 (PDT) Date: Sat, 10 Oct 2009 22:44:36 -0400 Message-ID: Subject: conferm From: "emperorscollies tds.net" To: f-spot-list@gnome.org Content-Type: multipart/alternative; boundary=0003255575163efbd904759fcb01 X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 02:44:52 -0000 --0003255575163efbd904759fcb01 Content-Type: text/plain; charset=ISO-8859-1 emperorscollies@tds.net --0003255575163efbd904759fcb01 Content-Type: text/html; charset=ISO-8859-1 emperorscollies@tds.net
--0003255575163efbd904759fcb01-- From dougie@highmoor.co.uk Mon Oct 12 09:52:46 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7D731750356 for ; Mon, 12 Oct 2009 09:52:46 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.185 X-Spam-Level: X-Spam-Status: No, score=-0.185 tagged_above=-999 required=2 tests=[BAYES_40=-0.185] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AjKXGH-DquVM for ; Mon, 12 Oct 2009 09:52:38 +0000 (GMT) Received: from smarthost02.mail.zen.net.uk (smarthost02.mail.zen.net.uk [212.23.3.141]) by menubar.gnome.org (Postfix) with ESMTP id 787987502DC for ; Mon, 12 Oct 2009 09:52:30 +0000 (GMT) Received: from 82-71-45-75.dsl.in-addr.zen.co.uk ([82.71.45.75] helo=[127.0.0.1]) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1MxHZr-0005a3-Vz for f-spot-list@gnome.org; Mon, 12 Oct 2009 09:52:28 +0000 Message-ID: <4AD2FC44.3000304@highmoor.co.uk> Date: Mon, 12 Oct 2009 10:52:04 +0100 From: Dougie Nisbet User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: f-spot-list@gnome.org Subject: Re: Editing Tags to assign parent References: <48430878.4060101@highmoor.co.uk> In-Reply-To: <48430878.4060101@highmoor.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 091011-0, 11/10/2009), Outbound message X-Antivirus-Status: Clean X-Originating-Smarthost02-IP: [82.71.45.75] X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: dougie@highmoor.co.uk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 09:52:46 -0000 In June 2008 I wrote: > I've now got a lot of tags. Occassionally I housekeep and assign parent > tags to newly created ones. Usually I right-click the tag and select > Edit Tag. However, when I wish to assign the parent the pop-up window is > quite difficult to navigate. I realise that Scroll Up and Down work, as > well as Home and End, but a nifty feature would be to, for example, > keypress the first letter or letters of the parent tag in order to find > it more quickly. > > Dougie > > _______________________________________________ > F-spot-list mailing list > F-spot-list@gnome.org > http://mail.gnome.org/mailman/listinfo/f-spot-list > > > Does anyone have any thoughts on this? Perhaps there's another way of working that I could adapt. As my tag list expands it's becoming more of a problem. It's probably because I usually add tags just by typing them in on new photos. I may have to get into the habit of creating the tag first so that I can get it into the correct place in the hierarchy initially. cheers, Dougie From stephane@delcroix.org Mon Oct 12 10:51:29 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A8BF17501B7 for ; Mon, 12 Oct 2009 10:51:29 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H4aMvrkNLvtM for ; Mon, 12 Oct 2009 10:51:20 +0000 (GMT) Received: from 17.mail-out.ovh.net (17.mail-out.ovh.net [91.121.30.212]) by menubar.gnome.org (Postfix) with SMTP id 0EE237503AA for ; Mon, 12 Oct 2009 10:51:11 +0000 (GMT) Received: (qmail 17693 invoked by uid 503); 12 Oct 2009 10:54:00 -0000 Received: from 2.mail-out.ovh.net (91.121.26.226) by 17.mail-out.ovh.net with SMTP; 12 Oct 2009 10:54:00 -0000 Received: (qmail 22628 invoked by uid 503); 12 Oct 2009 11:14:44 -0000 Received: from b9.ovh.net (HELO mail605.ha.ovh.net) (213.186.33.59) by 2.mail-out.ovh.net with SMTP; 12 Oct 2009 11:14:44 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 12 Oct 2009 10:51:19 -0000 Received: from unknown (HELO ?192.168.42.20?) (stephane%delcroix.org@91.181.171.157) by ns0.ovh.net with SMTP; 12 Oct 2009 10:51:17 -0000 Subject: Re: Editing Tags to assign parent From: Stephane Delcroix To: dougie@highmoor.co.uk In-Reply-To: <4AD2FC44.3000304@highmoor.co.uk> References: <48430878.4060101@highmoor.co.uk> <4AD2FC44.3000304@highmoor.co.uk> Content-Type: text/plain Date: Mon, 12 Oct 2009 12:49:23 +0200 Message-Id: <1255344563.7843.5.camel@dogbert.home> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 730990515627182249 X-Ovh-Remote: 91.181.171.157 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N X-Ovh-Tracer-Id: 776870935976757358 Cc: f-spot-list@gnome.org X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 10:51:29 -0000 did you filed a bug report for this ? if not, please do. a first quick solution would be to replace the single-level combo by a true hierarchic one (like we use in other places). regards s On Mon, 2009-10-12 at 10:52 +0100, Dougie Nisbet wrote: > In June 2008 I wrote: > > > I've now got a lot of tags. Occassionally I housekeep and assign parent > > tags to newly created ones. Usually I right-click the tag and select > > Edit Tag. However, when I wish to assign the parent the pop-up window is > > quite difficult to navigate. I realise that Scroll Up and Down work, as > > well as Home and End, but a nifty feature would be to, for example, > > keypress the first letter or letters of the parent tag in order to find > > it more quickly. > > > > Dougie > > > > _______________________________________________ > > F-spot-list mailing list > > F-spot-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/f-spot-list > > > > > > > > Does anyone have any thoughts on this? Perhaps there's another way of > working that I could adapt. As my tag list expands it's becoming more of > a problem. It's probably because I usually add tags just by typing them > in on new photos. I may have to get into the habit of creating the tag > first so that I can get it into the correct place in the hierarchy > initially. > > cheers, > > Dougie > > _______________________________________________ > F-spot-list mailing list > F-spot-list@gnome.org > http://mail.gnome.org/mailman/listinfo/f-spot-list From dougie@highmoor.co.uk Tue Oct 13 10:47:55 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 83421750242 for ; Tue, 13 Oct 2009 10:47:55 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=unavailable Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AT4itqgeEpJE for ; Tue, 13 Oct 2009 10:47:38 +0000 (GMT) Received: from smarthost01.mail.zen.net.uk (smarthost01.mail.zen.net.uk [212.23.3.140]) by menubar.gnome.org (Postfix) with ESMTP id E8FDC750208 for ; Tue, 13 Oct 2009 10:47:29 +0000 (GMT) Received: from 82-71-45-75.dsl.in-addr.zen.co.uk ([82.71.45.75] helo=[127.0.0.1]) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1Mxeuc-00080Y-DG; Tue, 13 Oct 2009 10:47:26 +0000 Message-ID: <4AD45A9F.2080300@highmoor.co.uk> Date: Tue, 13 Oct 2009 11:46:55 +0100 From: Dougie Nisbet User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Stephane Delcroix Subject: Re: Editing Tags to assign parent References: <48430878.4060101@highmoor.co.uk> <4AD2FC44.3000304@highmoor.co.uk> <1255344563.7843.5.camel@dogbert.home> In-Reply-To: <1255344563.7843.5.camel@dogbert.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 091012-0, 12/10/2009), Outbound message X-Antivirus-Status: Clean X-Originating-Smarthost01-IP: [82.71.45.75] Cc: f-spot-list@gnome.org X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: dougie@highmoor.co.uk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 10:47:56 -0000 Now done. [598252]. (I didn't realise the bug reporting could be used for 'wishlist' items. I didn't regards this as a bug, more a feature request). cheers, Dougie Stephane Delcroix wrote: > did you filed a bug report for this ? if not, please do. > > a first quick solution would be to replace the single-level combo by a > true hierarchic one (like we use in other places). > > regards > > s > > On Mon, 2009-10-12 at 10:52 +0100, Dougie Nisbet wrote: > >> In June 2008 I wrote: >> >> >>> I've now got a lot of tags. Occassionally I housekeep and assign parent >>> tags to newly created ones. Usually I right-click the tag and select >>> Edit Tag. However, when I wish to assign the parent the pop-up window is >>> quite difficult to navigate. I realise that Scroll Up and Down work, as >>> well as Home and End, but a nifty feature would be to, for example, >>> keypress the first letter or letters of the parent tag in order to find >>> it more quickly. >>> >>> Dougie >>> >>> _______________________________________________ >>> F-spot-list mailing list >>> F-spot-list@gnome.org >>> http://mail.gnome.org/mailman/listinfo/f-spot-list >>> >>> >>> >>> >> Does anyone have any thoughts on this? Perhaps there's another way of >> working that I could adapt. As my tag list expands it's becoming more of >> a problem. It's probably because I usually add tags just by typing them >> in on new photos. I may have to get into the habit of creating the tag >> first so that I can get it into the correct place in the hierarchy >> initially. >> >> cheers, >> >> Dougie >> >> _______________________________________________ >> F-spot-list mailing list >> F-spot-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/f-spot-list >> > > > From dougie@highmoor.co.uk Tue Oct 13 10:57:09 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6086575002D for ; Tue, 13 Oct 2009 10:57:09 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=2 tests=[BAYES_50=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ftRTZ9CAWb0w for ; Tue, 13 Oct 2009 10:57:02 +0000 (GMT) Received: from smarthost01.mail.zen.net.uk (smarthost01.mail.zen.net.uk [212.23.3.140]) by menubar.gnome.org (Postfix) with ESMTP id 29625750006 for ; Tue, 13 Oct 2009 10:56:54 +0000 (GMT) Received: from 82-71-45-75.dsl.in-addr.zen.co.uk ([82.71.45.75] helo=[127.0.0.1]) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1Mxf3k-0000kY-CU for f-spot-list@gnome.org; Tue, 13 Oct 2009 10:56:52 +0000 Message-ID: <4AD45CD6.9010203@highmoor.co.uk> Date: Tue, 13 Oct 2009 11:56:22 +0100 From: Dougie Nisbet User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: f-spot-list@gnome.org Subject: Flicker Bug Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 091012-0, 12/10/2009), Outbound message X-Antivirus-Status: Clean X-Originating-Smarthost01-IP: [82.71.45.75] X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: dougie@highmoor.co.uk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 10:57:09 -0000 I've just been browsing the bug database and came across my old friend the screen flicker bug (581284 and 588378). I find this quite problematic as I used to use the 'V' keystroke a lot to get the name of the filename. This is because I use very long filenames and I'm still in the process of tagging my photos in f-spot, and very often need to look at the filename to find out what tag to use. I'm aware that the filename is also displayed under 'Image Information' in the left panel but this is massively truncated for long filenames. A workaround is to temporarily drag and widen the left panel until I can see the whole filename, then drag it back to see the image fully. I've also tried changing the display from my usual Tag list to the Metadata panel. This is quite cool but as far as I can tell none of the items shows the filename unless I've missed something. The only other workaround I sometimes use, and it is clumsy, is to use 'Copy Photo Location' then paste it and edit it in the Tag field. It also runs the risk of typos and some very bizarre tag names! Any progress on this bug or any workarounds? Thanks Dougie From mjlissner@gmail.com Wed Oct 14 07:28:06 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3A01A750092 for ; Wed, 14 Oct 2009 07:28:06 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H9ihdLC9sybM for ; Wed, 14 Oct 2009 07:27:58 +0000 (GMT) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by menubar.gnome.org (Postfix) with ESMTP id 1BB8175002D for ; Wed, 14 Oct 2009 07:27:49 +0000 (GMT) Received: by qyk6 with SMTP id 6so9494519qyk.3 for ; Wed, 14 Oct 2009 00:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type; bh=0l0hbjnbq4SM/E0y0t/D1cg6z++XW+D1BYJ+fT+Y/zM=; b=j2wOVEwbPnpjzr2EI88ZswI6JdQbD7qjDbL4vY0sp/jxn1hBDMlPUdOryiJzJ7FjVq USFHb/g7kCEntcXPtB45deJl6B9D4LYxfDHf46Kbe3Wa8SjJxZx++pJM8iQ/DUK9P8qC 8skIk19WUSlHVQHMJ8SUNgjGwaZwOToZr2CZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type; b=Q91rPfnHfiSNsLDx9PoukU4Om5cU+uwQ4P6LorKQTsriFKrkwMmB9TAeAgng2Cyaw8 cM38y1YhbkeiAMm4ZpmeC01uNC0+dvch9KWuNV1b6AtewZOiYwIpGz8H16PUEyMbxA3x sGJI02arLD+GGaSOaG46DBiOCVf1wgMNQqiWs= Received: by 10.224.20.144 with SMTP id f16mr6719957qab.220.1255505267982; Wed, 14 Oct 2009 00:27:47 -0700 (PDT) Received: from ?192.168.1.151? (c-24-5-195-149.hsd1.ca.comcast.net [24.5.195.149]) by mx.google.com with ESMTPS id 6sm2464540qwd.55.2009.10.14.00.27.46 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 00:27:47 -0700 (PDT) Sender: Michael Lissner Message-ID: <4AD57D70.5010606@michaeljaylissner.com> Date: Wed, 14 Oct 2009 00:27:44 -0700 From: Michael Lissner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20091006 Lightning/1.0pre Shredder/3.0pre MIME-Version: 1.0 To: f-spot-list@gnome.org Subject: Script to Clean Up Orphans X-Enigmail-Version: 0.97a Content-Type: multipart/mixed; boundary="------------000000030303020805020102" X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 07:28:06 -0000 This is a multi-part message in MIME format. --------------000000030303020805020102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I just wrote a script to clean up orphan entries in the f-spot database, and I wanted to see if I could get any feedback on it. This was inspired by my use of f-spot yesterday, when browsing my photos within f-spot. At one point, it crashed because one of the files it was looking for had been (re)moved manually outside of f-spot. It surprised me that an orphan database entry would cause f-spot to crash, but I noticed that I had a lot of these photos and no easy way to fix the problem (and that f-spot was crashing a lot as a result). So, I wrote the script that is attached, and also posted here: http://paste.ubuntu.com/292946/ Any feedback would be more than welcome. I tested it moments ago on my database, and it seems to have done the trick quite well. Thanks, -- Michael Lissner mlissner@michaeljaylissner.com 909-576-4123 --------------000000030303020805020102 Content-Type: application/x-sh; name="fspot-cleaner.sh" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fspot-cleaner.sh" #!/bin/bash # A script to find missing files in the f-spot database, and then delete them. # At present these files crash f-spot. It's frustrating as all hell. echo "Welcome to the f-spot database cleaner. All the usual disclaimers apply, as you might imagine." echo "What would you like to do: " echo " 1) Run in demo-mode " echo " 2) Clean up your f-spot database" echo " 3) Quit" read -p "Your choice: " choice case $choice in 1) demomode="true";; 2) demomode="false";; 3) exit 0;; esac # With that beginning stuff out of the way, let us do some functions # First, a function to gather the database contents and to print out the ones that are orphans function findAndPrintOrphans { if [ -f $HOME/.gnome2/f-spot/photos.db ] then # Select the filenames, and put them in a variable. filenames=$(sqlite3 $HOME/.gnome2/f-spot/photos.db "SELECT URI FROM PHOTOS") # Chomp off the first instance of file://, and replace the rest with newlines. filenames=$(echo $filenames | sed 's/file:\/\///' | sed 's/file:\/\//\n/g' ) if [ $demomode == "true" ] then while read -r line do # Decode the filename decodedLine=$(echo -e "${line//\%/\\x}") if [ ! -f "$decodedLine" ] then # If the file doesn't exist, we output the filename, if in demomode, or we fix it if we are not in demomode. echo "Errant record found: $decodedLine" fi done <<< "$filenames" else # We backup the database, and make the correction cp $HOME/.gnome2/f-spot/photos.db $HOME/.gnome2/f-spot/photos.db.`date -I`.bak if [ $? -eq 0 ] then #The backup worked, tell the user. echo "Your database has been backed up to ~/.gnome2/f-spot/photos.db.`date -I`.bak" else echo "Error backing up your database." exit 3 fi #echo $filenames while read -r line2 do # Decode the filename decodedLine2=$(echo -e "${line2//\%/\\x}") if [ ! -f "$decodedLine2" ] then # Do some sql here. foo="file://${line2}" echo $foo echo -n "Deleting URI $line2 from the database..." sqlite3 $HOME/.gnome2/f-spot/photos.db "DELETE FROM PHOTOS WHERE uri = '$foo'" echo "done." fi done <<< "$filenames" fi else echo "Error: Could not find database. Damn." exit 1 fi } if [ "$demomode" == "true" ] then echo "Great. Proceeding in demomode." findAndPrintOrphans echo "Demomode successfully finished. Exiting." exit 0; elif [ "$demomode" == "false" ] then echo "Great. Cleaning up your database." findAndPrintOrphans echo "Database cleaned successfully." exit 0; else echo "Something strange happened. See the script for details. Exiting." exit 1; fi --------------000000030303020805020102 Content-Type: text/x-vcard; charset=utf-8; name="mlissner.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mlissner.vcf" begin:vcard fn:Michael Lissner n:Lissner;Michael email;internet:mlissner@michaeljaylissner.com tel;cell:909-576-4123 x-mozilla-html:TRUE version:2.1 end:vcard --------------000000030303020805020102-- From nicku@nicku.org Sat Oct 17 08:47:16 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 56F9C7500A6 for ; Sat, 17 Oct 2009 08:47:16 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Ws72td0DpTV for ; Sat, 17 Oct 2009 08:47:09 +0000 (GMT) Received: from nicku.org (nicku.org [64.22.125.63]) by menubar.gnome.org (Postfix) with ESMTP id F0B41750078 for ; Sat, 17 Oct 2009 08:47:00 +0000 (GMT) Received: from localhost (localhost.localdomain [127.0.0.1]) by nicku.org (Postfix) with ESMTP id 6E9731EF849 for ; Sat, 17 Oct 2009 19:46:59 +1100 (EST) X-Virus-Scanned: amavisd-new at nicku.org Received: from nicku.org ([127.0.0.1]) by localhost (nicku.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wp07aNlHSkig; Sat, 17 Oct 2009 19:46:57 +1100 (EST) Received: from www3.nicku.org (c114-76-250-52.farfl3.nsw.optusnet.com.au [114.76.250.52]) by nicku.org (Postfix) with ESMTP id 24B3628259; Sat, 17 Oct 2009 19:46:57 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by www3.nicku.org (Postfix) with ESMTP id 39AFE92D60; Sat, 17 Oct 2009 19:46:56 +1100 (EST) X-Virus-Scanned: amavisd-new at example.com Received: from www3.nicku.org ([127.0.0.1]) by localhost (nicksbox.nicku.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GDjRmYLi-33K; Sat, 17 Oct 2009 19:46:54 +1100 (EST) Received: by www3.nicku.org (Postfix, from userid 1000) id 19E4392D61; Sat, 17 Oct 2009 19:46:54 +1100 (EST) Date: Sat, 17 Oct 2009 19:46:54 +1100 From: Nick Urbanik To: f-spot-list@gnome.org Subject: importing specific files, using regex or patterns Message-ID: <20091017084653.GB16713@nicku.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 08:47:16 -0000 Dear Folks, I am using f-spot for the first time with a large collection of family photos. I want to exclude the thumbnails matching /-thumb\.jpg$/. I don't see how, and google hasn't pointed a way either. Any ideas please? -- Nick Urbanik http://nicku.org nicku@nicku.org GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24 From lorenzo.milesi@yetopen.it Sat Oct 17 10:26:56 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7F0787500B9 for ; Sat, 17 Oct 2009 10:26:56 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.522 X-Spam-Level: X-Spam-Status: No, score=-2.522 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, TW_XX=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8fDlxOho1fPG for ; Sat, 17 Oct 2009 10:26:47 +0000 (GMT) Received: from joe.mail.tiscali.it (joe.mail.tiscali.it [213.205.33.54]) by menubar.gnome.org (Postfix) with ESMTP id 7C4037500A6 for ; Sat, 17 Oct 2009 10:26:39 +0000 (GMT) Received: from kowalski.yetopen.it (78.12.229.145) by joe.mail.tiscali.it (8.0.022) id 4AC2DEE50096E0F0; Sat, 17 Oct 2009 12:26:37 +0200 Received: from localhost (localhost [127.0.0.1]) by kowalski.yetopen.it (Postfix) with ESMTP id 2457F234002; Sat, 17 Oct 2009 12:26:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at kowalski.yetopen.it Received: from kowalski.yetopen.it ([127.0.0.1]) by localhost (kowalski.yetopen.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JblY1TTEg0Aq; Sat, 17 Oct 2009 12:26:30 +0200 (CEST) Received: from kowalski.yetopen.it (kowalski.yetopen.it [10.22.22.190]) by kowalski.yetopen.it (Postfix) with ESMTP id DA99E234001; Sat, 17 Oct 2009 12:26:30 +0200 (CEST) Date: Sat, 17 Oct 2009 12:26:30 +0200 (CEST) From: Lorenzo Milesi Sender: lorenzo.milesi@yetopen.it To: Nick Urbanik Message-ID: <29058160.22341255775189785.JavaMail.root@kowalski.yetopen.it> In-Reply-To: <20091017084653.GB16713@nicku.org> Subject: Re: importing specific files, using regex or patterns MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [88.61.45.73] X-Mailer: Zimbra 6.0.1_GA_1816.DEBIAN4.0 (ZimbraWebClient - [unknown] (Linux)/6.0.1_GA_1816.DEBIAN4.0) Cc: f-spot-list@gnome.org X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 10:26:56 -0000 ----- "Nick Urbanik" ha scritto: > Dear Folks, > > I am using f-spot for the first time with a large collection of > family > photos. I want to exclude the thumbnails matching /-thumb\.jpg$/. I > don't see how, and google hasn't pointed a way either. Any ideas > please? Actually you can't... Right now f-spot only import whole directories. You may uncheck the option to scan subdirs, and import one directory at a time. ciao maxxer -- Lorenzo Milesi - lorenzo.milesi@yetopen.it YetOpen S.r.l. - http://www.yetopen.it/ Via Previati 72 - 23900 Lecco - ITALY - Tel 0341 220 205 - Fax 178 607 8199 GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it -------- D.Lgs. 196/2003 -------- Si avverte che tutte le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. Nel caso in cui questo messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo, a non inoltrarlo a terzi e ad avvertirci non appena possibile. Grazie. From asd@pittle.org Sat Oct 17 13:14:53 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id AFE4E750120 for ; Sat, 17 Oct 2009 13:14:52 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pj4DYXvEDXCh for ; Sat, 17 Oct 2009 13:14:46 +0000 (GMT) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id 625F1750106 for ; Sat, 17 Oct 2009 13:14:38 +0000 (GMT) Received: from [172.16.103.144] (villactrl02.psice.unibo.it [137.204.183.96]) by smtp.webfaction.com (Postfix) with ESMTP id 5261C3903C0; Sat, 17 Oct 2009 08:14:36 -0500 (CDT) Subject: Re: importing specific files, using regex or patterns From: Ali Servet Donmez To: f-spot-list In-Reply-To: <20091017084653.GB16713@nicku.org> References: <20091017084653.GB16713@nicku.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-hLjobR+HXtlCMhkkrXB8" Date: Sat, 17 Oct 2009 15:14:39 +0200 Message-Id: <1255785279.13351.8.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 13:14:53 -0000 --=-hLjobR+HXtlCMhkkrXB8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2009-10-17 at 19:46 +1100, Nick Urbanik wrote: > I am using f-spot for the first time with a large collection of family > photos. I want to exclude the thumbnails matching /-thumb\.jpg$/. I > don't see how, and google hasn't pointed a way either. Any ideas > please? You could try something like this outside of F-Spot: $ cd $ find ! -iwholename '*-thumb.jpg/' -exec cp --parents {}\ \; ... and then import those photos into your library. P.S.: I couldn't get what you're really trying to exclude, thus you may need to adjust -iwholename '*-thumb.jpg/' part as needed. Regards, --=20 Ali Servet Donmez --=-hLjobR+HXtlCMhkkrXB8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkrZwz8ACgkQTkxf6sK1KEuRUwCeNujk3r9gkZcHhExMH0812yFu OKsAniph3ceipc/WTKoFhzYa9Rgr6cjd =w6to -----END PGP SIGNATURE----- --=-hLjobR+HXtlCMhkkrXB8-- From jono@redowl.ca Sat Oct 17 13:44:55 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 534657501AC for ; Sat, 17 Oct 2009 13:44:55 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.307 X-Spam-Level: X-Spam-Status: No, score=-1.307 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, MISSING_HEADERS=1.292] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y2w3LREfHcEm for ; Sat, 17 Oct 2009 13:44:48 +0000 (GMT) Received: from scallop.redowl.ca (scallop.redowl.ca [64.15.129.165]) by menubar.gnome.org (Postfix) with ESMTP id EF12A7500F9 for ; Sat, 17 Oct 2009 13:44:39 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=scaph ident=jono) by scallop.redowl.ca with esmtp (Exim 4.69) (envelope-from ) id 1Mz9aG-0003rZ-S8 for f-spot-list@gnome.org; Sat, 17 Oct 2009 09:44:36 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by scaph (Postfix) with ESMTP id EFB40170A for ; Sat, 17 Oct 2009 09:44:35 -0400 (EDT) Message-ID: <4AD9CA43.4080506@redowl.ca> Date: Sat, 17 Oct 2009 09:44:35 -0400 From: Jonathan Addleman User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 CC: f-spot-list Subject: Re: importing specific files, using regex or patterns References: <20091017084653.GB16713@nicku.org> <1255785279.13351.8.camel@ubuntu> In-Reply-To: <1255785279.13351.8.camel@ubuntu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 13:44:55 -0000 Ali Servet Donmez wrote: > You could try something like this outside of F-Spot: > > $ cd > $ find ! -iwholename '*-thumb.jpg/' -exec cp --parents {}\ > \; Though better to just use ln instead of cp. It'd be a *lot* faster and take less disk space! If you use hard links, there would be no difference for the importing at all, (though it'd need to be on the same filesystem, and a filesystem that supports linking of course) -- Jon-o Addleman - http://www.redowl.ca From asd@pittle.org Sat Oct 17 14:37:59 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 50C297500D3 for ; Sat, 17 Oct 2009 14:37:59 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cWZcdfxd4d5b for ; Sat, 17 Oct 2009 14:37:52 +0000 (GMT) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id 98F947500D2 for ; Sat, 17 Oct 2009 14:37:44 +0000 (GMT) Received: from [172.16.103.144] (villactrl02.psice.unibo.it [137.204.183.96]) by smtp.webfaction.com (Postfix) with ESMTP id 7F9A53926D8; Sat, 17 Oct 2009 09:37:42 -0500 (CDT) Subject: Re: importing specific files, using regex or patterns From: Ali Servet Donmez To: f-spot-list In-Reply-To: <4AD9CA43.4080506@redowl.ca> References: <20091017084653.GB16713@nicku.org> <1255785279.13351.8.camel@ubuntu> <4AD9CA43.4080506@redowl.ca> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-kEUIDIQgmEjeFlsoM7WL" Date: Sat, 17 Oct 2009 16:37:47 +0200 Message-Id: <1255790267.20257.4.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 14:37:59 -0000 --=-kEUIDIQgmEjeFlsoM7WL Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2009-10-17 at 09:44 -0400, Jonathan Addleman wrote: > Ali Servet Donmez wrote: > > You could try something like this outside of F-Spot: > >=20 > > $ cd > > $ find ! -iwholename '*-thumb.jpg/' -exec cp --parents {}\ > > \; >=20 > Though better to just use ln instead of cp. It'd be a *lot* faster and > take less disk space! If you use hard links, there would be no > difference for the importing at all, (though it'd need to be on the same > filesystem, and a filesystem that supports linking of course) Fair enough. --=20 Ali Servet Donmez --=-kEUIDIQgmEjeFlsoM7WL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkrZ1rsACgkQTkxf6sK1KEtBNQCeK/EeEgXI37SrTU5+dM2punBH zjAAnji175J4cR4G+PQDwzBwltJ7XU6R =N2Zl -----END PGP SIGNATURE----- --=-kEUIDIQgmEjeFlsoM7WL-- From asd@pittle.org Sat Oct 17 14:38:20 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id EBFB67500ED for ; Sat, 17 Oct 2009 14:38:19 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ijBpDSFWjF4h for ; Sat, 17 Oct 2009 14:38:13 +0000 (GMT) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id C73057500B9 for ; Sat, 17 Oct 2009 14:38:05 +0000 (GMT) Received: from [172.16.103.144] (villactrl02.psice.unibo.it [137.204.183.96]) by smtp.webfaction.com (Postfix) with ESMTP id 0185F392701; Sat, 17 Oct 2009 09:38:03 -0500 (CDT) Subject: Re: importing specific files, using regex or patterns From: Ali Servet Donmez To: f-spot-list In-Reply-To: <7d31482a0910170710y6703cda0gc1bc46ac22262268@mail.gmail.com> References: <20091017084653.GB16713@nicku.org> <1255785279.13351.8.camel@ubuntu> <7d31482a0910170710y6703cda0gc1bc46ac22262268@mail.gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-o5hjXoB+AB6WymoYXwFW" Date: Sat, 17 Oct 2009 16:38:08 +0200 Message-Id: <1255790288.20257.5.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Cc: Tim Wiles X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 14:38:20 -0000 --=-o5hjXoB+AB6WymoYXwFW Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2009-10-17 at 15:10 +0100, Tim Wiles wrote: > Or if the directory is too big to copy...would this be possible? > (please correct me if I'm wrong, which I probably am) Well, of course you'd need enough space to copy file to. [...] > Another option would be to use sqlite to find all records with > "-thumb.jpg" in the photos.db database and remove them. Sure, but that s**ks even worse. Also you should remove files from your library manually. [...] --=20 Ali Servet Donmez =09 --=-o5hjXoB+AB6WymoYXwFW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkrZ1tAACgkQTkxf6sK1KEtcdACeKxIu82pkbdhGJo8rzoVa2SYj i/cAoIOV5agcSnmwVez4ylEsQ/AcU5ou =9PI5 -----END PGP SIGNATURE----- --=-o5hjXoB+AB6WymoYXwFW-- From mjlissner@gmail.com Sat Oct 17 15:19:38 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6B3887500B9 for ; Sat, 17 Oct 2009 15:19:38 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.598 X-Spam-Level: X-Spam-Status: No, score=-2.598 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UG9MUlTG0LHf for ; Sat, 17 Oct 2009 15:19:28 +0000 (GMT) Received: from mail-ew0-f217.google.com (mail-ew0-f217.google.com [209.85.219.217]) by menubar.gnome.org (Postfix) with ESMTP id 296D37500D2 for ; Sat, 17 Oct 2009 15:19:19 +0000 (GMT) Received: by ewy17 with SMTP id 17so4210133ewy.15 for ; Sat, 17 Oct 2009 08:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=m+g52Zo+qwxKWI9s7qX6osjnf36VNPEDAqrNaLmBAaY=; b=I3QCU6kcX2mb3wLAYgxpz4CP15vdLznj3N+2wAoH6cGpptxBz5X9OazgNSl/HltFOM pw0pE24HWtsU7vgD3TmxL7MOfEp1eJTJRm8VQTHo8vQNeouYN+/5emBE6xmpQQR+iVVV HXFYbJxP4lUBIwqxwTWaqYJVcCx3S011fBzrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=xLmaAsP4sG97LdneEgi9CuIlwwZYh6FM9WP3Sdi5xtioTATL7WvI7Gd+kgzX32UnOV 5iiqnmG/yY2vi9J0URMq/1r6y800TMV5gAMBULrYtHnsYwS7m2Q22lEGPSeoK6s9B7at KxCSkW73M3ayFZPbUAjtRMe0YcGQzZbk0KVl4= Received: by 10.216.86.193 with SMTP id w43mr1001803wee.17.1255792756467; Sat, 17 Oct 2009 08:19:16 -0700 (PDT) Received: from ?192.168.1.151? (c-24-5-195-149.hsd1.ca.comcast.net [24.5.195.149]) by mx.google.com with ESMTPS id i34sm5838213gve.8.2009.10.17.08.19.12 (version=SSLv3 cipher=RC4-MD5); Sat, 17 Oct 2009 08:19:15 -0700 (PDT) Sender: Michael Lissner Message-ID: <4AD9E06E.6030508@michaeljaylissner.com> Date: Sat, 17 Oct 2009 08:19:10 -0700 From: Michael Lissner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5pre) Gecko/20091015 Lightning/1.0pre Shredder/3.0pre MIME-Version: 1.0 To: Ali Servet Donmez Subject: Re: importing specific files, using regex or patterns References: <20091017084653.GB16713@nicku.org> <1255785279.13351.8.camel@ubuntu> <7d31482a0910170710y6703cda0gc1bc46ac22262268@mail.gmail.com> <1255790288.20257.5.camel@ubuntu> In-Reply-To: <1255790288.20257.5.camel@ubuntu> X-Enigmail-Version: 0.97a Content-Type: multipart/mixed; boundary="------------080008020100040003080908" Cc: Tim Wiles , f-spot-list X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 15:19:38 -0000 This is a multi-part message in MIME format. --------------080008020100040003080908 Content-Type: multipart/alternative; boundary="------------060903040508000205040501" --------------060903040508000205040501 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Doing the SQL trick shouldn't be too hard, especially, if you use a certain script that I wrote: http://michaeljaylissner.com/blog/script-to-cleanup-fspot-database Of course, you're doing two very similar things either way... Michael Lissner mlissner@michaeljaylissner.com 909-576-4123 Ali Servet Donmez wrote on 10/17/2009 07:38 AM: > On Sat, 2009-10-17 at 15:10 +0100, Tim Wiles wrote: > >> Or if the directory is too big to copy...would this be possible? >> (please correct me if I'm wrong, which I probably am) >> > Well, of course you'd need enough space to copy file to. > > [...] > > >> Another option would be to use sqlite to find all records with >> "-thumb.jpg" in the photos.db database and remove them. >> > Sure, but that s**ks even worse. Also you should remove files from your > library manually. > > [...] > > > > > _______________________________________________ > F-spot-list mailing list > F-spot-list@gnome.org > http://mail.gnome.org/mailman/listinfo/f-spot-list > --------------060903040508000205040501 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Doing the SQL trick shouldn't be too hard, especially, if you use a certain script that I wrote:
http://michaeljaylissner.com/blog/script-to-cleanup-fspot-database

Of course, you're doing two very similar things either way...

Michael Lissner
mlissner@michaeljaylissner.com
909-576-4123




Ali Servet Donmez wrote on 10/17/2009 07:38 AM:
On Sat, 2009-10-17 at 15:10 +0100, Tim Wiles wrote:
  
Or if the directory is too big to copy...would this be possible?
(please correct me if I'm wrong, which I probably am)
    
Well, of course you'd need enough space to copy file to.

[...]

  
Another option would be to use sqlite to find all records with
"-thumb.jpg" in the photos.db database and remove them.
    
Sure, but that s**ks even worse. Also you should remove files from your
library manually.

[...]

  
_______________________________________________ F-spot-list mailing list F-spot-list@gnome.org http://mail.gnome.org/mailman/listinfo/f-spot-list
--------------060903040508000205040501-- --------------080008020100040003080908 Content-Type: text/x-vcard; charset=utf-8; name="mlissner.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mlissner.vcf" begin:vcard fn:Michael Lissner n:Lissner;Michael email;internet:mlissner@michaeljaylissner.com tel;cell:909-576-4123 x-mozilla-html:TRUE version:2.1 end:vcard --------------080008020100040003080908-- From levasseur.jean@gmail.com Sat Oct 17 17:12:25 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id AE12D7500ED for ; Sat, 17 Oct 2009 17:12:25 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LEyb2YED8b+n for ; Sat, 17 Oct 2009 17:12:17 +0000 (GMT) Received: from mail-qy0-f193.google.com (mail-qy0-f193.google.com [209.85.221.193]) by menubar.gnome.org (Postfix) with ESMTP id D44EA7500D3 for ; Sat, 17 Oct 2009 17:12:08 +0000 (GMT) Received: by qyk31 with SMTP id 31so2115121qyk.9 for ; Sat, 17 Oct 2009 10:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:disposition-notification-to:content-type :date:message-id:mime-version:x-mailer; bh=ST3Cq+gWJSk6bz3AP4y5bt0Ni8RteD7skEhXl3qDFJ8=; b=vDAAUtkPPWjOg4aRFPA5fSnZJjeHbqJNJkA9qRCM87aiNt79OTboTXLg7mfYAjIyDJ W02fnskSr3HGLc5/3TQm0kpiBwS40Kr3s3fq+a5orNVxrpK5d+vLN8V87aWyXjd/6DwL 6BnRBV7N2WZVBemHFG7TPj/OF/7cpxLmvUKCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references :disposition-notification-to:content-type:date:message-id :mime-version:x-mailer; b=gm6NMbfOA9qKOaU1cDfQi4YDWUjzh9GQj69TA9Q/FzDEt9bCjoIVnGkjnYihLCJKIk wG3mVkJlLSiv7ZxrokZO1ppPcJcdV4pTaRADj2MI7nS3VP64sGYkbi3x/Vh5Ltb+ICkX ++bPWZSDw+U3Q27DFN/U63jJAr7bs9RSQINyw= Received: by 10.224.4.131 with SMTP id 3mr1749631qar.141.1255799526822; Sat, 17 Oct 2009 10:12:06 -0700 (PDT) Received: from ?192.168.1.11? (modemcable175.25-202-24.mc.videotron.ca [24.202.25.175]) by mx.google.com with ESMTPS id 21sm1944546qyk.8.2009.10.17.10.12.05 (version=SSLv3 cipher=RC4-MD5); Sat, 17 Oct 2009 10:12:06 -0700 (PDT) Subject: Re: Script to Clean Up Orphans From: Jean Levasseur To: Michael Lissner In-Reply-To: <4AD57D70.5010606@michaeljaylissner.com> References: <4AD57D70.5010606@michaeljaylissner.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-MlKkJLaHT+pcunwi+hkS" Date: Sat, 17 Oct 2009 13:12:04 -0400 Message-Id: <1255799524.7886.4.camel@giskard> Mime-Version: 1.0 X-Mailer: Evolution 2.28.0 Cc: f-spot-list@gnome.org X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 17:12:26 -0000 --=-MlKkJLaHT+pcunwi+hkS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =46rom first (and quick!) view, it looks good, but since the database has moved from ~/.gnome2/f-spot to $XDG_CONFIG_DIR/f-spot/ (which is in 99% of cases ~/.config/f-spot), I would test the presence of that path too. - Foxmike. Le mercredi 14 octobre 2009 =C3=A0 00:27 -0700, Michael Lissner a =C3=A9cri= t : > Hi, I just wrote a script to clean up orphan entries in the f-spot > database, and I wanted to see if I could get any feedback on it. >=20 > This was inspired by my use of f-spot yesterday, when browsing my photos > within f-spot. At one point, it crashed because one of the files it was > looking for had been (re)moved manually outside of f-spot. It surprised > me that an orphan database entry would cause f-spot to crash, but I > noticed that I had a lot of these photos and no easy way to fix the > problem (and that f-spot was crashing a lot as a result). >=20 > So, I wrote the script that is attached, and also posted here: > http://paste.ubuntu.com/292946/ >=20 > Any feedback would be more than welcome. I tested it moments ago on my > database, and it seems to have done the trick quite well. >=20 > Thanks, >=20 > _______________________________________________ > F-spot-list mailing list > F-spot-list@gnome.org > http://mail.gnome.org/mailman/listinfo/f-spot-list --=-MlKkJLaHT+pcunwi+hkS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkrZ+uAACgkQ5PC9ZL2IfolGygCZAV38OhcUQpUVoVSYVSB1A7Do WtUAoKC+Nzk40jgFI804i5frUbk5OTDE =uRXH -----END PGP SIGNATURE----- --=-MlKkJLaHT+pcunwi+hkS-- From mjlissner@gmail.com Sat Oct 17 18:03:40 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D56817500D3 for ; Sat, 17 Oct 2009 18:03:40 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fWZL2tWSNDd6 for ; Sat, 17 Oct 2009 18:03:31 +0000 (GMT) Received: from mail-ew0-f217.google.com (mail-ew0-f217.google.com [209.85.219.217]) by menubar.gnome.org (Postfix) with ESMTP id C05FF7500DB for ; Sat, 17 Oct 2009 18:03:22 +0000 (GMT) Received: by ewy17 with SMTP id 17so4345282ewy.15 for ; Sat, 17 Oct 2009 11:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=Ey8bLx+UyVTtaQDGpsYeYhWkpWhEXPOFEZSF64FFEc0=; b=l1R9IwfpVNHI8JKi2TVlLdvuSNaDE3hgadBhyCjverEFO9CFLDvmXQN4fTao+rm/Bv pTtFLhQzqdxxE3CqG9vr7x2IsAgY05ZtVGB5+BODZo5YG6may5B3euyU65OK6ssRo9G1 8k1owN0AIcGwVi05PFa1JRl3cDwNQFqMOoTyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=aiZ7vNtIqg8nOUGYwkst5HYJlORluQ9ETpQ1ah4N88xRgtmDkrDdL0BoGWOP3H34FE t2DyGnMSAq1yNsl00x/AAmb47dfi8PKSilabvkUuvIlRzlgjO0gbyDYeU69BeXWLbzg2 WxUU3Qd4qW6BMJN8qw4NoPe1iJAA+CUggVszA= Received: by 10.216.90.74 with SMTP id d52mr1152130wef.51.1255802600410; Sat, 17 Oct 2009 11:03:20 -0700 (PDT) Received: from ?192.168.1.151? (c-24-5-195-149.hsd1.ca.comcast.net [24.5.195.149]) by mx.google.com with ESMTPS id t12sm3431842gvd.22.2009.10.17.11.03.17 (version=SSLv3 cipher=RC4-MD5); Sat, 17 Oct 2009 11:03:19 -0700 (PDT) Sender: Michael Lissner Message-ID: <4ADA06E4.6080609@michaeljaylissner.com> Date: Sat, 17 Oct 2009 11:03:16 -0700 From: Michael Lissner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5pre) Gecko/20091015 Lightning/1.0pre Shredder/3.0pre MIME-Version: 1.0 To: Jean Levasseur Subject: Re: Script to Clean Up Orphans References: <4AD57D70.5010606@michaeljaylissner.com> <1255799524.7886.4.camel@giskard> In-Reply-To: <1255799524.7886.4.camel@giskard> X-Enigmail-Version: 0.97a Content-Type: multipart/mixed; boundary="------------090407080201020708090500" Cc: f-spot-list@gnome.org X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 18:03:41 -0000 This is a multi-part message in MIME format. --------------090407080201020708090500 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks Jean. I updated that so it actually uses a variable for the dbpath, and cleaned up a couple other things as well. The latest version is here: http://michaeljaylissner.com/blog/script-to-cleanup-fspot-database Michael Lissner mlissner@michaeljaylissner.com 909-576-4123 Jean Levasseur wrote on 10/17/2009 10:12 AM: > From first (and quick!) view, it looks good, but since the database has > moved from ~/.gnome2/f-spot to $XDG_CONFIG_DIR/f-spot/ (which is in 99% > of cases ~/.config/f-spot), I would test the presence of that path too. > > - Foxmike. > > Le mercredi 14 octobre 2009 à 00:27 -0700, Michael Lissner a écrit : > >> Hi, I just wrote a script to clean up orphan entries in the f-spot >> database, and I wanted to see if I could get any feedback on it. >> >> This was inspired by my use of f-spot yesterday, when browsing my photos >> within f-spot. At one point, it crashed because one of the files it was >> looking for had been (re)moved manually outside of f-spot. It surprised >> me that an orphan database entry would cause f-spot to crash, but I >> noticed that I had a lot of these photos and no easy way to fix the >> problem (and that f-spot was crashing a lot as a result). >> >> So, I wrote the script that is attached, and also posted here: >> http://paste.ubuntu.com/292946/ >> >> Any feedback would be more than welcome. I tested it moments ago on my >> database, and it seems to have done the trick quite well. >> >> Thanks, >> >> _______________________________________________ >> F-spot-list mailing list >> F-spot-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/f-spot-list >> > > --------------090407080201020708090500 Content-Type: text/x-vcard; charset=utf-8; name="mlissner.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mlissner.vcf" YmVnaW46dmNhcmQNCmZuOk1pY2hhZWwgTGlzc25lcg0KbjpMaXNzbmVyO01pY2hhZWwNCmVt YWlsO2ludGVybmV0Om1saXNzbmVyQG1pY2hhZWxqYXlsaXNzbmVyLmNvbQ0KdGVsO2NlbGw6 OTA5LTU3Ni00MTIzDQp4LW1vemlsbGEtaHRtbDpUUlVFDQp2ZXJzaW9uOjIuMQ0KZW5kOnZj YXJkDQoNCg== --------------090407080201020708090500-- From nicku@nicku.org Sun Oct 18 00:32:50 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 0AC61750144 for ; Sun, 18 Oct 2009 00:32:50 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X+Er5OZSR484 for ; Sun, 18 Oct 2009 00:32:42 +0000 (GMT) Received: from nicku.org (nicku.org [64.22.125.63]) by menubar.gnome.org (Postfix) with ESMTP id 8584F750198 for ; Sun, 18 Oct 2009 00:32:33 +0000 (GMT) Received: from localhost (localhost.localdomain [127.0.0.1]) by nicku.org (Postfix) with ESMTP id BB2CA285A2 for ; Sun, 18 Oct 2009 11:32:31 +1100 (EST) X-Virus-Scanned: amavisd-new at nicku.org Received: from nicku.org ([127.0.0.1]) by localhost (nicku.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vgo8LIJMLUZb; Sun, 18 Oct 2009 11:32:29 +1100 (EST) Received: from www3.nicku.org (c114-76-250-52.farfl3.nsw.optusnet.com.au [114.76.250.52]) by nicku.org (Postfix) with ESMTP id 701AD2859D; Sun, 18 Oct 2009 11:32:29 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by www3.nicku.org (Postfix) with ESMTP id 9A56493977; Sun, 18 Oct 2009 11:32:28 +1100 (EST) X-Virus-Scanned: amavisd-new at example.com Received: from www3.nicku.org ([127.0.0.1]) by localhost (nicksbox.nicku.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7CeGvR7k5weQ; Sun, 18 Oct 2009 11:32:26 +1100 (EST) Received: by www3.nicku.org (Postfix, from userid 1000) id 12B6C93982; Sun, 18 Oct 2009 11:32:26 +1100 (EST) Date: Sun, 18 Oct 2009 11:32:25 +1100 From: Nick Urbanik To: f-spot-list@gnome.org Subject: Re: importing specific files, using regex or patterns Message-ID: <20091018003225.GC16713@nicku.org> References: <20091017084653.GB16713@nicku.org> <1255785279.13351.8.camel@ubuntu> <4AD9CA43.4080506@redowl.ca> <1255790267.20257.4.camel@ubuntu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <1255790267.20257.4.camel@ubuntu> User-Agent: Mutt/1.5.19 (2009-01-05) X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 00:32:50 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Folks, Thank you kindly for all your helpful suggestions. Clearly there are other people using (and improving!) f-spot besides me. On 17/10/09 16:37 +0200, Ali Servet Donmez wrote: >On Sat, 2009-10-17 at 09:44 -0400, Jonathan Addleman wrote: >> Ali Servet Donmez wrote: >> > You could try something like this outside of F-Spot: >> >=20 >> > $ cd >> > $ find ! -iwholename '*-thumb.jpg/' -exec cp --parents {}\ >> > \; So it is as I thought; f-spot lacks control over the files that are imported; you can only specify the directory from which all images will be imported. It would be good to implement a file globbing inclusion and exclusion facility, or an option to import files listed in a text file. I would have to learn C# for that; Instead, I'll write a simple work around in Perl that makes hard links of all the files to a directory, then I will give f-spot that directory. >> Though better to just use ln instead of cp. It'd be a *lot* faster >> and take less disk space! If you use hard links, there would be no >> difference for the importing at all, (though it'd need to be on the >> same filesystem, and a filesystem that supports linking of course) > >Fair enough. f-spot clearly could do with a few more features; I might one day learn C# and implement some. First I'll see whether f-spot is useful to me in addition to the Perl software I've written to create web sites of photos organised by EXIF timestamp. --=20 Nick Urbanik http://nicku.org nicku@nicku.org GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24 --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkraYhkACgkQFt/sW7udLCRJVwCg31w25A9xkL8xKs9W0XuvWh4Y iMsAoJOJkbobkYmGMBeuxWKHbcXOnny9 =hoB6 -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From nicku@nicku.org Sun Oct 18 00:45:56 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 51EE6750068 for ; Sun, 18 Oct 2009 00:45:56 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A08VmZz7mgF5 for ; Sun, 18 Oct 2009 00:45:44 +0000 (GMT) Received: from nicku.org (nicku.org [64.22.125.63]) by menubar.gnome.org (Postfix) with ESMTP id 99201750144 for ; Sun, 18 Oct 2009 00:45:36 +0000 (GMT) Received: from localhost (localhost.localdomain [127.0.0.1]) by nicku.org (Postfix) with ESMTP id 3BC7D2859D for ; Sun, 18 Oct 2009 11:45:35 +1100 (EST) X-Virus-Scanned: amavisd-new at nicku.org Received: from nicku.org ([127.0.0.1]) by localhost (nicku.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K23ejzguyzjP; Sun, 18 Oct 2009 11:45:33 +1100 (EST) Received: from www3.nicku.org (c114-76-250-52.farfl3.nsw.optusnet.com.au [114.76.250.52]) by nicku.org (Postfix) with ESMTP id C85EE2857E; Sun, 18 Oct 2009 11:45:32 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by www3.nicku.org (Postfix) with ESMTP id CC80093A05; Sun, 18 Oct 2009 11:45:31 +1100 (EST) X-Virus-Scanned: amavisd-new at example.com Received: from www3.nicku.org ([127.0.0.1]) by localhost (nicksbox.nicku.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rCSBBzGdN3vr; Sun, 18 Oct 2009 11:45:26 +1100 (EST) Received: by www3.nicku.org (Postfix, from userid 1000) id A228595C49; Sun, 18 Oct 2009 11:45:26 +1100 (EST) Date: Sun, 18 Oct 2009 11:45:26 +1100 From: Nick Urbanik To: f-spot-list@gnome.org Subject: Re: Script to Clean Up Orphans Message-ID: <20091018004526.GD16713@nicku.org> References: <4AD57D70.5010606@michaeljaylissner.com> <1255799524.7886.4.camel@giskard> <4ADA06E4.6080609@michaeljaylissner.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZoaI/ZTpAVc4A5k6" Content-Disposition: inline In-Reply-To: <4ADA06E4.6080609@michaeljaylissner.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 00:45:56 -0000 --ZoaI/ZTpAVc4A5k6 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Michael, Thanks for your efforts. On 17/10/09 11:03 -0700, Michael Lissner wrote: >Thanks Jean. I updated that so it actually uses a variable for the >dbpath, and cleaned up a couple other things as well. > >The latest version is here: >http://michaeljaylissner.com/blog/script-to-cleanup-fspot-database $ echo $XDG_CONFIG_DIR $ env | grep CONFIG $ ls -l /home/nicku/.config/f-spot/photos.db I'm using Fedora 11. Your script assumes that XDG_CONFIG_DIR is set. From my memory, ~/.config matches some sort of standard: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html $XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used. So perhaps your default should be $HOME/.config instead of $HOME/.gnome2. --=20 Nick Urbanik http://nicku.org nicku@nicku.org GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24 --ZoaI/ZTpAVc4A5k6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkraZSYACgkQFt/sW7udLCQP0wCgos9a+wnVA33OX3rfG4wlD5eX ViEAn16SKhhLffQYaXy+Dy+FIajCpDxm =6pvK -----END PGP SIGNATURE----- --ZoaI/ZTpAVc4A5k6-- From mjlissner@gmail.com Sun Oct 18 04:00:36 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C9D8F750132 for ; Sun, 18 Oct 2009 04:00:36 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.598 X-Spam-Level: X-Spam-Status: No, score=-2.598 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f5us+6OKtGSF for ; Sun, 18 Oct 2009 04:00:25 +0000 (GMT) Received: from mail-yx0-f176.google.com (mail-yx0-f176.google.com [209.85.210.176]) by menubar.gnome.org (Postfix) with ESMTP id 21FC7750120 for ; Sun, 18 Oct 2009 04:00:16 +0000 (GMT) Received: by yxe6 with SMTP id 6so1293088yxe.13 for ; Sat, 17 Oct 2009 21:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=EtP4vqsnM1J61XVUBTvI6WKz8Atoc1ctqpU49Zqrwak=; b=Hq7SENwo/EzwzbvzAtDiS8FkyTpjzv1lr8A/HGei7JaOmBLhB0TwEBgkyauIiRYBz+ dswN1RDGakExVFJl15wB1CMYUFPm8fALXUjftfrKrVneWU31SvajGMyy8/RA/swrfVu2 lDdUkffV/u8wL1kWrdm5eZA9PmxbT4f18kAyU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=jLurhw+n84HxNP/6CxKEUwjNIHVyUgOtX6JTT7FGDgU95Ak/ShMqNCPUnEuLogkUdt wmLoUQN7rTSrFzXdI+r/hMQefEB/KwBiDIN8hFv3bJWN4Nkl7ziyY2eq5oKY1yd6well 3EVmhdDWNAf4u+n5vN30NeHXoyZXzKRfpBgvE= Received: by 10.150.71.1 with SMTP id t1mr5572292yba.203.1255838415440; Sat, 17 Oct 2009 21:00:15 -0700 (PDT) Received: from ?192.168.1.151? (c-24-5-195-149.hsd1.ca.comcast.net [24.5.195.149]) by mx.google.com with ESMTPS id 21sm1840902ywh.9.2009.10.17.21.00.11 (version=SSLv3 cipher=RC4-MD5); Sat, 17 Oct 2009 21:00:14 -0700 (PDT) Sender: Michael Lissner Message-ID: <4ADA92C8.20602@michaeljaylissner.com> Date: Sat, 17 Oct 2009 21:00:08 -0700 From: Michael Lissner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5pre) Gecko/20091015 Lightning/1.0pre Shredder/3.0pre MIME-Version: 1.0 To: Nick Urbanik Subject: Re: Script to Clean Up Orphans References: <4AD57D70.5010606@michaeljaylissner.com> <1255799524.7886.4.camel@giskard> <4ADA06E4.6080609@michaeljaylissner.com> <20091018004526.GD16713@nicku.org> In-Reply-To: <20091018004526.GD16713@nicku.org> X-Enigmail-Version: 0.97a Content-Type: multipart/mixed; boundary="------------010902000100070401090600" Cc: f-spot-list@gnome.org X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 04:00:37 -0000 This is a multi-part message in MIME format. --------------010902000100070401090600 Content-Type: multipart/alternative; boundary="------------090002090703020004030701" --------------090002090703020004030701 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit If I understand correctly, you're saying that the $XDG variables won't necessarily be in use, and that the script shouldn't count on them being there. And if they're not there, that the default location should be assumed. If that's correct, here's my new DBPATH setting block: # find our db, and set a var. Checking for XDG path first, since it's the more recent location of the db if [ -f $XDG_CONFIG_DIR/f-spot/photos.db ] #checks if the $XDG_CONFIG_DIR variable is in use then DBPATH=$XDG_CONFIG_DIR/f-spot/photos.db elif [ -f $HOME/.config/f-spot/photos.db ] #uses the default $XDG location, if that's being used. then DBPATH=$HOME/.config/f-spot/photos.db elif [ -f $HOME/.gnome2/f-spot/photos.db ] #uses the old location of the DB, if the former aren't in use. then DBPATH=$HOME/.gnome2/f-spot/photos.db else echo "Error: Could not find database. Damn." exit 1 fi Michael Lissner mlissner@michaeljaylissner.com 909-576-4123 Nick Urbanik wrote on 10/17/2009 05:45 PM: > Dear Michael, > > Thanks for your efforts. > > On 17/10/09 11:03 -0700, Michael Lissner wrote: >> Thanks Jean. I updated that so it actually uses a variable for the >> dbpath, and cleaned up a couple other things as well. >> >> The latest version is here: >> http://michaeljaylissner.com/blog/script-to-cleanup-fspot-database > > $ echo $XDG_CONFIG_DIR > > $ env | grep CONFIG > $ ls -l /home/nicku/.config/f-spot/photos.db > > I'm using Fedora 11. Your script assumes that XDG_CONFIG_DIR is set. > From my memory, ~/.config matches some sort of standard: > > http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html > > $XDG_CONFIG_HOME defines the base directory relative to which user > specific configuration files should be stored. If $XDG_CONFIG_HOME > is either not set or empty, a default equal to $HOME/.config should > be used. > > So perhaps your default should be $HOME/.config instead of > $HOME/.gnome2. > > > _______________________________________________ > F-spot-list mailing list > F-spot-list@gnome.org > http://mail.gnome.org/mailman/listinfo/f-spot-list > --------------090002090703020004030701 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit If I understand correctly, you're saying that the $XDG variables won't necessarily be in use, and that the script shouldn't count on them being there. And if they're not there, that the default location should be assumed. If that's correct, here's my new DBPATH setting block:

    # find our db, and set a var. Checking for XDG path first, since it's the more recent location of the db
    if [ -f $XDG_CONFIG_DIR/f-spot/photos.db ] #checks if the $XDG_CONFIG_DIR variable is in use
    then
        DBPATH=$XDG_CONFIG_DIR/f-spot/photos.db
    elif [ -f $HOME/.config/f-spot/photos.db ] #uses the default $XDG location, if that's being used.
    then
        DBPATH=$HOME/.config/f-spot/photos.db
    elif [ -f $HOME/.gnome2/f-spot/photos.db ] #uses the old location of the DB, if the former aren't in use.
    then
        DBPATH=$HOME/.gnome2/f-spot/photos.db
    else
        echo "Error: Could not find database. Damn." 
        exit 1
    fi

Michael Lissner
mlissner@michaeljaylissner.com
909-576-4123




Nick Urbanik wrote on 10/17/2009 05:45 PM:
Dear Michael,

Thanks for your efforts.

On 17/10/09 11:03 -0700, Michael Lissner wrote:
Thanks Jean. I updated that so it actually uses a variable for the
dbpath, and cleaned up a couple other things as well.

The latest version is here:
http://michaeljaylissner.com/blog/script-to-cleanup-fspot-database

$ echo $XDG_CONFIG_DIR

$ env | grep CONFIG
$ ls -l /home/nicku/.config/f-spot/photos.db

I'm using Fedora 11.  Your script assumes that XDG_CONFIG_DIR is set.
From my memory, ~/.config matches some sort of standard:

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

  $XDG_CONFIG_HOME defines the base directory relative to which user
  specific configuration files should be stored. If $XDG_CONFIG_HOME
  is either not set or empty, a default equal to $HOME/.config should
  be used.

So perhaps your default should be $HOME/.config instead of
$HOME/.gnome2.
_______________________________________________ F-spot-list mailing list F-spot-list@gnome.org http://mail.gnome.org/mailman/listinfo/f-spot-list
--------------090002090703020004030701-- --------------010902000100070401090600 Content-Type: text/x-vcard; charset=utf-8; name="mlissner.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mlissner.vcf" begin:vcard fn:Michael Lissner n:Lissner;Michael email;internet:mlissner@michaeljaylissner.com tel;cell:909-576-4123 x-mozilla-html:TRUE version:2.1 end:vcard --------------010902000100070401090600-- From nicku@nicku.org Sun Oct 18 08:32:26 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C6351750078 for ; Sun, 18 Oct 2009 08:32:26 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7LD7YBbGLjJB for ; Sun, 18 Oct 2009 08:32:19 +0000 (GMT) Received: from nicku.org (nicku.org [64.22.125.63]) by menubar.gnome.org (Postfix) with ESMTP id 4DDBA750132 for ; Sun, 18 Oct 2009 08:32:10 +0000 (GMT) Received: from localhost (localhost.localdomain [127.0.0.1]) by nicku.org (Postfix) with ESMTP id 019AE2859D for ; Sun, 18 Oct 2009 19:32:09 +1100 (EST) X-Virus-Scanned: amavisd-new at nicku.org Received: from nicku.org ([127.0.0.1]) by localhost (nicku.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KScouBIStgzV; Sun, 18 Oct 2009 19:32:07 +1100 (EST) Received: from www3.nicku.org (c114-76-250-52.farfl3.nsw.optusnet.com.au [114.76.250.52]) by nicku.org (Postfix) with ESMTP id BB7C12857E; Sun, 18 Oct 2009 19:32:06 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by www3.nicku.org (Postfix) with ESMTP id DE90692E50; Sun, 18 Oct 2009 19:32:05 +1100 (EST) X-Virus-Scanned: amavisd-new at example.com Received: from www3.nicku.org ([127.0.0.1]) by localhost (nicksbox.nicku.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iS469-NLL4KG; Sun, 18 Oct 2009 19:32:03 +1100 (EST) Received: by www3.nicku.org (Postfix, from userid 1000) id C33AD92E52; Sun, 18 Oct 2009 19:32:03 +1100 (EST) Date: Sun, 18 Oct 2009 19:32:03 +1100 From: Nick Urbanik To: f-spot-list@gnome.org Subject: Re: Script to Clean Up Orphans Message-ID: <20091018083203.GE16713@nicku.org> References: <4AD57D70.5010606@michaeljaylissner.com> <1255799524.7886.4.camel@giskard> <4ADA06E4.6080609@michaeljaylissner.com> <20091018004526.GD16713@nicku.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xo44VMWPx7vlQ2+2" Content-Disposition: inline In-Reply-To: <20091018004526.GD16713@nicku.org> User-Agent: Mutt/1.5.19 (2009-01-05) X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 08:32:27 -0000 --xo44VMWPx7vlQ2+2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Folks, On 18/10/09 11:45 +1100, Nick Urbanik wrote: > $ ls -l /home/nicku/.config/f-spot/photos.db I left out the result: -rw-r--r--. 1 nicku nicku 2999296 2009-10-17 19:15 /home/nicku/.config/f-sp= ot/photos.db Actually, if I were writing code to find photos.db, I would: * use $XDG_CONFIG_DIR if it has a value; * check for the existence of ~/.config/f-spot/photos.db * check for the existence of ~/.gnome2/f-spot/photos.db * give up rather than what your code does, which is: * use $XDG_CONFIG_DIR if it has a value; * check for the existence of ~/.gnome2/f-spot/photos.db * give up --=20 Nick Urbanik http://nicku.org nicku@nicku.org GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24 --xo44VMWPx7vlQ2+2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkra0oMACgkQFt/sW7udLCTFyACfQ81g/0Ca4PCwavpikbLdNYK8 YvkAoLxBps60xDTupwo48j3qE5mOa7K6 =g2Qf -----END PGP SIGNATURE----- --xo44VMWPx7vlQ2+2-- From mjlissner@gmail.com Sun Oct 18 09:07:54 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 829817501E4 for ; Sun, 18 Oct 2009 09:07:54 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.598 X-Spam-Level: X-Spam-Status: No, score=-2.598 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TMetXu3f6QYf for ; Sun, 18 Oct 2009 09:07:46 +0000 (GMT) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by menubar.gnome.org (Postfix) with ESMTP id 1CDD57501EF for ; Sun, 18 Oct 2009 09:07:35 +0000 (GMT) Received: by pxi38 with SMTP id 38so2634751pxi.13 for ; Sun, 18 Oct 2009 02:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=ncBBa5BJL3AcgP/X9HPYxPiCqxAR6GaZQrTyHqatdHk=; b=VmpThjDyT9N8GIwxx7sUHa7zM5B1UEW3doWpM86XOX0tcE/eHqVxH9KNVLr2beL5Tz w2FmdEXdaWTZ73U5QRniqJzAuEub8jjScSlZLRTKEfng33WSku3MNckySnTa7JCio7Oh Lf3aRa/xzKyUFgTbrPdtNl9aMMsA02kIhIb0Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=axaIEndRXBoPq2+9xRdPrT7X5LqxKLAzWZQOHmjn9WLf3puxYiGCy3D9n7zqk+JbY1 eW0vQts2eOub74JfBfgyBxboUM6OVPNr9Poqsky0F0x48PLKq0rnqAHIDBfXNw/ILSq+ 10TMDTeI7o/Z1Vp1KrxgwoiOEm3+1x/cuu+K4= Received: by 10.114.104.10 with SMTP id b10mr3345749wac.36.1255856854297; Sun, 18 Oct 2009 02:07:34 -0700 (PDT) Received: from ?192.168.1.151? (c-24-5-195-149.hsd1.ca.comcast.net [24.5.195.149]) by mx.google.com with ESMTPS id 21sm2080188pxi.0.2009.10.18.02.07.32 (version=SSLv3 cipher=RC4-MD5); Sun, 18 Oct 2009 02:07:33 -0700 (PDT) Sender: Michael Lissner Message-ID: <4ADADAD3.70507@michaeljaylissner.com> Date: Sun, 18 Oct 2009 02:07:31 -0700 From: Michael Lissner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5pre) Gecko/20091015 Lightning/1.0pre Shredder/3.0pre MIME-Version: 1.0 To: Nick Urbanik Subject: Re: Script to Clean Up Orphans References: <4AD57D70.5010606@michaeljaylissner.com> <1255799524.7886.4.camel@giskard> <4ADA06E4.6080609@michaeljaylissner.com> <20091018004526.GD16713@nicku.org> <20091018083203.GE16713@nicku.org> In-Reply-To: <20091018083203.GE16713@nicku.org> X-Enigmail-Version: 0.97a Content-Type: multipart/mixed; boundary="------------080806000408070706030806" Cc: f-spot-list@gnome.org X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 09:07:54 -0000 This is a multi-part message in MIME format. --------------080806000408070706030806 Content-Type: multipart/alternative; boundary="------------000008080905020103010509" --------------000008080905020103010509 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cool. That's exactly what the latest version should be doing. Thanks for the suggestions. Michael Lissner mlissner@michaeljaylissner.com 909-576-4123 Nick Urbanik wrote on 10/18/2009 01:32 AM: > Dear Folks, > > On 18/10/09 11:45 +1100, Nick Urbanik wrote: >> $ ls -l /home/nicku/.config/f-spot/photos.db > > I left out the result: > -rw-r--r--. 1 nicku nicku 2999296 2009-10-17 19:15 > /home/nicku/.config/f-spot/photos.db > > Actually, if I were writing code to find photos.db, I would: > * use $XDG_CONFIG_DIR if it has a value; > * check for the existence of ~/.config/f-spot/photos.db > * check for the existence of ~/.gnome2/f-spot/photos.db > * give up > > rather than what your code does, which is: > * use $XDG_CONFIG_DIR if it has a value; > * check for the existence of ~/.gnome2/f-spot/photos.db > * give up > > > _______________________________________________ > F-spot-list mailing list > F-spot-list@gnome.org > http://mail.gnome.org/mailman/listinfo/f-spot-list > --------------000008080905020103010509 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cool. That's exactly what the latest version should be doing.

Thanks for the suggestions.
Michael Lissner
mlissner@michaeljaylissner.com
909-576-4123




Nick Urbanik wrote on 10/18/2009 01:32 AM:
Dear Folks,

On 18/10/09 11:45 +1100, Nick Urbanik wrote:
$ ls -l /home/nicku/.config/f-spot/photos.db

I left out the result:
-rw-r--r--. 1 nicku nicku 2999296 2009-10-17 19:15 /home/nicku/.config/f-spot/photos.db

Actually, if I were writing code to find photos.db, I would:
* use $XDG_CONFIG_DIR if it has a value;
* check for the existence of ~/.config/f-spot/photos.db
* check for the existence of ~/.gnome2/f-spot/photos.db
* give up

rather than what your code does, which is:
* use $XDG_CONFIG_DIR if it has a value;
* check for the existence of ~/.gnome2/f-spot/photos.db
* give up
_______________________________________________ F-spot-list mailing list F-spot-list@gnome.org http://mail.gnome.org/mailman/listinfo/f-spot-list
--------------000008080905020103010509-- --------------080806000408070706030806 Content-Type: text/x-vcard; charset=utf-8; name="mlissner.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mlissner.vcf" begin:vcard fn:Michael Lissner n:Lissner;Michael email;internet:mlissner@michaeljaylissner.com tel;cell:909-576-4123 x-mozilla-html:TRUE version:2.1 end:vcard --------------080806000408070706030806-- From e.guepe@gmail.com Sat Oct 24 18:51:31 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6DBFD750092 for ; Sat, 24 Oct 2009 18:51:31 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qxTOUY6FnjzZ for ; Sat, 24 Oct 2009 18:51:23 +0000 (GMT) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by menubar.gnome.org (Postfix) with ESMTP id D41C2750090 for ; Sat, 24 Oct 2009 18:51:14 +0000 (GMT) Received: by qw-out-2122.google.com with SMTP id 9so747105qwb.9 for ; Sat, 24 Oct 2009 11:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=B/ZfweVUZoa/v1IwLSauXI6xG6QT0tqaEhtOFqXAPps=; b=l9KvJXkyQ3w4O3b2YmkWgcKOPE+5ilsrb+ZbC7AxQiziRatrK3wNFaLRXIPsbI93gC BP2nQjvOMQ41jqYXIfLS3WvimdIBnKJKtFsbVXIs0rqix1IP6HCkxBff3I2fS3sTJgTT PeVqEOug/S+YZeiN2hef6D4rXPb4rHahp960c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=e68pVc0LkPEO+27L7xwT8AyqnJLD60XbNl/IlT/uc73+Hy3i8/sD114rAb/RsZC3H5 +fh7sHNAekl6bvwIaPcgfeh6G7Ntj1GruqpEXBvKWqdjWxh3FIFgpHsf891F5QSrgM3g oOp7q+CqhNOj59uMOMP6tQNtN+cFRnfeVepFM= Received: by 10.224.87.228 with SMTP id x36mr6261227qal.287.1256410271836; Sat, 24 Oct 2009 11:51:11 -0700 (PDT) Received: from ?192.168.1.20? (modemcable102.214-56-74.mc.videotron.ca [74.56.214.102]) by mx.google.com with ESMTPS id 7sm11479088qwf.46.2009.10.24.11.51.08 (version=SSLv3 cipher=RC4-MD5); Sat, 24 Oct 2009 11:51:09 -0700 (PDT) Subject: Face detection in F-Spot From: Etienne Lepercq To: f-spot-list@gnome.org Content-Type: text/plain Date: Sat, 24 Oct 2009 14:51:01 -0400 Message-Id: <1256410261.4465.26.camel@xglurb-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2009 18:51:31 -0000 As many users, I think that a face detection plus a face recognition feature in F-Spot is a must-have. There has been several attempts to implement such features (firstly face detection + region tagging), but none has reached the point of being integrated in the F-Spot code (yet). However, recently Ali Servet Donmez stepped up to implement face detection and region tagging [1]. He made some successful calls from Mono to the openCV demo code [2]. Its next steps seems to integrate such calls into the mono code, then implement region tagging inside the F-spot DDB. Personally, I can't work on such code because of a lack of time, but I would like to : 1) Raise interest of the f-spot developer/users community, to get advices, features, architecture requests, etc... (standard open-source development process) 2) Propose some algorithms ideas/libraries existing for face detection and/or face recognition. The actual opencv code (part of the demos of opencv) is not as efficient as lots of algorithms presented in recent research papers. For example, [3] proposes a solution based on AdaBoost + color detection which succesfully detects faces at about 90%, from a standard library of pictures used in research papers. When looking at the very first attempts made by Ali Servet Donmez, it seems pretty clear that the detection rate is far less than 90%. So, does anyone here knows of some open-source algorithm, based on opencv or as a library callable from Mono code, able to detect faces, or even recognize them ? Or some starting point(s) ? If you have any ideas, or advices for Ali, he always wrote "any advices welcome" on his blog ;-) and he told me he subscribed to the F-Spot ML. Thank you. Etienne Lepercq [1] : http://www.pittle.org/weblog/f-spot-face-detection-2_433.html [2] : http://www.pittle.org/weblog/face-detection-now-works-with-mono_470.html [3] : Yan-Wen Wu, Xue-Yi Ai (2008), Face detection in color images using AdaBoost algorithm based on skin color information, Knowledge Discovery and Data Mining, 2008. WKDD 2008. First International Workshop on From gengiskanhg.geo@yahoo.com Thu Oct 29 13:15:43 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4F5AD75008C for ; Thu, 29 Oct 2009 13:15:43 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.598 X-Spam-Level: X-Spam-Status: No, score=-2.598 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5A5SemdDFWrU for ; Thu, 29 Oct 2009 13:15:37 +0000 (GMT) Received: from web36108.mail.mud.yahoo.com (web36108.mail.mud.yahoo.com [66.163.179.222]) by menubar.gnome.org (Postfix) with SMTP id F137F75002F for ; Thu, 29 Oct 2009 13:15:28 +0000 (GMT) Received: (qmail 88575 invoked by uid 60001); 29 Oct 2009 13:15:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1256822126; bh=Ii8OVV26g8QK6UbSo/6Xn86tzh9Ea/jFbgMFq26iy10=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=JhaBSa9GrbtP1k8rG39+FthaoBucGzoJu8P1xnjXmBvwLBZeR+fXvR1vo0Z3C+fMliwgUWSaHOzG8NJ5lmwh1IZtyl4+BnMAR3VVG+8liw2rsCN1Eq/HveEkB/XKHh9NuqtE7LRpKbKnDmwY3+WMth3gH1FZFtkea33U1ueHUcw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=ci05locA47HL3zQ7r6nrpFlnRSXjNk01XSSyhhLF5KnnDMAZXX2VCH6g+Ayrv+eLgEFogdMzm5+Uwf0esBPWsCvpkGB87oHaY8kQw2axw8Ts20FY2wH9iR9bJvbx4XuMW5FWJHI1sm8w7TSyE5suveXnWJKezMa59sHZJ4hMIec=; Message-ID: <667420.88076.qm@web36108.mail.mud.yahoo.com> X-YMail-OSG: D1YkXbEVM1ldT15d0S6XZ82Pt0FoYpBatdL010nbVHYzJ3H2VzV39f.cBkpzgFoX.Mu_kI3bnNYGsRoL4_PJ1JGntbIvSsxKkULg5vIbhXgu8xHDhThR2Cr_5jp6Qjoe1Q4iTX5SJZHgJHtzsHKTtSc4h8VKwUhkTrT8WTGhfRFVIRHlqoqQFP9PA4F6Yjx5ySCQXkHW29iaDTU1tK6rVJegJvAWqdCmpdGpymPKHJvxlF8BL3YVBjQFIeAMHB1RMC9QRojzhahr5Ye0fquOEuxLj.vFjt1WBVRdIfArMJuCBzaWcjOhDrZ8q7EnPzSt8R7TiZT0yN0sU0C8YLCO0mCpzw4oA02JVZuSFiuRF4Yp_O2zkIN4frp.kG2a2nyHplWVVGmellcitgp6kIsxLg-- Received: from [129.69.81.122] by web36108.mail.mud.yahoo.com via HTTP; Thu, 29 Oct 2009 06:15:26 PDT X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 Date: Thu, 29 Oct 2009 06:15:26 -0700 (PDT) From: =?iso-8859-1?Q?Gengis_Kanhg_Toledo_Ram=EDrez?= Subject: Managing several db and backups To: f-spot-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1913974798-1256822126=:88076" X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2009 13:15:43 -0000 --0-1913974798-1256822126=:88076 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Good morning:=0A=0AI have two F-spot databases in two different folders (F1= and F2) with their correspondance "photo.db" file in them.=0ABoth dbs have= the same tags that I have created. Thay are tens.=0AThese folders are in a= n External Big Harddrive=0A=0AI know and have the extentions: MergeDB and C= hangePath, but I can not manage to realise the goal.=0A=0AI thing there are= problems with the DBs because it stores the original path.=0A=0A=0AI have = proved with the chagePath extention but I can not change the target path, I= do not know why.=0A=0A=0ACan some one here help me?=0A=0AThank you very mu= ch and have a nice day=0A=0ARegards.=0A=0A=0A --0-1913974798-1256822126=:88076 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Good morning:

I have two F-spot databases in t= wo different folders (F1 and F2) with their correspondance "photo.db" file = in them.
Both dbs have the same tags that I have created. Thay are tens.=
These folders are in an External Big Harddrive

I know and have t= he extentions: MergeDB and ChangePath, but I can not manage to realise the = goal.

I thing there are problems with the DBs because it stores the = original path.


I have proved with the chagePath extention but I = can not change the target path, I do not know why.


Can some one = here help me?

Thank you very much and have a nice day

Regards= .



=0A=0A

=0A=0A --0-1913974798-1256822126=:88076-- From stephane@delcroix.org Thu Oct 29 14:06:15 2009 Return-Path: X-Original-To: f-spot-list@gnome.org Delivered-To: f-spot-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6B1E275012C for ; Thu, 29 Oct 2009 14:06:15 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=unavailable Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yDoRGucXxnBP for ; Thu, 29 Oct 2009 14:06:08 +0000 (GMT) Received: from 42.mail-out.ovh.net (42.mail-out.ovh.net [213.251.189.42]) by menubar.gnome.org (Postfix) with SMTP id 7730E7501CC for ; Thu, 29 Oct 2009 14:05:59 +0000 (GMT) Received: (qmail 15955 invoked by uid 503); 29 Oct 2009 14:05:57 -0000 Received: from b9.ovh.net (HELO mail440.ha.ovh.net) (213.186.33.59) by 42.mail-out.ovh.net with SMTP; 29 Oct 2009 14:05:57 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 29 Oct 2009 14:07:30 -0000 Received: from 12.102-243-81.adsl-dyn.isp.belgacom.be (HELO ?192.168.42.20?) (stephane%delcroix.org@81.243.102.12) by ns0.ovh.net with SMTP; 29 Oct 2009 14:07:30 -0000 Subject: F-Spot 0.6.1.4 From: Stephane Delcroix To: gnome-announce-list , f-spot-list Content-Type: text/plain; charset="UTF-8" Date: Thu, 29 Oct 2009 15:03:48 +0100 Message-Id: <1256825028.18464.3.camel@linux-chv3.site> Mime-Version: 1.0 X-Mailer: Evolution 2.28.0 Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 11646871588190177424 X-Ovh-Remote: 81.243.102.12 (12.102-243-81.adsl-dyn.isp.belgacom.be) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N X-BeenThere: f-spot-list@gnome.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2009 14:06:15 -0000 The NEWS file say it all: f-spot 0.6.1.4 - Oct 29 2009 - Dedication ----------------------------------------- - bugfix release for 0.6.x branch - keep sorting on startup (bgo #598714) (Lorenzo) - fix a NRE on LastRollDialog (bgo #598009) (Jordi Mas) - fix the toolbar 2.28-ification (bgo #591421) (Michael Monreal) - accept --sync as comandline parameter - avoid crashing on AdjustTimeDialog (bgo #591402) - allow more than 60 pictures per Facebook albums - backported translations -s