Explorar o código

Treat webm like mp4

Zachary Kotlarek %!s(int64=9) %!d(string=hai) anos
pai
achega
aa03381377
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      yt/subscribe.pl

+ 2 - 0
yt/subscribe.pl

@@ -652,6 +652,8 @@ sub findFiles($) {
 							$del = $files{$id}->{'path'};
 						} elsif ($suffix ne 'mp4' && $files{$id}->{'suffix'} eq 'mp4') {
 							$del = $files{$id}->{'path'};
+						} elsif ($suffix ne 'webm' && $files{$id}->{'suffix'} eq 'webm') {
+							$del = $files{$id}->{'path'};
 						}
 						warn("\tDeleting: " . $del . "\n");
 						if ($SUDO_CHATTR) {