Commit 060d2b4b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MKV: fix metadata, by reading the spec

parent 598996f2
...@@ -223,7 +223,7 @@ static const struct { ...@@ -223,7 +223,7 @@ static const struct {
const char *key; const char *key;
int target_type; /* 0 is valid for all target_type */ int target_type; /* 0 is valid for all target_type */
} metadata_map[] = { } metadata_map[] = {
{vlc_meta_Album, "TITLE", 30}, {vlc_meta_Album, "TITLE", 50},
{vlc_meta_Title, "TITLE", 0}, {vlc_meta_Title, "TITLE", 0},
{vlc_meta_Artist, "ARTIST", 0}, {vlc_meta_Artist, "ARTIST", 0},
{vlc_meta_Genre, "GENRE", 0}, {vlc_meta_Genre, "GENRE", 0},
...@@ -234,6 +234,7 @@ static const struct { ...@@ -234,6 +234,7 @@ static const struct {
{vlc_meta_Rating, "RATING", 0}, {vlc_meta_Rating, "RATING", 0},
{vlc_meta_Date, "DATE_RELEASED", 0}, {vlc_meta_Date, "DATE_RELEASED", 0},
{vlc_meta_Date, "DATE_RELEASE", 0}, {vlc_meta_Date, "DATE_RELEASE", 0},
{vlc_meta_Date, "DATE_RECORDED", 0},
{vlc_meta_URL, "URL", 0}, {vlc_meta_URL, "URL", 0},
{vlc_meta_Publisher, "PUBLISHER", 0}, {vlc_meta_Publisher, "PUBLISHER", 0},
{vlc_meta_EncodedBy, "ENCODED_BY", 0}, {vlc_meta_EncodedBy, "ENCODED_BY", 0},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment