Hi Mac.Jedi, I found this page a couple months ago, dug in then stalled worried that it was another "stale" project. Tonight I dug in again, and happened so see that there were 50+ more pages of comments, including many by you, and as current as today! So I'm really psyched you're still nursing this awesome project, and thanks!
Unfortunately I have an issue already. I just installed your most recent version, following the current instructions, on a mac mini running 10.8.5. I inserted a Thor BD and the rip worked well. I right clicked on the rip folder and chose the Encode service. It failed in several ways then deleted my Movies folder!! Gone, not even in the trash!! At the risk of making an insanely long post, I'll include the shell session here:
Last login: Mon Dec 2 00:16:21 on ttys000
Todds-MacMini:~ todd$ /Users/todd/Library/Application\ Support/Batch\ Rip/batchEncodeTmp.sh ; exit;
Processing Args passed from Batch Encode (Service).workflow
--verboseLog 1 --movieSearchDir /Users/todd/Movies/Batch:Rip:Movies --tvSearchDir /Users/todd/Movies/Batch:Rip:TV --outputDir /Users/todd/Movies/Batch:Encode --handBrakeCliPath /Applications/HandBrakeCLI --makemkvPath /Applications/MakeMKV.app --minTrackTimeTV 20 --maxTrackTimeTV 120 --minTrackTimeMovie 80 --maxTrackTimeMovie 180 --nativeLanguage eng --alternateLanguage none --useDefaultAudioTrack Default@Audio --addAdditionalAudioTracks None --useBurnedSubtitleTrack Auto@Detect --usePassthruSubtitleTracks None --mixdownAltTracks 1 --encode_1 1 --encode_2 0 --encode_3 0 --encode_4 0 --ignoreOptical 1 --growlMe 0 --videoKindOverride Movie --addiTunesTags 1 --retireExistingFile 0 --libraryFolder no:selection --retiredFolder no:selection --customArgs1 no@selection --customArgs2 no@selection --customArgs3 no@selection --customArgs4 no@selection --preset1 AppleTV@3 --preset2 Universal --preset3 AppleTV@2 --preset4 Universal /Users/todd/Movies/Batch:Rip:Movies
WARNING: HandBrakeCLI is currently listed as QUARANTINED because it's an application downloaded from the Internet. Will attempt to authorize, but Action may fail if the OS prevents the app from launching.
WARNING: mp4tags is currently listed as QUARANTINED because it's an application downloaded from the Internet. Will attempt to authorize, but Action may fail if the OS prevents the app from launching.
WARNING: AtomicParsley is currently listed as QUARANTINED because it's an application downloaded from the Internet. Will attempt to authorize, but Action may fail if the OS prevents the app from launching.
WARNING: SublerCLI is currently listed as QUARANTINED because it's an application downloaded from the Internet. Will attempt to authorize, but Action may fail if the OS prevents the app from launching.
WARNING: jq is currently listed as QUARANTINED because it's an application downloaded from the Internet. Will attempt to authorize, but Action may fail if the OS prevents the app from launching.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
batchEncode.sh v1.1.1 (280)
Start: Mon Dec 2 01:12:53 PST 2013
Input directory 1: /Users/todd/Movies/Batch Rip Movies
Input directory 2: /Users/todd/Movies/Batch Rip TV
Output directory: /Users/todd/Movies/Batch Encode
Use optical Drive: No
Use MakeMKV: No
Auto-add movie tags: Yes
Retire Existing File: No
Growl me when complete: No
Encode TV Shows between: 20-120 mins
Encode Movies between: 80-180 mins
Native Language: eng
Alternate Language: none
Use Disc's Default Audio Language: Yes
Add Additional Audio Tracks: No
Mixdown Additional Audio Tracks to 2CH: Yes
Burn-in Subtitle Track: Yes (Auto Detect)
Pass-thru Subtitle Tracks: No
Will Encode: Encode 1/AppleTV 3
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
VERBOSE MODE
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
WILL PROCESS THE FOLLOWING VIDEOS:
sed: 1: "s|\/Batch Rip Movies
.B ...": unterminated substitute pattern
sed: 1: "s|\/Batch Rip Movies
.B ...": unterminated substitute pattern
Batch Rip Movies
.Batch
Rip
Movies : (Movie)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sed: 1: "s|\/Batch Rip Movies
.B ...": unterminated substitute pattern
sed: 1: "s|\/Batch Rip Movies
.B ...": unterminated substitute pattern
PROCESSING: Batch Rip Movies
.Batch
Rip
Movies
*Scanning File: 'Batch Rip Movies
.Batch
Rip
Movies'
ERROR: No tracks found or failed to scan source.
Check source files and application settings in Automator.
* ERROR: Batch Rip Movies
.Batch
Rip
Movies FAILED during processing!
PROCESSING COMPLETE: Batch Rip Movies
.Batch
Rip
Movies
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
24:36: syntax error: Expected end of line but found identifier. (-2741)
End: Mon Dec 2 01:13:00 PST 2013
logout
[Process completed]
-------------
The folder was empty except for the Thor rip, so no big loss this time around, but I am concerned about going forward...
Thanks in advance!
t
Hi paradise2012,
Sorry to hear you had trouble. The Batch Encode (Finder) service is designed to be executed on directly on selected SOURCE items. These can be video files, or folders & discs containing either a VIDEO_TS or BDMV folder. It was not designed to be executed on the parent folder containing those items. Whatever is selected in the finder is passed as input into the action. If your source folder is in your Batch Rip Movies folder, you can just run the regular Batch Encode service from the Applications > Services menu. This will processes all sources found in the Batch Rip Movies & TV folders set in the workflow.
Alternatively, you can select the source folder (thor folder) in the finder, Right-Click and run the Batch Encode (Finder) service. Batch Encode will process just that item.
Thanks for letting me know about this. I've never tried to run it on the parent folder before, but I'll see what happens and see if I can make it fail more gracefully.
Here's some info from the help section on how to use the Batch Encode Services that might be useful:
About Batch Encode Services
There are two Automator Services provided to use with Batch Encode.
Batch Rip • Batch Encode.workflow
This service receives no input and will act on all files or folders located in your "Batch Rip TV" and "Batch Rip Movies" folders, or optical discs mounted on your system (if Ignore Optical is not selected).
To use it:
- Open the application menu (to the right of the Apple menu), choose Services > "Batch Rip • Batch Encode".
Batch Rip • Batch Encode (Finder).workflow
This Service will act only on items passed as input via the Finder, another Action, or a script.
To use it via the Finder:
- Select the files, folders or discs you'd like to encode and run the service. Only the selected items will be processed.
Also, let me know if those quarantine messages go away when you run it again. The quarantine test was useful before gatekeeper, but might be redundant now.
Thanks!
mac.jedi
Last edited: