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
1c81c086
Commit
1c81c086
authored
Aug 22, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Core: display $Z as Artist - Title
This is more coherent with the rest of the worlds...
parent
9dd2f6ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/text/strings.c
src/text/strings.c
+5
-5
No files found.
src/text/strings.c
View file @
1c81c086
...
@@ -795,17 +795,17 @@ char *str_format_meta( playlist_t *p_object, const char *string )
...
@@ -795,17 +795,17 @@ char *str_format_meta( playlist_t *p_object, const char *string )
if
(
p_item
)
if
(
p_item
)
{
{
char
*
psz_now_playing
=
input_item_GetNowPlaying
(
p_item
);
char
*
psz_now_playing
=
input_item_GetNowPlaying
(
p_item
);
if
(
psz_now_playing
==
NULL
)
if
(
EMPTY_STR
(
psz_now_playing
)
)
{
{
char
*
psz_temp
=
input_item_GetTitleFbName
(
p_item
);
char
*
psz_temp
=
input_item_GetTitleFbName
(
p_item
);
char
*
psz_artist
=
input_item_GetArtist
(
p_item
);
char
*
psz_artist
=
input_item_GetArtist
(
p_item
);
if
(
!
EMPTY_STR
(
psz_
temp
)
)
if
(
!
EMPTY_STR
(
psz_
artist
)
)
{
{
INSERT_STRING
(
psz_
temp
);
INSERT_STRING
(
psz_
artist
);
if
(
!
EMPTY_STR
(
psz_
artist
)
)
if
(
!
EMPTY_STR
(
psz_
temp
)
)
INSERT_STRING_NO_FREE
(
" - "
);
INSERT_STRING_NO_FREE
(
" - "
);
}
}
INSERT_STRING
(
psz_
artist
);
INSERT_STRING
(
psz_
temp
);
}
}
else
else
INSERT_STRING
(
psz_now_playing
);
INSERT_STRING
(
psz_now_playing
);
...
...
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