[KPhotoAlbum] Can't import
johannes at zarl-zierl.at
Mon Jul 18 20:59:01 CEST 2016
On Sonntag, 17. Juli 2016 21:53:16 CEST Dave Sill wrote:
> Ah, thanks, Johannes. That makes sense.
Glad I could help you ;-)
> I'm used to photo managers having
> an import function for extracting new photos from a camera or memory card.
> So kphotoalbum doesn't have such a feature?
No, kphotoalbum does not provide this.
If you want to have a device action "Import photos", you can add it manually.
To give you a starting point, something like this should work:
1. Create a shell script that does the import:
# ask the user for a name:
IMPORTNAME=$(kdialog --title "Choose album name" --inputbox "Specify an album name:" "$IMPORTDATE" )
# copy the images from the memory card:
kdecp5 "$IMAGE_SOURCE" "$IMAGEDIR/$YEAR/$IMPORTNAME"
2. Make the script file executable:
chmod +x ~/bin/import-photos.sh
3. Add a device action in the kde settings:
-> Add an appropriate action for your device and add the script you just created:
More information about the KPhotoAlbum