Refactor deb desktop integration
This commit is contained in:
parent
db35ae54f9
commit
193eb2da3e
|
@ -30,9 +30,12 @@ deb.application.mimetype: inode/directory;video/*;audio/*;text/*;application/*;
|
||||||
deb.application.class: net-filebot-Main
|
deb.application.class: net-filebot-Main
|
||||||
deb.control.depends: openjdk-8-jre, openjfx, mediainfo, libchromaprint-tools, nautilus-actions
|
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
|
# Links
|
||||||
link.help.manpage: http://www.filebot.net/cli.html
|
link.help.manpage: http://www.filebot.net/cli.html
|
||||||
link.help.synology: http://www.filebot.net/syno/support.html
|
link.help.synology: http://www.filebot.net/syno/support.html
|
||||||
|
|
||||||
# Icons
|
# Images
|
||||||
link.image.logo: http://app.filebot.net/icon.png
|
link.image.logo: http://app.filebot.net/icon.png
|
||||||
|
|
|
@ -7,4 +7,4 @@ Profiles=Media;
|
||||||
Name=Import to Media Library
|
Name=Import to Media Library
|
||||||
MimeTypes=@{deb.application.mimetype}
|
MimeTypes=@{deb.application.mimetype}
|
||||||
ExecutionMode=DisplayOutput
|
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
|
||||||
|
|
|
@ -26,4 +26,4 @@ Exec=filebot --mode SFV %F
|
||||||
[Desktop Action Import]
|
[Desktop Action Import]
|
||||||
Name=Import to Media Library
|
Name=Import to Media Library
|
||||||
Icon=utilities-terminal
|
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
|
||||||
|
|
Loading…
Reference in New Issue