From 668dd6c9b72f962838e59cb7419b00690112b854 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 28 Dec 2020 19:02:07 -0300 Subject: Move (again) to WebM for being more web friendly --- _plugins/linter.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '_plugins/linter.rb') diff --git a/_plugins/linter.rb b/_plugins/linter.rb index f986191..aa568bb 100644 --- a/_plugins/linter.rb +++ b/_plugins/linter.rb @@ -107,9 +107,9 @@ module Jekyll end if name == 'screencasts' then - mkv = "resources/screencasts/#{date}-#{slug}.mkv" - unless File.exist? mkv then - raise "Missing MKV file '#{mkv}'" + webm = "resources/screencasts/#{date}-#{slug}.webm" + unless File.exist? webm then + raise "Missing WebM file '#{webm}'" end end end @@ -143,7 +143,7 @@ module Jekyll MEDIA_EXTENSION = { 'podcasts' => 'flac', - 'screencasts' => 'mkv' + 'screencasts' => 'webm' } def assert_media_metadata(site) @@ -187,8 +187,6 @@ module Jekyll check_metadata_cmd = "mediainfo '#{file}' | grep 'Movie name'" raise "Missing metadata entry 'title' in '#{file}'.\nAdd it with:\n\n#{add_metadata_cmd}\n\nCheck with:\n #{check_metadata_cmd}" end - # mkvpropedit dbg.mkv -e info -s album="The album" - # p document end end end -- cgit v1.2.3