What I want is simple, it would create a folder with the movie name and move the media to that new folder. It would also create an info file with some information like the synopsis. That's because I keep downloading movies and sometimes I'm looking for something to watch and I can't remember what some movies are about, so having everything there would be nice.
I tried this format:
Code: Select all
/Users/<user>/Movies/{n} ({y})/{n}{if (ext != 'srt') {def a = new File('Info.txt'); for (item in {imdb}){a.write(item.toString())}}}
"BindingException: "ext": Path to media file has not been set
If I remove the "ext" part, I get:
"access denied (java.io.FilePermission Info.txt write)"
I'm trying to run this from the format box, not as a separate script. Can I do this or do I need to run it as a script?
I'm on a Mac with OS X 10.9.2.
Thanks in advance.