Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Because I downloaded the file from the front page and that one has a corrupt jar file. Going to drop you a PM when I have a second as having some serious issues with another two movies and subtitles

The current build doesn't have the update. I've got a few more updates to make before I release a new build … possibly as soon as tomorrow.

Please explain what you mean by "The one i downloaded yesterday isn't going to give me a duff encode that is currently ongoing?"
 
problem with batch rip

Hi all, I've prblem with the batch rip workflow. i've lion with italian language, i try to run batch rip with a bluray but every time i try i get the error
com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication

i've try to install all the latest software but nothing happen. the dialog box for choosing movie or tvserial doesn't come out. if i used a dvd it seems to be ok. I've just try to rip a dvd and is process now.
let me know how can i check what is wrong.
regards
 
Hi all, I've prblem with the batch rip workflow. i've lion with italian language, i try to run batch rip with a bluray but every time i try i get the error
com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication

i've try to install all the latest software but nothing happen. the dialog box for choosing movie or tvserial doesn't come out. if i used a dvd it seems to be ok. I've just try to rip a dvd and is process now.
let me know how can i check what is wrong.
regards

Try uninstalling, then reinstalling the app. Make sure to install the services and set up the batch rip service as described in the tutorial or in Batch Rip Help.

Insert a BD and try running the Batch Rip Service.

If you still have problems, find the Batch Rip log located in ~/Library/Logs/BatchRipActions and post it here. I'll take a look and see if I can find a problem.
 
RipActionLog

Hi mac.jedi here the log from rip action (in attach) and the problem with workflow



06/12/11 06:34:41,531 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,531 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:34:41.530 WorkflowServiceRunner[78781:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,532 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,532 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:34:41.531 WorkflowServiceRunner[78781:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,532 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,532 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:34:41.531 WorkflowServiceRunner[78781:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,533 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,533 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:34:41.532 WorkflowServiceRunner[78781:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,489 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,489 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:35:20.488 WorkflowServiceRunner[78814:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,490 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,490 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:35:20.489 WorkflowServiceRunner[78814:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,490 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,490 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:35:20.489 WorkflowServiceRunner[78814:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,491 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,491 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:35:20.490 WorkflowServiceRunner[78814:1707] Could not connect the action buttonPressed: to target of class NSApplication
 

Attachments

  • batchRip.txt
    9.5 KB · Views: 206
Hi mac.jedi here the log from rip action (in attach) and the problem with workflow

I reviewed your log and it looks like the system isn't listing the "Optical Media Type" as "BD-ROM". It's returning a null value. Let's try to troubleshoot this via PM; rather than filling this thread with a lot of back and forth.

I'd like you to do the following and PM me your results:

  1. Insert the BD disc: TANGLED
  2. Launch Terminal and Paste the following:
    Code:
    diskutil info "/Volumes/TANGLED" | grep "Optical Media Type" | sed 's|.*: *||'
  3. Press Return
  4. Next, Type:
    Code:
    diskutil info "/Volumes/TANGLED"
  5. Press Return and PM me the output from Terminal.

Thanks!

mac.jedi
 
Here the Output
I can see that nothing there on Optical Media Type.

diskutil info "/Volumes/TANGLED" | grep "Optical Media Type" | sed 's|.*: *||'

no output

diskutil info "/Volumes/TANGLED"
Device Identifier: disk1
Device Node: /dev/disk1
Part of Whole: disk1
Device / Media Name: PLEXTOR BD-ROM PX-B120U Media

Volume Name: TANGLED
Escaped with Unicode: TANGLED

Mounted: Yes
Mount Point: /Volumes/TANGLED
Escaped with Unicode: /Volumes/TANGLED

File System Personality: UDF
Type (Bundle): udf
Name (User Visible): Universal Disk Format (UDF)

Content (IOContent): None
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported

Total Size: 43.0 GB (42976149504 Bytes) (exactly 83937792 512-Byte-Blocks)
Volume Free Space: 0 B (0 Bytes) (exactly 0 512-Byte-Blocks)
Device Block Size: 2048 Bytes

Read-Only Media: Yes
Read-Only Volume: Yes
Ejectable: Yes

Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No
 
Here the Output
I can see that nothing there on Optical Media:

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No

It looks like the os can't determine the disc type. Can you run the test again with another BD disc? Make sure you change the disc name after /Volumes to the name of your new disc. If the optical media type still comes back empty then there's an incompatibility between your drive and Mac OS X which is something I can't fix on my end. You should also try the test with a DVD. If it returns DVD-ROM, then at least you'll know the issue is isolated to BD's. You might wanna do some research to see if there's a driver or firmware update for your drive.

I hope this helps!

Mac.jedi
 
Here the Output
I can see that nothing there on Optical Media Type.

diskutil info "/Volumes/TANGLED" | grep "Optical Media Type" | sed 's|.*: *||'

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No

I forgot someone else had the same issue, but don't know if he was able to resolve it or not. I'll try to PM him to see if he found a resolution. His post is here if you wanna read it: https://forums.macrumors.com/posts/13511420/
 
First off, I wanted to say thanks for all the work you've put into this project mac.jedi. I've been using your scripts for a few months now with my DVDs with my internal drive and they've been great!


I forgot someone else had the same issue, but don't know if he was able to resolve it or not. I'll try to PM him to see if he found a resolution. His post is here if you wanna read it: https://forums.macrumors.com/posts/13511420/

Last week, I've just started Blu-Rays and I've got the same drive as that poster. It's a Liteon iHOS104. I originally had a very old firmware on the drive, so I flashed it to the latest and still have the issue of it not showing the drive or media types with diskutil.

Also, here's the enclosure I'm using.

What I'm doing right now is just ripping the discs manually with makemkv and then running the batch encode script which works just fine. I'm more than willing to test anything though if you want to look into this further.

Thanks
 
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.
First off, I wanted to say thanks for all the work you've put into this project mac.jedi. I've been using your scripts for a few months now with my DVDs with my internal drive and they've been great!

Last week, I've just started Blu-Rays and I've got the same drive as that poster. It's a Liteon iHOS104. I originally had a very old firmware on the drive, so I flashed it to the latest and still have the issue of it not showing the drive or media types with diskutil.

Also, here's the enclosure I'm using.

What I'm doing right now is just ripping the discs manually with makemkv and then running the batch encode script which works just fine. I'm more than willing to test anything though if you want to look into this further.

Thanks

Here the Output
I can see that nothing there on Optical Media Type.

Thanks xboxphanatic!

xboxphanatic & es.net75,

There might be a couple other ways I can determine if the disc is a BD-ROM or DVD-ROM. I could use some help testing as my BD drives are both internal and work fine.

I'd like you to try the following:
Please insert a BD-ROM, then run the two sets of code below and send me your results for both tests.

Test 1:
Code:
drutil status

Test 2:
Code:
system_profiler SPDiscBurningDataType

Thanks!

mac.jedi
 
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.
cover flow

Hello! first of all, thanks for this. It worked great for my library. One issue that I'm hoping you can shed some light on is that although I've added great high res cover art, when in cover flow view, it displays low res and looks terrible. This happens wither with using your tools or by adding manually. Any thoughts? Great work. Thanks.
 
Need Some BD-ROM Testers for Batch Rip

I could use some help testing an update to Batch Rip.

This update is specifically targeted to those who have had issues with Batch Rip not recognizing some external USB BD-ROM drives/enclosures.

If you've been unable to get your external BD drive working with Batch Rip and would like to help, PM me to receive a link to the current beta.

Thanks!

mac.jedi
 
Feedback on 1.0.9 for mac.jedi

Hey mac.jedi! 1.0.9 looks GREAT! I have some feedback tho:

Starting with the little things--
  • Get Source Info doesn't fall back to using HandbrakeCLI from /usr/local/bin like Batch Encode
  • Prefer that colons in Titles simply be replaced by a hyphen, rather than 'space hyphen', to differentiate from titles with real dashes in their titles (which are usually space-hyphen-space).
  • Like an option in the TV Tagging actions to rename the file with the Episode Name, rather than "with title and year". I use Title and Year for Movies, but for Shows I use 'Show - S0XE0Y - Episode Name.m4v'
  • Prefer the use of 'Shows' to 'TV' (as in Batch Rip TV vs Batch Rip Shows). I think "TV" is redundant, it is a device. It is rather like saying TV and Theaters. I know, I know, everyone says it, including Apple. Doesn't mean they are right.

In Batch Encode--
  • The subtitle strings passed to HandbrakeCLI are '--subtitle scan --subtitle-forced scan --native-language'...the "scan" after the "forced" is not needed, as the 'subtitle-forced' option does not accept a "scan" option.
  • Batch Encode has trouble when passed ISO files. The Batch Encode.workflow won't see them at all in the Batch Rip folders. Batch Encode (Finder).workflow will run them (because HandbrakeCLI will happily accept them), but there is a resultant error because of the processVariables function in batchEncode.sh for ISOs that have several titles:
    Code:
    >:~ scott$ /Users/scott/Library/Application\ Support/Batch\ Rip/batchEncodeTmp.sh ; exit;
    
        ERROR: HandBrakeCLI command tool is not setup to execute
        ERROR: attempting to use tool at /usr/local/bin/HandBrakeCLI
    
    
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    batchEncode.sh v1.0.9
    
      Start: Sun Dec 11 15:09:18 EST 2011
      Input directory 1: /Users/scott/Movies/Batch Rip Movies
      Input directory 2: /Users/scott/Movies/Batch Rip Shows
      Output directory: /Users/scott/Movies/Batch Encode
      Use optical Drive: No
      Encode HD Sources: No
      Keep MKV Temp Files: 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 (en)
      Use Disc's Default Audio Language: Yes
      Will Encode: Encode 1/High Profile
    
      WILL PROCESS THE FOLLOWING VIDEOS:
    /Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Encode.action/Contents/Resources/batchEncode.sh: line 548: [[: 720
    720
    720
    720
    720: syntax error in expression (error token is "720
    720
    720
    720")
    /Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Encode.action/Contents/Resources/batchEncode.sh: line 548: [[: 480
    480
    480
    480
    480: syntax error in expression (error token is "480
    480
    480
    480")
      X-Men- First Class (2011) : (Movie)
    
    /Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Encode.action/Contents/Resources/batchEncode.sh: line 548: [[: 720
    720
    720
    720
    720: syntax error in expression (error token is "720
    720
    720
    720")
    /Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Encode.action/Contents/Resources/batchEncode.sh: line 548: [[: 480
    480
    480
    480
    480: syntax error in expression (error token is "480
    480
    480
    480")
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    PROCESSING: X-Men- First Class (2011) 
    
    *Scanning File: 'X-Men- First Class (2011)'
      Will encode the following tracks: 1 
    
    
    HandBrake svn4375 (2011121101) - Darwin x86_64 - http://handbrake.fr
    
    *Creating X-Men- First Class (2011).m4v
      Video Track: 1, Duration: 02:11:36, Size: 720x480
      Audio Track: 1, English (AC3) (5.1 ch) (iso639-2: eng)
      Subtitle Tracks:
        + 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
        + 2, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
        + 3, English (iso639-2: eng) (Bitmap)(VOBSUB)
        + 4, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
        + 5, Francais (iso639-2: fra) (Bitmap)(VOBSUB)
        + 6, Closed Captions (iso639-2: eng) (Text)(CC)
    
    Using High Profile Preset: -e x264  -q 20.0 -a 1,1 -E ca_aac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 --detelecine --decomb --loose-anamorphic  -m --subtitle scan --subtitle-burn --subtitle-forced scan --native-language eng -x b-adapt=2:rc-lookahead=50
    
    Encoding: task 2 of 2, 8.49 % (23.57 fps, avg 23.71 fps, ETA 02h01m47s)
Otherwise I ripped an entire season of Weeds today and it was very quick and painless!

The only feature left that I'd like to have is better audio track handling. I have a TON of TV Show DVD sets (see, even I said it ;)), and I'd really like to be able to get commentary tracks into those episodes that have them in one pass. But HandbrakeCLI deals with nonexistent tracks specified in '-a' by "exiting" rather than "skipping", as you're probably aware, and it is currently kind of a fight on the Handbrake Forums as to what the correct way should be (it was changed from skip to exit at r1683 or thereabouts because of bad audio track dereferencing issues--instead of fixing the issue by rewriting the audio track handler, the problem was "solved" by simply bailing). However, on the forums there is an example workaround whereby the track is scanned first, matching audio tracks by language and creating an audio track index, then running the encode...something that could be done in the processingVariables stage.

----------

Here are the HandbrakeCLI forum threads on the multi-track audio issue:

https://forum.handbrake.fr/viewtopic.php?f=10&t=22746
https://trac.handbrake.fr/changeset/1681
https://forum.handbrake.fr/viewtopic.php?f=13&t=22024&p=101199

The last one details the shell script workaround by jamiemlaw.
 
Sorry if this is addressed, I tried searching the thread... Is there any way to trigger the encode by watching a folder instead of the iCal timer thing?
 
Sorry if this is addressed, I tried searching the thread... Is there any way to trigger the encode by watching a folder instead of the iCal timer thing?

I dont call the encode by ical, I use hazel to run the automator script when a file gets put in the folder I am watching. Works great.
 
Hi,

I just discovered this thread, very nice work. As I am a novice, could please tell me if you intend to add Elgato Turbo 264 HD support in the batch encode workflow to speed up my encodings ?
 
if you intend to add Elgato Turbo 264 HD support in the batch encode workflow?

LightSonic, of course I'm not speaking for mac.jedi, but his workflow currently uses the command-line encoding tools from the Handbrake project (HandbrakeCLI) which do NOT support the Elgato Turbo 264HD. And it is my understanding there is no effort underway there (Handbrake) to support it either. (As in, the dev community has pretty much said "no".)

If you do a bit of Googling, you're likely to find that the overall impression is that Handbrake is actually fairly competitive to the Elgato Turbo 264HD when balancing quality/filesize/time on newerish hardware.
 
Help - I just can't get this to work !

OK, I must be doing something wrong.

I have installed everything; all tools, etc are in the Applications folder but when I insert a DVD or BD nothing happens.

So I right-click on the DB disk showing on the Desktop and select Services, Batch RIP (Finder) and the message box appears about detecting a disc. I click continue and nothing happens.

I think I am missing something obvious here, but not sure what.

Any ideas?

Thanks

Phil
 
OK, don't think it is me now; seems it is my Blu-Ray drive (PX-B120U) and the known problem with it not being shown as an Optical Drive (see below)

I see there is a mention of a beta to fix this; any chance I could try it?

Thanks

Phil

Code:
(null):~ Phil$ diskutil info "/Volumes/INCEPTION"
   Device Identifier:        disk3
   Device Node:              /dev/disk3
   Part of Whole:            disk3
   Device / Media Name:      PLEXTOR BD-ROM PX-B120U Media

   Volume Name:              INCEPTION
   Escaped with Unicode:     INCEPTION

   Mounted:                  Yes
   Mount Point:              /Volumes/INCEPTION
   Escaped with Unicode:     /Volumes/INCEPTION

   File System Personality:  UDF
   Type (Bundle):            udf
   Name (User Visible):      Universal Disk Format (UDF)

   Content (IOContent):      None
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 USB
   SMART Status:             Not Supported

   Total Size:               45.7 GB (45747798016 Bytes) (exactly 89351168 512-Byte-Blocks)
   Volume Free Space:        0 B (0 Bytes) (exactly 0 512-Byte-Blocks)
   Device Block Size:        2048 Bytes

   Read-Only Media:          Yes
   Read-Only Volume:         Yes
   Ejectable:                Yes

   Whole:                    Yes
   Internal:                 No
   OS 9 Drivers:             No
   Low Level Format:         Not supported

   Optical Drive Type:       
   Optical Media Type:       
   Optical Media Erasable:   No
 
Batch Rip Chown Error

Good morning. The Batch Rip Dispatcher looks great, but I get a chown error message after install. The message is "chown: /Users/Cliff/Library/LaunchAgents/com.divx.agent.postinstall.plist: Operation not permitted". I searched and found one hit on it, but the post must have been deleted as it does not show when I read the page. Would you know how to get this working? Thank you in advance. I can't wait to use it.
 

Attachments

  • Screen Shot 2011-12-25 at 8.59.30 AM.png
    Screen Shot 2011-12-25 at 8.59.30 AM.png
    261.3 KB · Views: 133
... However, on the forums there is an example workaround whereby the track is scanned first, matching audio tracks by language and creating an audio track index, then running the encode...something that could be done in the processingVariables stage.

Creating an audio track index would be a very great feature that could help us choosing what audio tracks to keep automatically (for example : English and French).

Regards
 
How do I change the Batch Rip Movies/TV Shows/Encode folder locations after I've installed the app? I just bought a new external hard drive and want to move those folders to the new drive.
 
Good morning. The Batch Rip Dispatcher looks great, but I get a chown error message after install. The message is "chown: /Users/Cliff/Library/LaunchAgents/com.divx.agent.postinstall.plist: Operation not permitted". I searched and found one hit on it, but the post must have been deleted as it does not show when I read the page. Would you know how to get this working? Thank you in advance. I can't wait to use it.

Did you try using your disk utility and verify your disk permissions?
Do you have administrator access?

----------

How do I change the Batch Rip Movies/TV Shows/Encode folder locations after I've installed the app? I just bought a new external hard drive and want to move those folders to the new drive.

I, too, dont store stuff in the locations provided in the program. I am okay with that. I use Hazel (extensively) to move stuff from the pre-determined folders to my external drive, in whatever folder I want. I strongly suggest you take a look at that program. Very worthwhile (obsession).
 
Anyone?

Anyone know the answer to this?

Thanks

OK, don't think it is me now; seems it is my Blu-Ray drive (PX-B120U) and the known problem with it not being shown as an Optical Drive (see below)

I see there is a mention of a beta to fix this; any chance I could try it?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.