diff --git a/mpd/base/media_info.proto b/mpd/base/media_info.proto index 3a7075b7a9..5ab1d21b4b 100644 --- a/mpd/base/media_info.proto +++ b/mpd/base/media_info.proto @@ -52,10 +52,14 @@ message MediaInfo { } message Element { - repeated AttributeNameValuePair attributes = 1; - repeated Element subelements = 2; + optional string name = 1; + repeated AttributeNameValuePair attributes = 2; + repeated Element subelements = 3; } + // These two string fields are specified by the MPD spec. Just for + // clarification, the string set in |value| is the rhs of 'value' field in + // . optional string scheme_id_uri = 1; optional string value = 2; repeated AttributeNameValuePair attributes = 3;