We should create a video model. It's a relationship on the release model. Possibly others, too. The data looks like this:
videos": [
{
"duration": 489,
"description": "Nirvana - Come as you are (Andy Caldwell remix)",
"embed": true,
"uri": "https://www.youtube.com/watch?v=rPHGAO4LOLk",
"title": "Nirvana - Come as you are (Andy Caldwell remix)"
},
{
"duration": 498,
"description": "Nirvana - Come As You Are (Dirty Funker Remix)",
"embed": true,
"uri": "https://www.youtube.com/watch?v=fm8F9GikQdM",
"title": "Nirvana - Come As You Are (Dirty Funker Remix)"
},
{
"duration": 226,
"description": "Nirvana - Come As You Are",
"embed": true,
"uri": "https://www.youtube.com/watch?v=vabnZ9-ex7o",
"title": "Nirvana - Come As You Are"
}
],
We should create a
video
model. It's a relationship on therelease
model. Possibly others, too. The data looks like this:(from https://api.discogs.com/masters/42457)