detecting if a movie has an associated SRT file

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

hi folks

I've tried to figure it out how to detect if inside a given folder full of movies, every movie has its SRT file and if not, then run an apple script to search for it.

The online srt search script part works flawlessly, but i'm stuck on detecting if a movie lacks of srt file.

Preconditions:
- just one folder full of movies
- some movies got srt file, some not
- if present, the srt file has the same name than the movie (Golden_Eye_.mkv, Golden_Eye.srt)

please, any hint would be much appreciated
jomaweb
 
Posts: 4
Joined: Sat Nov 17, 2012 1:30 pm

You'll have to write a script (either shellscript or AppleScript) and use it in a condition (either Passes Shellscript or Passes AppleScript).
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

And that script would be?.....
jomaweb
 
Posts: 4
Joined: Sat Nov 17, 2012 1:30 pm

Well, that is beyond the support I can give. If you aren't up on scripting then maybe someone else can pipe in here with a script you can use.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support