[Bug 220402] New: Plugin for calling external program

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

[Bug 220402] New: Plugin for calling external program

Bugzilla from kde.20.cyscor@spamgourmet.com
https://bugs.kde.org/show_bug.cgi?id=220402

           Summary: Plugin for calling external program
           Product: digikamimageplugins
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.3.2)
Installed from:    Gentoo Packages

It would be a great feature do call some kind of external program(executable,
bash script, python script, imagemagick) for selected photos and also from
batch queue manager.
This would make it possible, to easily add custom filters to digikam without
the need to write a plugin.
This would also be useful for supporting custom photo workflows which cannot be
realized completely within digikam.

think the only input parameter needed for such a plugin would be the pathname
to the external command line program including additional command line
arguments.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 220402] Plugin for calling external program

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=220402


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Batch Queue Manager
            Version|unspecified                 |1.1.0
            Product|digikamimageplugins         |digikam




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 220402] BQM tool to call an external program

Gilles Caulier-4
In reply to this post by Bugzilla from kde.20.cyscor@spamgourmet.com
https://bugs.kde.org/show_bug.cgi?id=220402

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Plugin for calling external |BQM tool to call an
                   |program                     |external program

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 220402] BQM tool to call an external program

H Law
In reply to this post by Bugzilla from kde.20.cyscor@spamgourmet.com
https://bugs.kde.org/show_bug.cgi?id=220402

--- Comment #1 from H Law <[hidden email]> ---
Created attachment 86842
  --> https://bugs.kde.org/attachment.cgi?id=86842&action=edit
Path to add user script to BQM

I have attempted the attached patch for the BQM to call an external script as
part of the flow.  It is implemented as a custom tool, which can provide two
parameters to call a user script, $INPUT and $OUTPUT, representing input and
output file paths for the tool respectively.   Selected DigiKam metadata, such
as rating, title and comments, are also available as environment variables.

A screenshot will be attached for reference.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 220402] BQM tool to call an external program

H Law
In reply to this post by Bugzilla from kde.20.cyscor@spamgourmet.com
https://bugs.kde.org/show_bug.cgi?id=220402

--- Comment #2 from H Law <[hidden email]> ---
Created attachment 86843
  --> https://bugs.kde.org/attachment.cgi?id=86843&action=edit
Screenshot for the user script tool in BQM

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 220402] BQM tool to call an external program [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from kde.20.cyscor@spamgourmet.com
https://bugs.kde.org/show_bug.cgi?id=220402

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|BQM tool to call an         |BQM tool to call an
                   |external program            |external program [patch]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 220402] Add a new BQM tool to call an external program [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from kde.20.cyscor@spamgourmet.com
https://bugs.kde.org/show_bug.cgi?id=220402

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|BQM tool to call an         |Add a new BQM tool to call
                   |external program [patch]    |an external program [patch]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 220402] Add a new BQM tool to call an external program [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from kde.20.cyscor@spamgourmet.com
https://bugs.kde.org/show_bug.cgi?id=220402

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Gilles Caulier <[hidden email]> ---
*** Bug 88932 has been marked as a duplicate of this bug. ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 220402] Add a new BQM tool to call an external program [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from kde.20.cyscor@spamgourmet.com
https://bugs.kde.org/show_bug.cgi?id=220402

--- Comment #4 from Gilles Caulier <[hidden email]> ---
H Law,

Can you update your patch to work with current implementation from git/master
(next 4.11.0)

Thanks in advance

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 220402] Add a new BQM tool to call an external program [patch]

bugzilla_noreply
In reply to this post by Bugzilla from kde.20.cyscor@spamgourmet.com
https://bugs.kde.org/show_bug.cgi?id=220402

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/a5b8c149f7da56986f5db35
                   |                            |81a3252b184bd675c
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |5.0.0
         Resolution|---                         |FIXED

--- Comment #5 from Maik Qualmann <[hidden email]> ---
Git commit a5b8c149f7da56986f5db3581a3252b184bd675c by Maik Qualmann.
Committed on 07/12/2015 at 21:48.
Pushed by mqualmann into branch 'master'.

apply patch #86842 from Hubert Law to add user script tool for BQM
FIXED-IN: 5.0.0

M  +2    -1    NEWS
M  +1    -0    utilities/queuemanager/CMakeLists.txt
A  +258  -0    utilities/queuemanager/basetools/custom/userscript.cpp    
[License: GPL (v2+)]
A  +69   -0    utilities/queuemanager/basetools/custom/userscript.h    
[License: GPL (v2+)]
M  +12   -0    utilities/queuemanager/manager/batchtool.cpp
M  +6    -0    utilities/queuemanager/manager/batchtool.h
M  +4    -0    utilities/queuemanager/manager/batchtoolsmanager.cpp
M  +20   -3    utilities/queuemanager/manager/task.cpp
M  +3    -0    utilities/queuemanager/views/toolsview.cpp

http://commits.kde.org/digikam/a5b8c149f7da56986f5db3581a3252b184bd675c

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel