diff --git a/installer/ant/ant.properties b/installer/ant/ant.properties index 70b43c38..87747081 100644 --- a/installer/ant/ant.properties +++ b/installer/ant/ant.properties @@ -30,9 +30,12 @@ deb.application.mimetype: inode/directory;video/*;audio/*;text/*;application/*; deb.application.class: net-filebot-Main deb.control.depends: openjdk-8-jre, openjfx, mediainfo, libchromaprint-tools, nautilus-actions +# Commands +deb.application.action.import: filebot -script fn:amc --output "$HOME/Media" --action duplicate -non-strict --log-file "$HOME/Media/amc.log" --def excludeList="$HOME/Media/amc.excludes" unsorted=y music=y artwork=y + # Links link.help.manpage: http://www.filebot.net/cli.html link.help.synology: http://www.filebot.net/syno/support.html -# Icons +# Images link.image.logo: http://app.filebot.net/icon.png diff --git a/installer/deb/share/file-manager/actions/filebot-import.desktop b/installer/deb/share/file-manager/actions/filebot-import.desktop index e6bd7ff7..bb2b0520 100644 --- a/installer/deb/share/file-manager/actions/filebot-import.desktop +++ b/installer/deb/share/file-manager/actions/filebot-import.desktop @@ -7,4 +7,4 @@ Profiles=Media; Name=Import to Media Library MimeTypes=@{deb.application.mimetype} ExecutionMode=DisplayOutput -Exec=filebot -script fn:amc --output "$HOME/Media" --action duplicate -non-strict --log-file "$HOME/Media/amc.log" --def excludeList="$HOME/Media/amc.excludes" unsorted=y music=y artwork=y %F +Exec=@{deb.application.action.import} %F diff --git a/installer/deb/share/kservices5/ServiceMenus/filebot.desktop b/installer/deb/share/kservices5/ServiceMenus/filebot.desktop index 4dbee909..1cd91bcd 100644 --- a/installer/deb/share/kservices5/ServiceMenus/filebot.desktop +++ b/installer/deb/share/kservices5/ServiceMenus/filebot.desktop @@ -26,4 +26,4 @@ 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 "$HOME/Media/amc.log" --def excludeList="$HOME/Media/amc.excludes" unsorted=y music=y artwork=y %F +Exec=konsole -e @{deb.application.action.import} %F