Skip to content

Commit 159b724

Browse files
committed
Sync built-in workflows to filebot-plugins repository
1 parent 89a8457 commit 159b724

File tree

9 files changed

+658
-7928
lines changed

9 files changed

+658
-7928
lines changed

automator/Library/Services/Import Media Files with FileBot.workflow/Contents/document.wflow

+121-3,960
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSServices</key>
6+
<array>
7+
<dict>
8+
<key>NSBackgroundColorName</key>
9+
<string>background</string>
10+
<key>NSIconName</key>
11+
<string>workflowCustomImage</string>
12+
<key>NSMenuItem</key>
13+
<dict>
14+
<key>default</key>
15+
<string>Rename with FileBot</string>
16+
</dict>
17+
<key>NSMessage</key>
18+
<string>runWorkflowAsService</string>
19+
<key>NSSendFileTypes</key>
20+
<array>
21+
<string>public.item</string>
22+
</array>
23+
</dict>
24+
</array>
25+
</dict>
26+
</plist>

automator/Library/Services/Rename with FileBot.workflow/Contents/document.wflow

+384
Large diffs are not rendered by default.

automator/Library/Services/Send to FileBot.workflow/Contents/Info.plist

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
<dict>
88
<key>NSBackgroundColorName</key>
99
<string>background</string>
10-
<key>NSBackgroundSystemColorName</key>
11-
<string>blackColor</string>
1210
<key>NSIconName</key>
1311
<string>workflowCustomImage</string>
1412
<key>NSMenuItem</key>

automator/Library/Services/Send to FileBot.workflow/Contents/document.wflow

+106-3,961
Large diffs are not rendered by default.

automator/Library/Workflows/Applications/Folder Actions/Import Media Files with FileBot.workflow/Contents/document.wflow

+21-5
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,21 @@
5959
<key>ActionParameters</key>
6060
<dict>
6161
<key>COMMAND_STRING</key>
62-
<string>/usr/local/bin/filebot -script fn:amc --output "$HOME/Media" --action duplicate --conflict index -non-strict --log-file "$HOME/Media/.amc.log" --def excludeList=".amc.excludes" unsorted=y music=y artwork=y "$@" -exec open -R {f} +</string>
62+
<string># Configuration
63+
CONFIG_OUTPUT="$HOME/Media"
64+
65+
# Log Files
66+
CONFIG_LOG="$CONFIG_OUTPUT/.log/amc.log"
67+
CONFIG_EXCLUDES="$CONFIG_OUTPUT/.log/amc.excludes"
68+
69+
# Execute FileBot
70+
/usr/local/bin/filebot -script fn:amc "$@" --output "$CONFIG_OUTPUT" --action duplicate --conflict index -non-strict --log-file "$CONFIG_LOG" --def excludeList="$CONFIG_EXCLUDES" unsorted=y music=y artwork=y -exec open -R {f} +
71+
72+
# Display log file on error
73+
if [ $? -ne 0 ]; then
74+
open "$CONFIG_LOG"
75+
fi
76+
</string>
6377
<key>CheckedForUserDefaultShell</key>
6478
<true/>
6579
<key>inputMethod</key>
@@ -84,7 +98,7 @@
8498
<key>Class Name</key>
8599
<string>RunShellScriptAction</string>
86100
<key>InputUUID</key>
87-
<string>501F9637-7146-41E8-958D-E1FAB3C6DABC</string>
101+
<string>4B174346-E79E-4CE7-935F-CA9CDE31C14A</string>
88102
<key>Keywords</key>
89103
<array>
90104
<string>Shell</string>
@@ -94,9 +108,9 @@
94108
<string>Unix</string>
95109
</array>
96110
<key>OutputUUID</key>
97-
<string>BE76312F-1956-431C-B21E-D5528ED97529</string>
111+
<string>8614ED71-4AE2-4100-AF52-8823F524F717</string>
98112
<key>UUID</key>
99-
<string>D7458846-B8ED-44A1-9E97-91736B192F85</string>
113+
<string>DDB67D63-695A-43E5-BA5F-A7ADE38A8E46</string>
100114
<key>UnlocalizedApplications</key>
101115
<array>
102116
<string>Automator</string>
@@ -169,10 +183,12 @@
169183
<string>4</string>
170184
</dict>
171185
</dict>
186+
<key>conversionLabel</key>
187+
<integer>0</integer>
172188
<key>isViewVisible</key>
173189
<true/>
174190
<key>location</key>
175-
<string>696.000000:252.000000</string>
191+
<string>769.000000:709.000000</string>
176192
<key>nibPath</key>
177193
<string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string>
178194
</dict>

0 commit comments

Comments
 (0)