Ticket #3664: mythrename.pl.diff
File mythrename.pl.diff, 776 bytes (added by , 14 years ago) |
---|
-
mythrename.pl
241 241 # File doesn't exist locally 242 242 next unless (-e $show->{'local_path'}); 243 243 # Load info about the file so we can determine the file type 244 $show->load_file_info(); 244 eval { $show->load_file_info() }; 245 if ($@) { 246 warn "Unable to get file info for '".$show->{'basename'}."'\n".$@."\n"; 247 next; 248 } 245 249 # Format the name 246 250 my $name = $show->format_name($format,$separator,$replacement,$dest,$underscores); 247 251 # Get a shell-safe version of the filename (yes, I know it's not needed in this case, but I'm anal about such things)