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
667cee1d
Commit
667cee1d
authored
Jul 11, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LUA: synchronise meta with the core
parent
2875b54d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
modules/lua/libs/input.c
modules/lua/libs/input.c
+2
-0
modules/lua/libs/sd.c
modules/lua/libs/sd.c
+2
-0
No files found.
modules/lua/libs/input.c
View file @
667cee1d
...
@@ -145,6 +145,7 @@ static int vlclua_input_metas_internal( lua_State *L, input_item_t *p_item )
...
@@ -145,6 +145,7 @@ static int vlclua_input_metas_internal( lua_State *L, input_item_t *p_item )
PUSH_META
(
EncodedBy
,
"encoded_by"
);
PUSH_META
(
EncodedBy
,
"encoded_by"
);
PUSH_META
(
ArtworkURL
,
"artwork_url"
);
PUSH_META
(
ArtworkURL
,
"artwork_url"
);
PUSH_META
(
TrackID
,
"track_id"
);
PUSH_META
(
TrackID
,
"track_id"
);
PUSH_META
(
TrackTotal
,
"track_total"
);
#undef PUSH_META
#undef PUSH_META
...
@@ -341,6 +342,7 @@ static int vlclua_input_item_set_meta( lua_State *L )
...
@@ -341,6 +342,7 @@ static int vlclua_input_item_set_meta( lua_State *L )
META_TYPE
(
EncodedBy
,
"encoded_by"
)
META_TYPE
(
EncodedBy
,
"encoded_by"
)
META_TYPE
(
ArtworkURL
,
"artwork_url"
)
META_TYPE
(
ArtworkURL
,
"artwork_url"
)
META_TYPE
(
TrackID
,
"track_id"
)
META_TYPE
(
TrackID
,
"track_id"
)
META_TYPE
(
TrackTotal
,
"track_total"
)
};
};
#undef META_TYPE
#undef META_TYPE
...
...
modules/lua/libs/sd.c
View file @
667cee1d
...
@@ -91,6 +91,7 @@ vlclua_item_meta(publisher, Publisher)
...
@@ -91,6 +91,7 @@ vlclua_item_meta(publisher, Publisher)
vlclua_item_meta
(
encodedby
,
EncodedBy
)
vlclua_item_meta
(
encodedby
,
EncodedBy
)
vlclua_item_meta
(
arturl
,
ArtworkURL
)
vlclua_item_meta
(
arturl
,
ArtworkURL
)
vlclua_item_meta
(
trackid
,
TrackID
)
vlclua_item_meta
(
trackid
,
TrackID
)
vlclua_item_meta
(
tracktotal
,
TrackTotal
)
static
const
luaL_Reg
vlclua_item_reg
[]
=
{
static
const
luaL_Reg
vlclua_item_reg
[]
=
{
vlclua_item_luareg
(
title
)
vlclua_item_luareg
(
title
)
...
@@ -110,6 +111,7 @@ static const luaL_Reg vlclua_item_reg[] = {
...
@@ -110,6 +111,7 @@ static const luaL_Reg vlclua_item_reg[] = {
vlclua_item_luareg
(
encodedby
)
vlclua_item_luareg
(
encodedby
)
vlclua_item_luareg
(
arturl
)
vlclua_item_luareg
(
arturl
)
vlclua_item_luareg
(
trackid
)
vlclua_item_luareg
(
trackid
)
vlclua_item_luareg
(
tracktotal
)
{
NULL
,
NULL
}
{
NULL
,
NULL
}
};
};
...
...
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