瀏覽代碼

Treat webm like mp4

Zachary Kotlarek 9 年之前
父節點
當前提交
aa03381377
共有 1 個文件被更改,包括 2 次插入 和 0 次删除
  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) {