From 2f16516ad85057059165e3910d715ac66b922c6f Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 14 Feb 2017 23:48:04 +0800 Subject: [PATCH] Update deb build --- build.xml | 15 +++++------ .../{ => share/applications}/filebot.desktop | 0 .../kservices5/ServiceMenus/filebot.desktop | 26 +++++++++++++++++++ 3 files changed, 32 insertions(+), 9 deletions(-) rename installer/deb/{ => share/applications}/filebot.desktop (100%) create mode 100644 installer/deb/share/kservices5/ServiceMenus/filebot.desktop diff --git a/build.xml b/build.xml index 3ec1c57c..b7dab288 100644 --- a/build.xml +++ b/build.xml @@ -553,17 +553,14 @@ - - - - - - - - - + + + + + + diff --git a/installer/deb/filebot.desktop b/installer/deb/share/applications/filebot.desktop similarity index 100% rename from installer/deb/filebot.desktop rename to installer/deb/share/applications/filebot.desktop diff --git a/installer/deb/share/kservices5/ServiceMenus/filebot.desktop b/installer/deb/share/kservices5/ServiceMenus/filebot.desktop new file mode 100644 index 00000000..b2c1800a --- /dev/null +++ b/installer/deb/share/kservices5/ServiceMenus/filebot.desktop @@ -0,0 +1,26 @@ +[Desktop Entry] +Type=Service +Name=FileBot +Icon=filebot +ServiceTypes=KonqPopupMenu/Plugin +Actions=Rename;Subtitles;Checksum;Import; +MimeType=inode/directory;video/*;audio/*;text/*; +X-KDE-Priority=TopLevel +X-KDE-Submenu=FileBot + +[Desktop Action Rename] +Name=Rename +Exec=filebot --mode Rename %F + +[Desktop Action Subtitles] +Name=Subtitles +Exec=filebot --mode Subtitles %F + +[Desktop Action Checksum] +Name=Checksum +Exec=filebot --mode SFV %F + +[Desktop Action Import] +Name=Import to Media Library +Icon=utilities-terminal +Exec=konsole -e filebot -script fn:amc --output "$HOME/Media" --action duplicate -non-strict --log-file import.log --def excludeList=.excludes unsorted=y music=y artwork=y %F