Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
5a19e06f
Commit
5a19e06f
authored
Sep 25, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
youtube.lua: fix commit
9a746cfa
parent
06c9784a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
share/lua/playlist/youtube.lua
share/lua/playlist/youtube.lua
+5
-6
No files found.
share/lua/playlist/youtube.lua
View file @
5a19e06f
...
@@ -25,12 +25,11 @@ function get_url_param( url, name )
...
@@ -25,12 +25,11 @@ function get_url_param( url, name )
end
end
function
get_arturl
()
function
get_arturl
()
-- FIXME: vlc.strings() is not a function, it should probably be
local
iurl
=
get_url_param
(
vlc
.
path
,
"iurl"
)
-- vlc.strings.decode_uri()
if
iurl
then
--if string.match( vlc.path, "iurl=" ) then
return
iurl
-- return vlc.strings( get_url_param( vlc.path, "iurl" ) )
end
--end
local
video_id
=
get_url_param
(
vlc
.
path
,
"v"
)
video_id
=
get_url_param
(
vlc
.
path
,
"v"
)
if
not
video_id
then
if
not
video_id
then
return
nil
return
nil
end
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