allow more formats via mpvallvids

This commit is contained in:
Alexander Bocken 2020-09-17 13:48:56 +02:00
parent bc32fcc81f
commit d8fe421174
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
2 changed files with 2 additions and 1 deletions

View File

@ -7,3 +7,4 @@ bant https://boards.4chan.org/bant/
kanji https://kanji.sljfaq.org/draw-canvas.html
mystudies https://www.lehrbetrieb.ethz.ch/myStudies/studWillkommen.view
gg https://linggle.com/
live https://video.ethz.ch/live/lectures.html

View File

@ -1,2 +1,2 @@
#!/bin/sh
lynx --dump --listonly --nonumbers "$1" | grep '\.webm$' | uniq | xargs mpv
lynx --dump --listonly --nonumbers "$1" | grep -E '\.(mp4|webm|gif)$' | uniq | xargs mpv