Formatting
This commit is contained in:
parent
4ff070b731
commit
a3a7947975
@ -147,7 +147,8 @@ struct song_metadata dbusGetSong( DBusConnection *conn, const char *player ) {
|
|||||||
dbus_message_iter_recurse( &variant, &artists );
|
dbus_message_iter_recurse( &variant, &artists );
|
||||||
dbus_message_iter_get_basic( &artists, &meta_val );
|
dbus_message_iter_get_basic( &artists, &meta_val );
|
||||||
ret.artist = strdup( meta_val );
|
ret.artist = strdup( meta_val );
|
||||||
} else if ( dbus_message_iter_get_arg_type( &variant ) == DBUS_TYPE_STRING ) {
|
} else if ( dbus_message_iter_get_arg_type( &variant ) ==
|
||||||
|
DBUS_TYPE_STRING ) {
|
||||||
dbus_message_iter_get_basic( &variant, &meta_val );
|
dbus_message_iter_get_basic( &variant, &meta_val );
|
||||||
if ( !strcmp( meta_name, "xesam:title" ) )
|
if ( !strcmp( meta_name, "xesam:title" ) )
|
||||||
ret.title = strdup( meta_val );
|
ret.title = strdup( meta_val );
|
||||||
|
Loading…
Reference in New Issue
Block a user