Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Also, I have found that the Add Movie Tags (Search) workflow doesn't seem to work in Lion, but the Add Movie Tags (File Name) will work (?).

Is there some setting/trick to getting the workflow running indicator (e.g., the little cog that spins in the menu bar) back in Lion? I really liked that because it gave me a visual cue that the workflow hadn't completed.

I can see that too. I am trying to dig into what I can, but I 100% agree with your findings thus far.
 
yea there is some funkiness going about with the scripts in Lion.

Mien does still rip and encode in Lion, but I notice that it's not doign some thing right anymore.

One thing I noticed is that before it would change the musical genre field (which allowed Hazel to do it's magic) It's not longer doing that as well.

Also not a signle one that i have ripped since going Lion has been able to find the Movie name when doing the search to name the file.
 
It looks like the finder actions are broken in Lion.

I've re-installed after updating to 10.7 and while some of the dialog boxes show up, they don't do anything.

:confused:
 
Sorry it's been a while; I haven't had much time to work on this. I upgraded a test machine, but haven't had a chance to test everything yet.

If you've already upgraded to Lion, you can make the following changes to get the rename/tag Services working again.

You'll need to change the lines that read

Code:
copy the result as list to {button_pressed, text_returned}
to
Code:
copy the result as list to {text_returned, button_pressed}

This line appears in the following files:

Rename Movie Items.action
main.command
Line-32

Rename TV Source Folders.action
main.command
Line-31 & Line-47

Batch Rip.action
main.command
Line-62 & Line-144

Add Movie Tags.action
main.command
Line-139

Add Movie Poster.action
main.command
Line-35

Batch Rip • Rename & Add Custom Title Tag.workflow
(This file is located in ~/Services, open with Automator)
Line-10


To edit these files, you'll need to navigate to your ~/Library folder which has been hidden in Lion.

In Finder, Choose Go > Go to Folder (Cmd+Shift+G)
When prompted, Type: ~/Library/Automator
Press Return
Select and Right-Click on the Action you wish to edit and Choose "Show Package Contents"
Navigate to Contents > Resources
Right-Click on the main.command file and Choose "Open With"; Choose TextEdit.
Make your changes and Save the Document.

NOTE: In TextEdit, you can use Find & Replace (Option+Command+f)
Find: {button_pressed, text_returned}
Replace: {text_returned, button_pressed}


I hope this helps!

Thanks,

mac.jedi
 
Last edited:
Sorry it's been a while; I haven't had much time to work on this. I upgraded a test machine, but haven't had a chance to test everything yet.

If you've already upgraded to Lion, you can make the following changes to get the rename/tag Services working again.

You'll need to change the lines that read

Code:
copy the result as list to {button_pressed, text_returned}
to
Code:
copy the result as list to {text_returned, button_pressed}

This line appears in the following files:

Rename Movie Items.action
main.command
Line-32

Rename TV Source Folders.action
main.command
Line-31 & Line-47

Batch Rip.action
main.command
Line-62 & Line-144

Add Movie Tags.action
main.command
Line-139

Add Movie Poster.action
main.command
Line-35

Batch Rip • Rename & Add Custom Title Tag.workflow
(This file is located in ~/Services, open with Automator)
Line-10


To edit these files, you'll need to navigate to your ~/Library folder which has been hidden in Lion.

In Finder, Choose Go > Go to Folder (Cmd+Shift+G)
When prompted, Type: ~/Library/Automator
Press Return
Select and Right-Click on the Action you wish to edit and Choose "Show Package Contents"
Navigate to Contents > Resources
Right-Click on the main.command file and Choose "Open With"; Choose TextEdit.
Make your changes and Save the Document.

NOTE: In TextEdit, you can use Find & Replace (Option+Command+f)
Find: {button_pressed, text_returned}
Replace: {text_returned, button_pressed}


I hope this helps!

Thanks,

mac.jedi

Worked for me, thanks!
 
As a side note, maybe we should try and put these script's on something like GitHub (with mac.jedi's permission of course). It might make it a little easier for people to create modifications & keep the scripts updated and make a little open source project out of it.
 
So I downloaded the old version of MakeMKV 1.6.8 but when I open it is say that this version is too old and I need to download an updated version. Will the scripts still work if it is displaying this message? If not, how do I get that message to disappear?
Thanks
 
As a side note, maybe we should try and put these script's on something like GitHub (with mac.jedi's permission of course). It might make it a little easier for people to create modifications & keep the scripts updated and make a little open source project out of it.

I think this would be a great idea! I second the motion…mac.jedi what do ya think?
 
I think this would be a great idea! I second the motion…mac.jedi what do ya think?

It's a great idea, but it would be really challenging to setup and manage. Believe me, I've thought about it, but there's a lot involved in doing something like that.

On a happy note though, I think I've got em' all working under Lion with the latest version of MakeMKV :)
 
Sorry it's been a while; I haven't had much time to work on this. I upgraded a test machine, but haven't had a chance to test everything yet.

If you've already upgraded to Lion, you can make the following changes to get the rename/tag Services working again.

You'll need to change the lines that read

Code:
copy the result as list to {button_pressed, text_returned}
to
Code:
copy the result as list to {text_returned, button_pressed}

This line appears in the following files:

Rename Movie Items.action
main.command
Line-32

Rename TV Source Folders.action
main.command
Line-31 & Line-47

Batch Rip.action
main.command
Line-62 & Line-144

Add Movie Tags.action
main.command
Line-139

Add Movie Poster.action
main.command
Line-35

Batch Rip • Rename & Add Custom Title Tag.workflow
(This file is located in ~/Services, open with Automator)
Line-10


To edit these files, you'll need to navigate to your ~/Library folder which has been hidden in Lion.

In Finder, Choose Go > Go to Folder (Cmd+Shift+G)
When prompted, Type: ~/Library/Automator
Press Return
Select and Right-Click on the Action you wish to edit and Choose "Show Package Contents"
Navigate to Contents > Resources
Right-Click on the main.command file and Choose "Open With"; Choose TextEdit.
Make your changes and Save the Document.

NOTE: In TextEdit, you can use Find & Replace (Option+Command+f)
Find: {button_pressed, text_returned}
Replace: {text_returned, button_pressed}


I hope this helps!

Thanks,

mac.jedi

I did all of the above and when I try to use either Batch Rip Add Movie Tags (Search) or Batch Rip Add Movie Tags (FileName), I get this error:

"This action "Add Movie Tags" encountered an error."

I did not cut and paste text-I typed it verbatim.

I went back into TimeMachine and restored the original files, and the workflows do not produce the error message, but as noted in my earlier post, Batch Rip Add Movie Tags (FileName) works and Batch Rip Add Movie Tags (Search) pulls up the search dialog box but never returns the Movie Name and year and runs.

I re-did the changes described above and same error message. Not sure what to fix or do differently, but does not work for me.
 
I did all of the above and when I try to use either Batch Rip Add Movie Tags (Search) or Batch Rip Add Movie Tags (FileName), I get this error:

"This action "Add Movie Tags" encountered an error."

I did not cut and paste text-I typed it verbatim.

I went back into TimeMachine and restored the original files, and the workflows do not produce the error message, but as noted in my earlier post, Batch Rip Add Movie Tags (FileName) works and Batch Rip Add Movie Tags (Search) pulls up the search dialog box but never returns the Movie Name and year and runs.

I re-did the changes described above and same error message. Not sure what to fix or do differently, but does not work for me.

I had a similar problem on my 1st attempt to fix the scripts.

I would re-install them from the 1.0.6 original, then edit those.

Be sure you unlock the file before attempting to edit (it will say 'locked' in the TextEdit title bar, click the word 'locked' and you will get an option to unlock it.

Also, try manually editing the file the 1st time. No copy/replace. I think I had an extra space in my edit/replace that was causing the scripts to fail.

After the edit, do not 'save a version', just close the edit window.

Good luck!
 
Hey everyone,

thank you so much for this tutorial! I've been using this method for months and am very pleased with it. However, ripping DVDs has just stopped working for me for some strange reason. I get the following message in terminal before it logs out:

/Users/gabrielaschneider-krebs/Library/Automator/Batch Rip.action/Contents/Resources/batchRip.sh: line 338: /Applications/MakeMKV.app/Contents/MacOS/makemkvcon: No such file or directory

Any ideas on what might be have gone wrong? It worked just fine a couple of days ago.
 
I had a similar problem on my 1st attempt to fix the scripts.

I would re-install them from the 1.0.6 original, then edit those.

Be sure you unlock the file before attempting to edit (it will say 'locked' in the TextEdit title bar, click the word 'locked' and you will get an option to unlock it.

Also, try manually editing the file the 1st time. No copy/replace. I think I had an extra space in my edit/replace that was causing the scripts to fail.

After the edit, do not 'save a version', just close the edit window.

Good luck!

I think re-installing from 1.0.6 did the trick, this time. I had tried all of the above, including the reinstall and it didn't take before. But tried it again just now and the Add Movie Tags (Search) now works. So I'm a happy camper :)
 
ANNOUNCEMENT: BATCH RIP ACTIONS UPDATED to 1.0.7

ANNOUNCEMENT: BATCH RIP ACTIONS UPDATED

Update 2011-07-31

Release Notes
Batch Rip Actions for Automator 1.0.7

Everything
  • Compatible with Mac OS X Lion 10.7
  • Provides general fixes that enhance the stability, compatibility and functionality of Batch Rip Actions for Automator

Batch Rip.action - UPDATED
  • Improved compatibility with MakeMKV v1.6.12 and Mkvtoolnix v4.9.1.

Batch Encode.action - UPDATED
  • Improved compatibility with MakeMKV v1.6.12 and Mkvtoolnix v4.9.1.

Thanks!

mac.jedi
 
Is there some setting/trick to getting the workflow running indicator (e.g., the little cog that spins in the menu bar) back in Lion? I really liked that because it gave me a visual cue that the workflow hadn't completed.

I haven't found a fix for this, I suspect it's a bug in Lion and will hopefully come back in an update. As a temporary workaround, you can add a Growl Notification Action (if you have Growl installed) or an Ask for Confirmation Action to the end of the Service workflow. I should also note that this would only work for the rename and/or tagging workflows.

Thanks,

mac.jedi
 
Spoke to soon, it worked for one single DVD and now it's done working again. I really can't see what I am doing wrong. I install the new workflows and somehow they end up in trash, with my Mac not being able to located them :confused: I can't get dispatcher to work and batch rip stops at 10 MB for no apparent reason. I feel like a right n00b but I never really use automator workflows and I am completely lost. Any suggestions on what I could try? I have another 100 DVDs to rip :(
 
mac.jedi - thanks for these awesome scripts. Unfortunately, they (1.0.7) don't seem to work under Lion for me, especially the rename/add tags ones.

Any others having the same issues?
 
There is an issue with the current scripts which I've conveyed to mac.jedi via PM. In theory they won't work well for anybody at the moment but he's working on it.
 
There is an issue with the current scripts which I've conveyed to mac.jedi via PM. In theory they won't work well for anybody at the moment but he's working on it.

Can you tell us the symptoms?

The reason I ask is I just came here to see why I cant run the new ones. When I load up the workflow in automator, it says the action "add movies tags' could not be loaded because it could not be located. Even though they are in the ~/Library/Automator folder. I opened them in textedit and confirmed they are the changed ones for lion.

When I run the service on a file...nothing happens. at all.

That problem?
 
Last edited:
Can you tell us the symptoms?

The reason I ask is I just came here to see why I cant run the new ones. When I load up the workflow in automator, it says the action "add movies tags' could not be loaded because it could not be located. Even though they are in the ~/Library/Automator folder. I opened them in textedit and confirmed they are the changed ones for lion.

When I run the service on a file...nothing happens. at all.

That problem?

Yeah. It is looking for them in a different place (not a fault of mac.jedi's) due to a change in Automater with Lion. He's working on it though to see what the remedy is.
 
Yeah. It is looking for them in a different place (not a fault of mac.jedi's) due to a change in Automater with Lion. He's working on it though to see what the remedy is.

Not trying to be a jerk. Where is lion looking for those actions (so I can run them in the meantime)?
 
This is how I fixed it (at your own risk, not liable for melted computers, etc)

I took all the actions out of the folder ~/Library/Automator and put them in a temp folder (on my desktop). Highlighted them all, opened them in Automator. They then asked to be installed, click through them all, done with them

Then, I edited the workflow file that I use (Tag and Rename Movie Items) in automator, it errors out that it cant find the 'find movie tags action', please reinstall, blah blah. I removed the missing action, and then on the left side under recently added, just added the Add Movie Tags in, changed what options (chapters, etc). And it worked for me.

I realize its not permanent, nor pretty, just thought I would post my 10 minutes of playing in case anyone else relies on this as much as I do. I didnt want to sit back and just assume mac.jedi would fix it. If I knew more about what actions were/how to make them, Id love to help em out.

Other actions I assume could be fixed the same way I did for this one example, but I, personally, didnt try
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.