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
2dd551cb
Commit
2dd551cb
authored
Aug 18, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
musicbrainz.c: Hopefully fix the art finder submodule.
parent
72b9e70d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
modules/meta_engine/musicbrainz.c
modules/meta_engine/musicbrainz.c
+3
-8
No files found.
modules/meta_engine/musicbrainz.c
View file @
2dd551cb
...
...
@@ -76,6 +76,7 @@ static int GetData( vlc_object_t *p_obj, input_item_t *p_item,
char
psz_data
[
256
];
char
i_album_count
,
i
;
char
*
ppsz_args
[
4
];
vlc_bool_t
b_art_found
=
VLC_FALSE
;
char
*
psz_artist
;
char
*
psz_album
;
...
...
@@ -150,6 +151,7 @@ static int GetData( vlc_object_t *p_obj, input_item_t *p_item,
psz_buf
);
msg_Dbg
(
p_obj
,
"Album art URL: %s"
,
psz_data
);
input_item_SetArtURL
(
p_item
,
psz_data
);
b_art_found
=
VLC_TRUE
;
break
;
}
}
...
...
@@ -161,14 +163,7 @@ static int GetData( vlc_object_t *p_obj, input_item_t *p_item,
if
(
!
b_art
)
return
VLC_SUCCESS
;
else
{
char
*
psz_arturl
;
psz_arturl
=
input_item_GetArtURL
(
p_item
);
int
i_ret
;
i_ret
=
EMPTY_STR
(
psz_arturl
)
?
VLC_SUCCESS
:
VLC_EGENERIC
;
free
(
psz_arturl
);
return
i_ret
;
}
return
b_art_found
?
VLC_SUCCESS
:
VLC_EGENERIC
;
}
static
int
FindMetaMBId
(
vlc_object_t
*
p_this
)
...
...
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