diff options
Diffstat (limited to '')
-rw-r--r-- | _plugins/linter.rb | 10 |
1 files changed, 4 insertions, 6 deletions
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 |