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
2396ab52
Commit
2396ab52
authored
Feb 06, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new meta types for film info
parent
47bb64f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
include/vlc_input_item.h
include/vlc_input_item.h
+5
-0
include/vlc_meta.h
include/vlc_meta.h
+17
-2
No files found.
include/vlc_input_item.h
View file @
2396ab52
...
@@ -230,6 +230,11 @@ INPUT_META(EncodedBy)
...
@@ -230,6 +230,11 @@ INPUT_META(EncodedBy)
INPUT_META
(
ArtworkURL
)
INPUT_META
(
ArtworkURL
)
INPUT_META
(
TrackID
)
INPUT_META
(
TrackID
)
INPUT_META
(
TrackTotal
)
INPUT_META
(
TrackTotal
)
INPUT_META
(
Director
)
INPUT_META
(
Season
)
INPUT_META
(
Episode
)
INPUT_META
(
ShowName
)
INPUT_META
(
Actors
)
#define input_item_SetTrackNum input_item_SetTrackNumber
#define input_item_SetTrackNum input_item_SetTrackNumber
#define input_item_GetTrackNum input_item_GetTrackNumber
#define input_item_GetTrackNum input_item_GetTrackNumber
...
...
include/vlc_meta.h
View file @
2396ab52
...
@@ -49,10 +49,15 @@ typedef enum vlc_meta_type_t
...
@@ -49,10 +49,15 @@ typedef enum vlc_meta_type_t
vlc_meta_EncodedBy
,
vlc_meta_EncodedBy
,
vlc_meta_ArtworkURL
,
vlc_meta_ArtworkURL
,
vlc_meta_TrackID
,
vlc_meta_TrackID
,
vlc_meta_TrackTotal
vlc_meta_TrackTotal
,
vlc_meta_Director
,
vlc_meta_Season
,
vlc_meta_Episode
,
vlc_meta_ShowName
,
vlc_meta_Actors
,
}
vlc_meta_type_t
;
}
vlc_meta_type_t
;
#define VLC_META_TYPE_COUNT
18
#define VLC_META_TYPE_COUNT
23
#define ITEM_PREPARSED 1
#define ITEM_PREPARSED 1
#define ITEM_ARTURL_FETCHED 2
#define ITEM_ARTURL_FETCHED 2
...
@@ -126,6 +131,11 @@ VLC_API int input_item_WriteMeta(vlc_object_t *, input_item_t *);
...
@@ -126,6 +131,11 @@ VLC_API int input_item_WriteMeta(vlc_object_t *, input_item_t *);
#define vlc_meta_SetArtURL( meta, b ) vlc_meta_Set( meta, vlc_meta_ArtworkURL, b )
#define vlc_meta_SetArtURL( meta, b ) vlc_meta_Set( meta, vlc_meta_ArtworkURL, b )
#define vlc_meta_SetTrackID( meta, b ) vlc_meta_Set( meta, vlc_meta_TrackID, b )
#define vlc_meta_SetTrackID( meta, b ) vlc_meta_Set( meta, vlc_meta_TrackID, b )
#define vlc_meta_SetTrackTotal( meta, b ) vlc_meta_Set( meta, vlc_meta_TrackTotal, b )
#define vlc_meta_SetTrackTotal( meta, b ) vlc_meta_Set( meta, vlc_meta_TrackTotal, b )
#define vlc_meta_SetDirector( meta, b ) vlc_meta_Set( meta, vlc_meta_Director, b )
#define vlc_meta_SetSeason( meta, b ) vlc_meta_Set( meta, vlc_meta_Season, b )
#define vlc_meta_SetEpisode( meta, b ) vlc_meta_Set( meta, vlc_meta_Episode, b )
#define vlc_meta_SetShowName( meta, b ) vlc_meta_Set( meta, vlc_meta_ShowName, b )
#define vlc_meta_SetActors( meta, b ) vlc_meta_Set( meta, vlc_meta_Actors, b )
#define VLC_META_TITLE vlc_meta_TypeToLocalizedString( vlc_meta_Title )
#define VLC_META_TITLE vlc_meta_TypeToLocalizedString( vlc_meta_Title )
#define VLC_META_ARTIST vlc_meta_TypeToLocalizedString( vlc_meta_Artist )
#define VLC_META_ARTIST vlc_meta_TypeToLocalizedString( vlc_meta_Artist )
...
@@ -144,6 +154,11 @@ VLC_API int input_item_WriteMeta(vlc_object_t *, input_item_t *);
...
@@ -144,6 +154,11 @@ VLC_API int input_item_WriteMeta(vlc_object_t *, input_item_t *);
#define VLC_META_ENCODED_BY vlc_meta_TypeToLocalizedString( vlc_meta_EncodedBy )
#define VLC_META_ENCODED_BY vlc_meta_TypeToLocalizedString( vlc_meta_EncodedBy )
#define VLC_META_ART_URL vlc_meta_TypeToLocalizedString( vlc_meta_ArtworkURL )
#define VLC_META_ART_URL vlc_meta_TypeToLocalizedString( vlc_meta_ArtworkURL )
#define VLC_META_TRACKID vlc_meta_TypeToLocalizedString( vlc_meta_TrackID )
#define VLC_META_TRACKID vlc_meta_TypeToLocalizedString( vlc_meta_TrackID )
#define VLC_META_DIRECTOR vlc_meta_TypeToLocalizedString( vlc_meta_Director )
#define VLC_META_SEASON vlc_meta_TypeToLocalizedString( vlc_meta_Season )
#define VLC_META_EPISODE vlc_meta_TypeToLocalizedString( vlc_meta_Episode )
#define VLC_META_SHOW_NAME vlc_meta_TypeToLocalizedString( vlc_meta_ShowName )
#define VLC_META_ACTORS vlc_meta_TypeToLocalizedString( vlc_meta_Actors )
#endif
#endif
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