Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
9973c5ef
Commit
9973c5ef
authored
Sep 29, 2017
by
Marvin Scholz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua: Add alternative hosts to Twitch script
parent
315aba90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
share/lua/playlist/twitch.lua
share/lua/playlist/twitch.lua
+3
-1
No files found.
share/lua/playlist/twitch.lua
View file @
9973c5ef
...
@@ -25,7 +25,9 @@ Resolve Twitch channel and video URLs to the actual stream URL
...
@@ -25,7 +25,9 @@ Resolve Twitch channel and video URLs to the actual stream URL
function
probe
()
function
probe
()
return
(
vlc
.
access
==
"http"
or
vlc
.
access
==
"https"
)
return
(
vlc
.
access
==
"http"
or
vlc
.
access
==
"https"
)
and
(
vlc
.
path
:
match
(
"^www%.twitch%.tv/videos/.+"
)
or
and
(
vlc
.
path
:
match
(
"^www%.twitch%.tv/videos/.+"
)
or
vlc
.
path
:
match
(
"^www%.twitch%.tv/.+"
)
)
vlc
.
path
:
match
(
"^www%.twitch%.tv/.+"
)
or
vlc
.
path
:
match
(
"^go%.twitch%.tv/.+"
)
or
vlc
.
path
:
match
(
"^go%.twitch%.tv/videos/.+"
)
)
end
end
-- Download and parse a JSON document from the specified URL
-- Download and parse a JSON document from the specified URL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment