OSX Filebot scripting no longer works
Posted: 21 Dec 2014, 00:12
Hi, I have downloaded filebot 4.5.3 of the Apple APP Store (yes i paid for it) and it did over write my older free version 3.8.
The reason I downloaded the latest version was that the rename script i ran stopped working and I noticed that the 3.8 gui version stopped working too (like many times before - it was always resolved by downloading the upgraded version).
However the APP store version does not have the program "filebot" in the "Contents\MacOS" anymore. There is a "FileBotAppLauncher" instead so it appears that i lost the option to run filebot scrips.
How do I get this to work again!!
Thanks for any help on this.
------------ Here my script (it worked well for over a year now)
set ProgramPath to "/Applications/FileBot.app/Contents/MacOS/filebot"
set FilePath to "/Users/name/Desktop/Temp Work/Ready to Upload/"
set FileTestPath to "Macintosh HD:Users:name:Desktop:Temp Work:Ready to Upload:" as alias
set FormatFile to "{n}.{s00e00} - {t}"
tell application "Finder"
set TVShowFileNames to name of every file in FileTestPath
end tell
repeat with TVShow in TVShowFileNames
try
set RenameFile to FilePath & TVShow
--display dialog RenameFile
do shell script (quoted form of ProgramPath) & " -rename " & (quoted form of RenameFile) & " --db TheTVDB --conflict skip -non-strict --format " & (quoted form of FormatFile)
on error
--do nothing
end try
end repeat
The reason I downloaded the latest version was that the rename script i ran stopped working and I noticed that the 3.8 gui version stopped working too (like many times before - it was always resolved by downloading the upgraded version).
However the APP store version does not have the program "filebot" in the "Contents\MacOS" anymore. There is a "FileBotAppLauncher" instead so it appears that i lost the option to run filebot scrips.
How do I get this to work again!!
Thanks for any help on this.
------------ Here my script (it worked well for over a year now)
set ProgramPath to "/Applications/FileBot.app/Contents/MacOS/filebot"
set FilePath to "/Users/name/Desktop/Temp Work/Ready to Upload/"
set FileTestPath to "Macintosh HD:Users:name:Desktop:Temp Work:Ready to Upload:" as alias
set FormatFile to "{n}.{s00e00} - {t}"
tell application "Finder"
set TVShowFileNames to name of every file in FileTestPath
end tell
repeat with TVShow in TVShowFileNames
try
set RenameFile to FilePath & TVShow
--display dialog RenameFile
do shell script (quoted form of ProgramPath) & " -rename " & (quoted form of RenameFile) & " --db TheTVDB --conflict skip -non-strict --format " & (quoted form of FormatFile)
on error
--do nothing
end try
end repeat