Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
28e2ca98
Commit
28e2ca98
authored
Mar 14, 2004
by
Rocky Bernstein
Browse files
Better about adding track author and title in track info
section. Also add the extended data.
parent
c66e5c08
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/cdda/access.c
View file @
28e2ca98
...
...
@@ -431,9 +431,16 @@ static void InformationCreate( input_thread_t *p_input )
if
(
p_cdda
->
i_cddb_enabled
)
{
cddb_track_t
*
t
=
cddb_disc_get_track
(
p_cdda
->
cddb
.
disc
,
i_track
);
if
(
t
!=
NULL
&&
t
->
artist
!=
NULL
)
{
input_AddInfo
(
p_cat
,
_
(
"Artist"
),
"%s"
,
t
->
artist
);
input_AddInfo
(
p_cat
,
_
(
"Title"
),
"%s"
,
t
->
title
);
if
(
t
!=
NULL
)
{
if
(
t
->
artist
!=
NULL
&&
strlen
(
t
->
artist
)
)
{
input_AddInfo
(
p_cat
,
_
(
"Artist"
),
"%s"
,
t
->
artist
);
}
if
(
t
->
title
!=
NULL
&&
strlen
(
t
->
title
)
)
{
input_AddInfo
(
p_cat
,
_
(
"Title"
),
"%s"
,
t
->
title
);
}
if
(
t
->
ext_data
!=
NULL
&&
strlen
(
t
->
ext_data
)
)
{
input_AddInfo
(
p_cat
,
_
(
"Extended Data"
),
"%s"
,
t
->
ext_data
);
}
}
}
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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