Diff between 41c7f3af0352d3e45f4f10b7584e955a7f5cc696 and f2671bf8f951c84fbdd0c463c64c9aa3299a7e9a

Changed Files

File Additions Deletions Status
profiles/audio/avrcp.c +4 -0 modified

Full Patch

diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 439fa27..36ce01a 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -1210,6 +1210,10 @@ static GList *player_list_metadata(struct avrcp_player *player)
 					GUINT_TO_POINTER(str_to_metadata(key)));
 	}
 
+	if (attrs == NULL)
+		return g_list_prepend(NULL,
+				GUINT_TO_POINTER(AVRCP_MEDIA_ATTRIBUTE_TITLE));
+
 	return attrs;
 }