command: try 'icy-title' metadata for media-title as well
This commit is contained in:
1 parent
fcc360ccad
commit
c18cf4394d
1 file changed
+3
@@ -373,6 +373,9 @@ static int mp_property_media_title(void *ctx, struct m_property *prop,
|
||||
name = mp_tags_get_str(mpctx->master_demuxer->metadata, "title");
|
||||
if (name && name[0])
|
||||
return m_property_strdup_ro(action, arg, name);
|
||||
name = mp_tags_get_str(mpctx->master_demuxer->metadata, "icy-title");
|
||||
if (name && name[0])
|
||||
return m_property_strdup_ro(action, arg, name);
|
||||
}
|
||||
return mp_property_filename(ctx, prop, action, arg);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user