Re: Understanding f-spot import dialog issues



On Sat, Dec 12, 2009 at 6:18 AM, Stephane Delcroix
<stephane delcroix org> wrote:
> On Tue, 2009-12-08 at 22:47 -0600, Ryan Harper wrote:
>> Hello,
>>
>> I've been using f-spot for some time since it's been included in
>> Ubuntu.  In switching between Ubuntu 9.04 and 9.10, I've noticed a
>> couple if things that have caught my attention and I'd like to dig in
>> and see if I can help out.  When I ran f-spot (0.5.0.3) on 9.04, I'd
>> stick in my SD card into my laptop and the f-spot importer would come
>> up and I'd be able to import the photos, and as a nice side-effect,
>> the camera movies (.MOV) files also got copied into the Photos
>> directory along side.  This was idea since it ensured I got a copy of
>> all of the files the camera generated.  F-spot in 9.10 no longer does
>> this.  I spent some time rebuilding the version of f-spot that came
>> with 9.04 on 9.10 only to find out that it the older version of f-spot
>> on 9.10 skipped over the .MOV files.  Looking at the source code,
>> namely FileImportBackend.sc, it seems that not copying files for which
>> F-spot doesn't have a loader for (see AddPath call to HasLoader) and
>> of course there isn't a loader for MOV file.  I'm wondering then, if
>> the code in f-spot for ubuntu 9.04 shouldn't be copying the MOV files,
>> then how does that happen on 9.04 (8.10, 8.04, 7.10 IIRC all had this
>> side-effect behavior) but not on 9.10.  I'm wondering if it's a
>> wider-gnome or mono issue.  Any thoughts on this?  I'm highly
>> motivated to try to get that behavior back if you've got any ideas on
>> how to handle this.
>
> the behavior didn't changed. the way ubuntu invoke f-spot --import did
> (that's my guess).

After further investigation, you are quite right.  I loaded up Ubuntu
9.04 (Jaunty) and ran f-spot there.  Ubuntu uses an import helper
(/usr/bin/f-spot-import) script which in my case of importing a SD
card was invoked like this:

/usr/lib/f-spot/f-spot.exe --import gphoto2:usb:000,000

which brings up the "Copy from Camera" dialog.

On 9.10, however, the helper script has changed and now it invokes
f-spot like this:

/usr/lib/f-spot/f-spot.exe --import /media/disk

Which brings up the "Import from disk" dialog which has different
behavior.  Thanks for the tip in the right direction.

Ryan


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