Formatting

This commit is contained in:
zvon 2020-05-29 20:54:05 +02:00
parent 4ff070b731
commit a3a7947975
5 changed files with 39 additions and 38 deletions

View File

@ -147,7 +147,8 @@ struct song_metadata dbusGetSong( DBusConnection *conn, const char *player ) {
dbus_message_iter_recurse( &variant, &artists );
dbus_message_iter_get_basic( &artists, &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 );
if ( !strcmp( meta_name, "xesam:title" ) )
ret.title = strdup( meta_val );