qt4: Show artist in status bare when applicable

parent 4fc4b04c
...@@ -138,6 +138,14 @@ void InputManager::update() ...@@ -138,6 +138,14 @@ void InputManager::update()
input_GetItem(p_input)->p_meta->psz_nowplaying, input_GetItem(p_input)->p_meta->psz_nowplaying,
input_GetItem(p_input)->psz_name ); input_GetItem(p_input)->psz_name );
} }
else if( input_GetItem(p_input)->p_meta &&
input_GetItem(p_input)->p_meta->psz_artist &&
*input_GetItem(p_input)->p_meta->psz_artist )
{
text.sprintf( "%s - %s",
input_GetItem(p_input)->p_meta->psz_artist,
input_GetItem(p_input)->psz_name );
}
else else
{ {
text.sprintf( "%s", input_GetItem(p_input)->psz_name ); text.sprintf( "%s", input_GetItem(p_input)->psz_name );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment