slideshow screensaver from starred pics in digikam?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

slideshow screensaver from starred pics in digikam?

John Stumbles
My kde screensaver is a a slideshow, configured to show photographs from
a directory tree of a selected set of my better photographs. I populate
this tree manually by hard linking photographs from the tree where I
store all my pictures to the slideshow heirarchy,
e.g. cp -rl ~/pix/2012/20120429_some_description ~/pix/show
and then edit the directory under ~/pix/show, deleting the unwanted images.

Since I am beginning to use digikam for rating my photographs with stars
I would like to be able to include all images rated, say, **** and above
in my screen-saver slideshow.

With 'Tags filter' I can select the photos I want, and with 'Export to
remote computer' I can make copies in a directory under ~/pix/show.
Since these are copies rather than hard links I am using disk space I
wouldn't need to use if I were making hard links, as I've been doing the
old way. This will probably amount to a few tens of gigabytes which is
not a huge issue but it would be nice to be as economical as possible.

I have looked at digitaglinktree which is similar to what I want but
works on tags, not star ratings. I suppose I could try hacking on that
but my Perl is very rusty :-(

Can anybody think of any other ways I could achieve this?

thanks

--
John Stumbles                                    http://stumbles.org.uk
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: slideshow screensaver from starred pics in digikam?

Andreas Weigl-4
Hi

On Sun, Apr 29, 2012 at 10:39 AM, John Stumbles <[hidden email]> wrote:
Since I am beginning to use digikam for rating my photographs with stars I would like to be able to include all images rated, say, **** and above in my screen-saver slideshow.

Can anybody think of any other ways I could achieve this?

I don't have my machine here right now, but if I remember correctly you could do it like this.

  1. open kate
  2. open digikam and list all the pictures you want to add by searching for them
  3. Drag and drop the into kate (you should get the full path and file names of the pictures as a list)
  4. save the file
  5. open a terminal and go to the directory where you want the links to be
  6. execute the following:
    for i in `cat file`
    do
    ln -s $i
    done
That should do the trick.

Andy 

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: slideshow screensaver from starred pics in digikam?

John Stumbles
On 07/05/12 18:15, Andreas Weigl wrote:

> I don't have my machine here right now, but if I remember correctly you
> could do it like this.
>
>  1. open kate
>  2. open digikam and list all the pictures you want to add by searching
>     for them
>  3. Drag and drop the into kate (you should get the full path and file
>     names of the pictures as a list)

I tried selecting a few pictures from an album and dragging + dropping
them into kate but kate opened each one as binary image files!

--
John Stumbles                                    http://stumbles.org.uk
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: slideshow screensaver from starred pics in digikam?

Anders Lund
Den 07-05-2012 22:32, John Stumbles skrev:

> On 07/05/12 18:15, Andreas Weigl wrote:
>
>> I don't have my machine here right now, but if I remember correctly you
>> could do it like this.
>>
>>  1. open kate
>>  2. open digikam and list all the pictures you want to add by searching
>>     for them
>>  3. Drag and drop the into kate (you should get the full path and file
>>     names of the pictures as a list)
>
> I tried selecting a few pictures from an album and dragging + dropping
> them into kate but kate opened each one as binary image files!
>
Within KDE, you can drop the files on a folder, and you will be asked if
you want to copy, move or link them there.

Anders
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: slideshow screensaver from starred pics in digikam?

Andreas Weigl-4
Hi
 
I tried selecting a few pictures from an album and dragging + dropping them into kate but kate opened each one as binary image files!

My bad, I didn't use kate but konsole and vim, there I simply get a list of the files 
 
Within KDE, you can drop the files on a folder, and you will be asked if you want to copy, move or link them there.
 
True, works also, tho I usually do it the way I descried. This way you can do additional things if you want to, but for simply linking the files this is enough.

Andy

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: slideshow screensaver from starred pics in digikam?

John Stumbles
On 07/05/12 22:42, Andreas Weigl wrote:

> My bad, I didn't use kate but konsole and vim, there I simply get a list
> of the files

Ah yes, thanks, that works for me too.

Dragging gives a file containing filespecs like
'/path/to/pix/img0001.jpg' '/path/to/pix/img0002.jpg' ... etc
They're all on one line - maybe this might run into problems with line
length/number of arguments and you might have to use xargs?

Or you can ^C copy the selected images and paste into the console file
which gives something like:

file:///path/to/pix/img0001.jpg
file:///path/to/pix/img0002.jpg
... etc, which might be easier to work with (e.g. you could paste that
into STDIN to a script which would remove the 'file://' string from the
filespec and process the rest).


>     Within KDE, you can drop the files on a folder, and you will be
>     asked if you want to copy, move or link them there.

Yes, though that gives symlinks only, not hard links. (I'm curious: why
doesn't KDE understand hard links? It's funny that windows - which I
think KDE is trying to be like - doesn't understand them either, even
though NTFS has them!)

> True, works also, tho I usually do it the way I descried. This way you
> can do additional things if you want to, but for simply linking the
> files this is enough.

Unfortunately either way would be horribly tedious to do for a whole
collection of photographs - you'd have to filter-on-stars, select-all,
arrange window sizes and positions (if you're dragging and dropping),
open a console and editor or start script processing STDIN (if dragging
or copy+pasting to console) or create/navigate to destination directory
(if dragging or copying in KDE) *for each album*!

I really want something that could pretty much run as a cron job,
syncing my starred pictures from digikam to my slideshow directory tree,
adding & removing directories and images according to what I've been
rating in dk. I think I might have to look at modifying that Perl
digitaglinktree script!

thanks all

--
John Stumbles                                    http://stumbles.org.uk
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users