Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
5e374e0a
Commit
5e374e0a
authored
Sep 12, 2012
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vimeo.lua: remove useless test
This was only useful when we had several URLs to handle
parent
ecddf0b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
62 deletions
+59
-62
share/lua/playlist/vimeo.lua
share/lua/playlist/vimeo.lua
+59
-62
No files found.
share/lua/playlist/vimeo.lua
View file @
5e374e0a
...
...
@@ -42,7 +42,6 @@ end
-- Parse function.
function
parse
()
if
string.match
(
vlc
.
path
,
"vimeo.com/%d+$"
)
then
_
,
_
,
id
=
string.find
(
vlc
.
path
,
"vimeo.com/([0-9]*)"
)
prefres
=
get_prefres
()
ishd
=
false
...
...
@@ -106,6 +105,4 @@ function parse()
end
path = "
http
:
//
player
.
vimeo
.
com
/
play_redirect
?
quality
=
"..quality.."
&
codecs
=
"..codec.."
&
clip_id
=
"..id.."
&
time
=
"..tstamp.."
&
sig
=
"..rsig.."
&
type
=
html5_desktop_local
"
return { { path = path; name = name; arturl = arturl, duration = duration } }
end
return {}
end
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