Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
9e17021b
Commit
9e17021b
authored
Feb 14, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify
parent
17605dde
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
17 deletions
+6
-17
modules/misc/msn.c
modules/misc/msn.c
+6
-17
No files found.
modules/misc/msn.c
View file @
9e17021b
...
@@ -173,23 +173,12 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
...
@@ -173,23 +173,12 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
}
}
/* Playing something ... */
/* Playing something ... */
for
(
i
=
0
;
i
<
p_input
->
input
.
p_item
->
i_categories
;
i
++
)
psz_artist
=
vlc_input_item_GetInfo
(
p_input
->
input
.
p_item
,
{
_
(
"Meta-information"
),
info_category_t
*
p_cat
=
p_input
->
input
.
p_item
->
pp_categories
[
i
];
VLC_META_ARTIST
);
for
(
j
=
0
;
j
<
p_cat
->
i_infos
;
j
++
)
psz_album
=
vlc_input_item_GetInfo
(
p_input
->
input
.
p_item
,
{
_
(
"Meta-information"
),
info_t
*
p_info
=
p_cat
->
pp_infos
[
j
];
_
(
"Album/movie/show title"
)
);
if
(
!
strcmp
(
p_info
->
psz_name
,
VLC_META_ARTIST
)
)
{
psz_artist
=
strdup
(
p_info
->
psz_value
);
}
else
if
(
!
strcmp
(
p_info
->
psz_name
,
"Album/movie/show title"
)
)
{
psz_album
=
strdup
(
p_info
->
psz_value
);
}
}
}
psz_title
=
strdup
(
p_input
->
input
.
p_item
->
psz_name
);
psz_title
=
strdup
(
p_input
->
input
.
p_item
->
psz_name
);
if
(
psz_title
==
NULL
)
psz_title
=
strdup
(
N_
(
"(no title)"
)
);
if
(
psz_title
==
NULL
)
psz_title
=
strdup
(
N_
(
"(no title)"
)
);
if
(
psz_artist
==
NULL
)
psz_artist
=
strdup
(
N_
(
"(no artist)"
)
);
if
(
psz_artist
==
NULL
)
psz_artist
=
strdup
(
N_
(
"(no artist)"
)
);
...
...
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