urlhandler: Add invidio.us.

This commit is contained in:
tastytea 2020-04-14 18:14:38 +02:00
parent 44a918d349
commit e058dcb149
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 8 additions and 8 deletions

View File

@ -13,14 +13,14 @@ zmodload zsh/regex
default_cmd="firefox"
assignments=(
"\.(mp4|m4v|mkv|avi|webm|flv|xvid|ogv|theora|mov)$" "vlc;mpv;kodi;${default_cmd}"
"\.(ogg|flac|opus|m4a|wav|mp3)$" "vlc;mpv;kodi;${default_cmd}"
"^https://media.ccc.de/v/[^/]*$" "mpv;kodi;${default_cmd}"
"^https?://www.ardmediathek.de/tv/.*/Video\?" "mpv;kodi;${default_cmd}"
"^https?://www.zdf.de/[^/]*/[^/]*/[^/]*-10[0-9].html" "mpv;kodi;${default_cmd}"
"^https?://www.ndr.de/fernsehen/sendungen/[^/]*/[^/]*[0-9]*.html" "mpv;kodi;${default_cmd}"
"^https?://(www\.)?youtu(\.be|be\.com)/([^/]*v=)?[a-zA-Z0-9\-\_]*([\?&].*)?" "mpv;vlc;kodi;${default_cmd}"
"^https?://(vivo.sx|streamcloud.eu|shared.sx|openload.co|powerwatch.pw|cloudtime.to|auroravid.to|vidto.me)/" "mpv;kodi;${default_cmd}"
"\.(mp4|m4v|mkv|avi|webm|flv|xvid|ogv|theora|mov)$" "vlc;mpv;kodi;${default_cmd}"
"\.(ogg|flac|opus|m4a|wav|mp3)$" "vlc;mpv;kodi;${default_cmd}"
"^https://media.ccc.de/v/[^/]*$" "mpv;kodi;${default_cmd}"
"^https?://www.ardmediathek.de/tv/.*/Video\?" "mpv;kodi;${default_cmd}"
"^https?://www.zdf.de/[^/]*/[^/]*/[^/]*-10[0-9].html" "mpv;kodi;${default_cmd}"
"^https?://www.ndr.de/fernsehen/sendungen/[^/]*/[^/]*[0-9]*.html" "mpv;kodi;${default_cmd}"
"^https?://(www\.)?youtu(\.be|be\.com)/([^/]*v=)?[a-zA-Z0-9\-\_]*([\?&].*)?" "mpv;vlc;kodi;${default_cmd}"
"^https?://(www\.)?invidio.us/([^/]*v=)?[a-zA-Z0-9\-\_]*([\?&].*)?" "mpv;vlc;kodi;${default_cmd}"
)
match=0