diff options
author | EuAndreh <eu@euandre.org> | 2020-12-28 19:02:07 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-28 19:03:53 -0300 |
commit | 668dd6c9b72f962838e59cb7419b00690112b854 (patch) | |
tree | 90e3a77a03f254729c37f9d30493f80387179875 /_plugins/linter.rb | |
parent | Revert "Use proper test screencast file" (diff) | |
download | euandre.org-668dd6c9b72f962838e59cb7419b00690112b854.tar.gz euandre.org-668dd6c9b72f962838e59cb7419b00690112b854.tar.xz |
Move (again) to WebM for being more web friendly
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 |