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
cd2fbd0a
Commit
cd2fbd0a
authored
May 15, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Respect album-art for CDDB request.
In this case the option is a bit mis-named but...
parent
10524df5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
modules/access/cdda.c
modules/access/cdda.c
+3
-0
modules/access/cdda/access.c
modules/access/cdda/access.c
+1
-0
No files found.
modules/access/cdda.c
View file @
cd2fbd0a
...
...
@@ -604,6 +604,9 @@ static int GetTracks( access_t *p_access, input_item_t *p_current )
#ifdef HAVE_LIBCDDB
static
cddb_disc_t
*
GetCDDBInfo
(
access_t
*
p_access
,
int
i_titles
,
int
*
p_sectors
)
{
if
(
var_CreateGetInteger
(
p_access
,
"album-art"
)
==
ALBUM_ART_WHEN_ASKED
)
return
NULL
;
/* */
cddb_conn_t
*
p_cddb
=
cddb_new
();
if
(
!
p_cddb
)
...
...
modules/access/cdda/access.c
View file @
cd2fbd0a
...
...
@@ -644,6 +644,7 @@ int CDDAOpen( vlc_object_t *p_this )
cddb_log_set_handler
(
cddb_log_handler
);
p_cdda
->
cddb
.
disc
=
NULL
;
p_cdda
->
b_cddb_enabled
=
var_CreateGetInteger
(
p_access
,
"album-art"
)
!=
ALBUM_ART_WHEN_ASKED
&&
config_GetInt
(
p_access
,
MODULE_STRING
"-cddb-enabled"
);
#endif
p_cdda
->
b_cdtext
=
...
...
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