Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
Plasma Media Center
Commits
c8c1f4eb
Commit
c8c1f4eb
authored
Dec 13, 2012
by
Shantanu Tushar
Browse files
Show the filename if metadata not available for a song.
BUG: 311520
parent
271ddb4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mediaelements/mediaplayer/MusicStats.qml
View file @
c8c1f4eb
...
...
@@ -29,7 +29,7 @@ Row {
height
:
parent
.
height
;
width
:
parent
.
width
*
0.4
Image
{
anchors
{
centerIn
:
parent
;
margins
:
10
}
source
:
"
image://pmccoverart/
"
+
url
source
:
"
image://pmccoverart/
"
+
path
smooth
:
true
QtExtraComponents.QIconItem
{
icon
:
metaData
?
"
media-optical-audio
"
:
""
...
...
@@ -47,7 +47,7 @@ Row {
Column
{
anchors.centerIn
:
parent
width
:
0.9
*
parent
.
width
;
height
:
0.7
*
parent
.
height
StatsLabel
{
text
:
metaData
.
title
?
metaData
.
title
:
""
}
StatsLabel
{
text
:
metaData
.
title
?
metaData
.
title
:
String
(
path
).
split
(
"
/
"
).
reverse
()[
0
]
}
StatsLabel
{
text
:
metaData
.
albumArtist
?
metaData
.
albumArtist
:
""
}
StatsLabel
{
text
:
metaData
.
albumTitle
?
metaData
.
albumTitle
:
""
}
StatsLabel
{
text
:
metaData
.
genre
?
metaData
.
genre
:
""
}
...
...
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