Add feature-movies, implement step 4.

pull/1/head
Joshua Sigona 4 years ago
parent c7267a8a91
commit d45526f2d4
  1. 109
      app.js
  2. 42
      data.json

109
app.js

@ -6,8 +6,8 @@ var data = require('./data.json').results
app.use(bodyParser.urlencoded({extended: true}));
app.use(bodyParser.json());
app.get("/",(req,res)=>{
var kind="song"
app.get("/:kind",(req,res)=>{
var kind=req.params.kind
if (req.query.albumName) {
var albumName = req.query.albumName;
var filteredSongs = data.filter((song)=>song.kind===kind&&albumName===song.collectionName);
@ -32,34 +32,8 @@ app.get("/",(req,res)=>{
}
})
app.get("/video",(req,res)=>{
var kind="music-video"
if (req.query.albumName) {
var albumName = req.query.albumName;
var filteredSongs = data.filter((song)=>song.kind===kind&&albumName===song.collectionName);
res.send(JSON.stringify(filteredSongs))
} else
if (req.query.albumId) {
var albumId = Number(req.query.albumId);
var filteredSongs = data.filter((song)=>song.kind===kind&&albumId===song.collectionId);
res.send(JSON.stringify(filteredSongs))
} else
if (req.query.trackName) {
var trackName = req.query.trackName;
var filteredSongs = data.filter((song)=>song.kind===kind&&trackName===song.trackName);
res.send(JSON.stringify(filteredSongs))
} else
if (req.query.id) {
var searchId = Number(req.query.id);
var filteredSongs = data.filter((song)=>song.kind===kind&&searchId===song.trackId);
res.send(JSON.stringify(filteredSongs))
} else {
res.send(JSON.stringify(data.filter((song)=>song.kind===kind)))
}
})
app.post("/update",(req,res)=>{
var kind="song"
app.post("/:kind/update",(req,res)=>{
var kind=req.params.kind
if (req.body && req.body.songId) {
var songId = Number(req.body.songId);
var filteredSongs = data.filter((song)=>song.kind===kind&&songId===song.trackId);
@ -70,32 +44,14 @@ app.post("/update",(req,res)=>{
}
}
}))
res.send("Updated "+filteredSongs.length+" song(s)")
res.send("Updated "+filteredSongs.length+" "+kind+"(s)")
} else {
res.status(400).send("songId not specified.");
}
})
app.post("/video/update",(req,res)=>{
var kind="music-video"
if (req.body && req.body.songId) {
var songId = Number(req.body.songId);
var filteredSongs = data.filter((song)=>song.kind===kind&&songId===song.trackId);
res.send(filteredSongs.forEach((song)=>{
for (var key in req.body) {
if (key !== "songId") {
song[key] = req.body[key]
}
}
}))
res.send("Updated "+filteredSongs.length+" video(s)")
} else {
res.status(400).send("songId not specified.");
}
})
app.post("/delete",(req,res)=>{
var kind="song"
app.post("/:kind/delete",(req,res)=>{
var kind=req.params.kind
if (req.body && req.body.songId) {
var songId = Number(req.body.songId);
var filteredSongs = data.filter((song)=>song.kind===kind&&songId===song.trackId);
@ -110,24 +66,8 @@ app.post("/delete",(req,res)=>{
}
})
app.post("/video/delete",(req,res)=>{
var kind="music-video"
if (req.body && req.body.songId) {
var songId = Number(req.body.songId);
var filteredSongs = data.filter((song)=>song.kind===kind&&songId===song.trackId);
for (var i=0;i<data.length;i++) {
if (filteredSongs.includes(data[i])) {
data.splice(i,1)
}
}
res.send("Removed "+filteredSongs.length+" video(s)")
} else {
res.status(400).send("songId not specified.");
}
})
app.get("/artist",(req,res)=>{
var kind="song"
app.get("/:kind/artist",(req,res)=>{
var kind=req.params.kind
if (req.query.id) {
var artistId = Number(req.query.id);
var filteredSongs = data.filter((song)=>song.kind===kind&&artistId===song.artistId);
@ -147,32 +87,11 @@ function SongIdDoesNotExist(trackId) {
return data.filter((song)=>song.kind===kind&&trackId===song.trackId).length===0;
}
app.post("/add",(req,res)=>{
var kind="song"
if (req.body && req.body.trackName
&& req.body.trackId && req.body.collectionName && req.body.collectionId
&& req.body.artistId && req.body.artistName) {
if (SongIdDoesNotExist(req.body.trackId)) {
var song = {}
for (var key in req.body) {
song[key] = req.body[key]
}
song["kind"] = kind;
data.push(song)
res.send("Added song "+JSON.stringify(song));
} else {
res.status(400).send("songId already exists.");
}
} else {
res.status(400).send("trackId / trackName / collectionName / collectionId / artistId / artistName not specified.");
}
})
app.post("/video/add",(req,res)=>{
var kind="music-video"
app.post("/:kind/add",(req,res)=>{
var kind=req.params.kind
if (req.body && req.body.trackName
&& req.body.trackId && req.body.collectionName && req.body.collectionId
&& req.body.artistId && req.body.artistName && req.body.previewUrl) {
&& req.body.artistId && req.body.artistName && (kind!=="music-video" || (kind==="music-video" && req.body.previewUrl)) && (kind!=="feature-movie" || (kind==="feature-movie" && req.body.previewUrl && req.body.longDescription))) {
if (SongIdDoesNotExist(req.body.trackId)) {
var song = {}
for (var key in req.body) {
@ -180,12 +99,12 @@ app.post("/video/add",(req,res)=>{
}
song["kind"] = kind;
data.push(song)
res.send("Added video "+JSON.stringify(song));
res.send("Added "+kind+" "+JSON.stringify(song));
} else {
res.status(400).send("songId already exists.");
}
} else {
res.status(400).send("trackId / trackName / collectionName / collectionId / artistId / artistName / previewUrl not specified.");
res.status(400).send("trackId / trackName / collectionName / collectionId / artistId / artistName "+(kind==="music-video"?"/ previewUrl":"")+""+(kind==="feature-movie"?"/ previewUrl / longDescription":"")+" not specified.");
}
})

@ -230,7 +230,47 @@
{"wrapperType":"track", "kind":"music-video", "artistId":338264227, "trackId":1446858321, "artistName":"Ellie Goulding", "trackName":"Lights", "trackCensoredName":"Lights (Bassnectar Remix)", "artistViewUrl":"https://music.apple.com/us/artist/ellie-goulding/338264227?uo=4", "trackViewUrl":"https://music.apple.com/us/music-video/lights-bassnectar-remix/1446858321?uo=4", "artworkUrl30":"https://is3-ssl.mzstatic.com/image/thumb/Video/v4/03/6b/e1/036be171-23a3-fd9c-c6ce-af5bc2319b85/source/30x30bb.jpg", "artworkUrl60":"https://is3-ssl.mzstatic.com/image/thumb/Video/v4/03/6b/e1/036be171-23a3-fd9c-c6ce-af5bc2319b85/source/60x60bb.jpg", "artworkUrl100":"https://is3-ssl.mzstatic.com/image/thumb/Video/v4/03/6b/e1/036be171-23a3-fd9c-c6ce-af5bc2319b85/source/100x100bb.jpg", "releaseDate":"2011-01-01T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "country":"USA", "currency":"USD", "primaryGenreName":"Pop"},
{"wrapperType":"track", "kind":"music-video", "artistId":338264227, "trackId":1445840975, "artistName":"Ellie Goulding", "trackName":"Starry Eyed", "trackCensoredName":"Starry Eyed (Live From Soho House, Los Angeles)", "artistViewUrl":"https://music.apple.com/us/artist/ellie-goulding/338264227?uo=4", "trackViewUrl":"https://music.apple.com/us/music-video/starry-eyed-live-from-soho-house-los-angeles/1445840975?uo=4", "artworkUrl30":"https://is4-ssl.mzstatic.com/image/thumb/Video128/v4/30/73/c2/3073c268-204c-44fc-15d0-4db72a500694/source/30x30bb.jpg", "artworkUrl60":"https://is4-ssl.mzstatic.com/image/thumb/Video128/v4/30/73/c2/3073c268-204c-44fc-15d0-4db72a500694/source/60x60bb.jpg", "artworkUrl100":"https://is4-ssl.mzstatic.com/image/thumb/Video128/v4/30/73/c2/3073c268-204c-44fc-15d0-4db72a500694/source/100x100bb.jpg", "releaseDate":"2011-01-01T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "country":"USA", "currency":"USD", "primaryGenreName":"Pop"},
{"wrapperType":"track", "kind":"music-video", "artistId":366264156, "trackId":1059926633, "artistName":"Younha", "trackName":"Think About You", "trackCensoredName":"Think About You", "artistViewUrl":"https://music.apple.com/us/artist/younha/366264156?uo=4", "trackViewUrl":"https://music.apple.com/us/music-video/think-about-you/1059926633?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video115/v4/bc/de/c9/bcdec9dc-7541-4d89-20f3-c72102d91561/mzvf_203416736200269266.640x480.h264lc.U.p.m4v", "artworkUrl30":"https://is3-ssl.mzstatic.com/image/thumb/Video49/v4/a7/1e/db/a71edbbd-7fed-5718-9c50-8a13df74c4b0/source/30x30bb.jpg", "artworkUrl60":"https://is3-ssl.mzstatic.com/image/thumb/Video49/v4/a7/1e/db/a71edbbd-7fed-5718-9c50-8a13df74c4b0/source/60x60bb.jpg", "artworkUrl100":"https://is3-ssl.mzstatic.com/image/thumb/Video49/v4/a7/1e/db/a71edbbd-7fed-5718-9c50-8a13df74c4b0/source/100x100bb.jpg", "collectionPrice":1.99, "trackPrice":1.99, "releaseDate":"2015-11-11T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "trackTimeMillis":249918, "country":"USA", "currency":"USD", "primaryGenreName":"Pop"}]
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video115/v4/bc/de/c9/bcdec9dc-7541-4d89-20f3-c72102d91561/mzvf_203416736200269266.640x480.h264lc.U.p.m4v", "artworkUrl30":"https://is3-ssl.mzstatic.com/image/thumb/Video49/v4/a7/1e/db/a71edbbd-7fed-5718-9c50-8a13df74c4b0/source/30x30bb.jpg", "artworkUrl60":"https://is3-ssl.mzstatic.com/image/thumb/Video49/v4/a7/1e/db/a71edbbd-7fed-5718-9c50-8a13df74c4b0/source/60x60bb.jpg", "artworkUrl100":"https://is3-ssl.mzstatic.com/image/thumb/Video49/v4/a7/1e/db/a71edbbd-7fed-5718-9c50-8a13df74c4b0/source/100x100bb.jpg", "collectionPrice":1.99, "trackPrice":1.99, "releaseDate":"2015-11-11T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "trackTimeMillis":249918, "country":"USA", "currency":"USD", "primaryGenreName":"Pop"},
{"wrapperType":"track", "kind":"feature-movie", "collectionId":1504747175, "trackId":1063466898, "artistName":"J.J. Abrams", "collectionName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackName":"Star Wars: The Force Awakens", "collectionCensoredName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackCensoredName":"Star Wars: The Force Awakens", "collectionArtistId":410641764, "collectionArtistViewUrl":"https://itunes.apple.com/us/artist/buena-vista-home-entertainment-inc/410641764?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-force-awakens/id1063466898?uo=4", "trackViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-force-awakens/id1063466898?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video82/v4/a3/ef/25/a3ef253a-208e-3cbc-cbf0-bc444dae2f8d/mzvf_6313901593442783545.640x354.h264lc.U.p.m4v", "artworkUrl30":"https://is4-ssl.mzstatic.com/image/thumb/Video123/v4/1f/2b/ae/1f2bae7f-62a1-1055-8471-401291b6dcdd/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is4-ssl.mzstatic.com/image/thumb/Video123/v4/1f/2b/ae/1f2bae7f-62a1-1055-8471-401291b6dcdd/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is4-ssl.mzstatic.com/image/thumb/Video123/v4/1f/2b/ae/1f2bae7f-62a1-1055-8471-401291b6dcdd/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "trackRentalPrice":2.99000, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "trackHdRentalPrice":3.99000, "releaseDate":"2015-12-18T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "discCount":1, "discNumber":1, "trackCount":9, "trackNumber":3, "trackTimeMillis":8302127, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG-13", "shortDescription":"Lucasfilm and visionary director J.J. Abrams join forces to take you back again to a galaxy far, far",
"longDescription":"Visionary director J.J. Abrams brings to life the motion picture event of a generation. As Kylo Ren and the sinister First Order rise from the ashes of the Empire, Luke Skywalker is missing when the galaxy needs him most. It's up to Rey, a desert scavenger, and Finn, a defecting stormtrooper, to join forces with Han Solo and Chewbacca in a desperate search for the one hope of restoring peace to the galaxy.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "collectionId":1502176608, "trackId":975080816, "artistName":"George Lucas", "collectionName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackName":"Star Wars: The Phantom Menace", "collectionCensoredName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackCensoredName":"Star Wars: The Phantom Menace", "collectionArtistId":410641764, "collectionArtistViewUrl":"https://itunes.apple.com/us/artist/buena-vista-home-entertainment-inc/410641764?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-phantom-menace/id975080816?uo=4", "trackViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-phantom-menace/id975080816?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video113/v4/4c/88/67/4c8867ee-f781-cc02-fd72-972a1d11ac7e/mzvf_4694524656895114499.640x360.h264lc.U.p.m4v", "artworkUrl30":"https://is2-ssl.mzstatic.com/image/thumb/Video123/v4/18/98/ce/1898cea4-56a5-0542-c115-f1057ed45fea/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is2-ssl.mzstatic.com/image/thumb/Video123/v4/18/98/ce/1898cea4-56a5-0542-c115-f1057ed45fea/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is2-ssl.mzstatic.com/image/thumb/Video123/v4/18/98/ce/1898cea4-56a5-0542-c115-f1057ed45fea/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "releaseDate":"1999-05-19T07:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "discCount":1, "discNumber":1, "trackCount":9, "trackNumber":6, "trackTimeMillis":8180628, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG", "shortDescription":"For the first time ever on digital, experience the heroic action and unforgettable adventures of",
"longDescription":"Experience the heroic action and unforgettable adventures of Star Wars: Episode I - The Phantom Menace. See the first fateful steps in the journey of Anakin Skywalker. Stranded on the desert planet Tatooine after rescuing young Queen Amidala from the impending invasion of Naboo, Jedi apprentice Obi-Wan Kenobi and his Jedi Master Qui-Gon Jinn discover nine-year-old Anakin, a young slave unusually strong in the Force. Anakin wins a thrilling Podrace and with it his freedom as he leaves his home to be trained as a Jedi. The heroes return to Naboo where Anakin and the Queen face massive invasion forces while the two Jedi contend with a deadly foe named Darth Maul. Only then do they realize the invasion is merely the first step in a sinister scheme by the re-emergent forces of darkness known as the Sith.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "collectionId":1502176608, "trackId":975793398, "artistName":"Irvin Kershner", "collectionName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackName":"Star Wars: The Empire Strikes Back", "collectionCensoredName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackCensoredName":"Star Wars: The Empire Strikes Back", "collectionArtistId":410641764, "collectionArtistViewUrl":"https://itunes.apple.com/us/artist/buena-vista-home-entertainment-inc/410641764?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-empire-strikes-back/id975793398?uo=4", "trackViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-empire-strikes-back/id975793398?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video123/v4/48/b7/d4/48b7d464-c053-ada4-3ab5-df377005a8ae/mzvf_4839677935584511804.640x362.h264lc.U.p.m4v", "artworkUrl30":"https://is5-ssl.mzstatic.com/image/thumb/Video123/v4/01/3a/f1/013af151-fe2a-df00-f8cf-1f4603cbe52f/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is5-ssl.mzstatic.com/image/thumb/Video123/v4/01/3a/f1/013af151-fe2a-df00-f8cf-1f4603cbe52f/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is5-ssl.mzstatic.com/image/thumb/Video123/v4/01/3a/f1/013af151-fe2a-df00-f8cf-1f4603cbe52f/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "releaseDate":"1980-06-20T07:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "discCount":1, "discNumber":1, "trackCount":9, "trackNumber":8, "trackTimeMillis":7651183, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG",
"longDescription":"Discover the conflict between good and evil in the electrifying Star Wars: Episode V - The Empire Strikes Back. After the destruction of the Death Star, Imperial forces continue to pursue the Rebels. After the Rebellion’s defeat on the ice planet Hoth, Luke journeys to the planet Dagobah to train with Jedi Master Yoda, who has lived in hiding since the fall of the Republic. In an attempt to convert Luke to the dark side, Darth Vader lures young Skywalker into a trap in the Cloud City of Bespin.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "collectionId":1502305637, "trackId":976965981, "artistName":"Richard Marquand", "collectionName":"Star Wars: The Skywalker Saga【STAR WARS : 天行者傳奇 】9部曲合輯", "trackName":"Star Wars: Return of the Jedi", "collectionCensoredName":"Star Wars: The Skywalker Saga【STAR WARS : 天行者傳奇 】9部曲合輯", "trackCensoredName":"Star Wars: Return of the Jedi", "collectionArtistId":410641764, "collectionArtistViewUrl":"https://itunes.apple.com/us/artist/buena-vista-home-entertainment-inc/410641764?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/movie/star-wars-return-of-the-jedi/id976965981?uo=4", "trackViewUrl":"https://itunes.apple.com/us/movie/star-wars-return-of-the-jedi/id976965981?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video122/v4/d4/d3/ee/d4d3ee3a-916c-7082-9dde-39452003658e/mzvf_5415681123559609835.640x360.h264lc.U.p.m4v", "artworkUrl30":"https://is3-ssl.mzstatic.com/image/thumb/Video123/v4/9f/f9/e8/9ff9e804-f7f5-2a01-54a8-c476a5a884fa/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is3-ssl.mzstatic.com/image/thumb/Video123/v4/9f/f9/e8/9ff9e804-f7f5-2a01-54a8-c476a5a884fa/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is3-ssl.mzstatic.com/image/thumb/Video123/v4/9f/f9/e8/9ff9e804-f7f5-2a01-54a8-c476a5a884fa/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "releaseDate":"1983-05-25T07:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "discCount":1, "discNumber":1, "trackCount":9, "trackNumber":6, "trackTimeMillis":8095835, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG",
"longDescription":"Experience the triumph of the Force in Star Wars: Episode VI - Return of the Jedi. In the epic conclusion of the saga, the Empire prepares to crush the Rebellion with a more powerful Death Star while the Rebel fleet mounts a massive attack on the space station. Luke Skywalker confronts Darth Vader in a final climactic duel before the evil Emperor.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "collectionId":1502176608, "trackId":975101586, "artistName":"George Lucas", "collectionName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackName":"Star Wars: Attack of the Clones", "collectionCensoredName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackCensoredName":"Star Wars: Attack of the Clones", "collectionArtistId":410641764, "collectionArtistViewUrl":"https://itunes.apple.com/us/artist/buena-vista-home-entertainment-inc/410641764?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/movie/star-wars-attack-of-the-clones/id975101586?uo=4", "trackViewUrl":"https://itunes.apple.com/us/movie/star-wars-attack-of-the-clones/id975101586?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video122/v4/f3/2d/46/f32d46a1-eca2-b74a-808c-ebcdba703cef/mzvf_1368034946158690604.640x366.h264lc.U.p.m4v", "artworkUrl30":"https://is3-ssl.mzstatic.com/image/thumb/Video113/v4/22/48/9f/22489f6e-c7a1-af0f-0767-969d07c63758/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is3-ssl.mzstatic.com/image/thumb/Video113/v4/22/48/9f/22489f6e-c7a1-af0f-0767-969d07c63758/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is3-ssl.mzstatic.com/image/thumb/Video113/v4/22/48/9f/22489f6e-c7a1-af0f-0767-969d07c63758/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "releaseDate":"2002-05-16T07:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "discCount":1, "discNumber":1, "trackCount":9, "trackNumber":5, "trackTimeMillis":8548000, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG", "shortDescription":"For the first time ever on digital, watch the seeds of Anakin Skywalker's transformation take root",
"longDescription":"Watch the seeds of Anakin Skywalker's transformation take root in Star Wars: Episode II - Attack of the Clones. Ten years after the invasion of Naboo, the galaxy is on the brink of civil war. Under the leadership of a renegade Jedi named Count Dooku, thousands of solar systems threaten to break away from the Galactic Republic. When an assassination attempt is made on Senator Padmé Amidala, the former Queen of Naboo, twenty-year-old Jedi apprentice Anakin Skywalker is assigned to protect her. In the course of his mission, Anakin discovers his love for Padmé as well as his own darker side. Soon, Anakin, Padmé, and Obi-Wan Kenobi are drawn into the heart of the Separatist movement and the beginning of the Clone Wars.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "collectionId":1504747175, "trackId":975521762, "artistName":"George Lucas", "collectionName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackName":"Star Wars: Revenge of the Sith", "collectionCensoredName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackCensoredName":"Star Wars: Revenge of the Sith", "collectionArtistId":410641764, "collectionArtistViewUrl":"https://itunes.apple.com/us/artist/buena-vista-home-entertainment-inc/410641764?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/movie/star-wars-revenge-of-the-sith/id975521762?uo=4", "trackViewUrl":"https://itunes.apple.com/us/movie/star-wars-revenge-of-the-sith/id975521762?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video111/v4/59/b7/88/59b78812-618e-5344-157c-458afdabe978/mzvf_3790775580755867978.640x362.h264lc.U.p.m4v", "artworkUrl30":"https://is5-ssl.mzstatic.com/image/thumb/Video113/v4/f6/ed/2e/f6ed2e90-8c9a-0a71-d87b-3e502c999ce7/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is5-ssl.mzstatic.com/image/thumb/Video113/v4/f6/ed/2e/f6ed2e90-8c9a-0a71-d87b-3e502c999ce7/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is5-ssl.mzstatic.com/image/thumb/Video113/v4/f6/ed/2e/f6ed2e90-8c9a-0a71-d87b-3e502c999ce7/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "releaseDate":"2005-05-19T07:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "discCount":1, "discNumber":1, "trackCount":9, "trackNumber":4, "trackTimeMillis":8404832, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG-13",
"longDescription":"Discover the true power of the dark side in Star Wars: Episode III - Revenge of the Sith. Years after the onset of the Clone Wars, the noble Jedi Knights lead a massive clone army into a galaxy-wide battle against the Separatists. When the sinister Sith unveil a thousand-year-old plot to rule the galaxy, the Republic crumbles and from its ashes rises the evil Galactic Empire. Jedi hero Anakin Skywalker is seduced by the dark side of the Force to become the Emperor’s new apprentice – Darth Vader. The Jedi are decimated, as Obi-Wan Kenobi and Jedi Master Yoda are forced into hiding.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "collectionId":1502305637, "trackId":978943481, "artistName":"George Lucas", "collectionName":"Star Wars: The Skywalker Saga【STAR WARS : 天行者傳奇 】9部曲合輯", "trackName":"Star Wars: A New Hope", "collectionCensoredName":"Star Wars: The Skywalker Saga【STAR WARS : 天行者傳奇 】9部曲合輯", "trackCensoredName":"Star Wars: A New Hope", "collectionArtistId":410641764, "collectionArtistViewUrl":"https://itunes.apple.com/us/artist/buena-vista-home-entertainment-inc/410641764?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/movie/star-wars-a-new-hope/id978943481?uo=4", "trackViewUrl":"https://itunes.apple.com/us/movie/star-wars-a-new-hope/id978943481?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video122/v4/0d/37/b8/0d37b859-55b4-2ed3-02d2-e7a7ae8359c6/mzvf_842097924938904897.640x362.h264lc.U.p.m4v", "artworkUrl30":"https://is2-ssl.mzstatic.com/image/thumb/Video113/v4/58/7f/97/587f97b3-1919-11f2-43c8-bbe89e68f3fc/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is2-ssl.mzstatic.com/image/thumb/Video113/v4/58/7f/97/587f97b3-1919-11f2-43c8-bbe89e68f3fc/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is2-ssl.mzstatic.com/image/thumb/Video113/v4/58/7f/97/587f97b3-1919-11f2-43c8-bbe89e68f3fc/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "releaseDate":"1977-05-25T07:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "discCount":1, "discNumber":1, "trackCount":9, "trackNumber":4, "trackTimeMillis":7492608, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG",
"longDescription":"Luke Skywalker begins a journey that will change the galaxy in Star Wars: Episode IV - A New Hope. Nineteen years after the formation of the Empire, Luke is thrust into the struggle of the Rebel Alliance when he meets Obi-Wan Kenobi, who has lived for years in seclusion on the desert planet of Tatooine. Obi-Wan begins Luke’s Jedi training as Luke joins him on a daring mission to rescue the beautiful Rebel leader Princess Leia from the clutches of Darth Vader and the evil Empire.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "collectionId":1504747175, "trackId":1316280891, "artistName":"Rian Johnson", "collectionName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackName":"Star Wars: The Last Jedi", "collectionCensoredName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackCensoredName":"Star Wars: The Last Jedi", "collectionArtistId":410641764, "collectionArtistViewUrl":"https://itunes.apple.com/us/artist/buena-vista-home-entertainment-inc/410641764?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-last-jedi/id1316280891?uo=4", "trackViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-last-jedi/id1316280891?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video118/v4/33/32/8c/33328c8f-0729-664c-e969-4d6a18f40b32/mzvf_2938194234974585940.640x356.h264lc.U.p.m4v", "artworkUrl30":"https://is1-ssl.mzstatic.com/image/thumb/Video123/v4/d7/26/75/d72675bb-f448-3a37-91cd-dd58a6927107/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is1-ssl.mzstatic.com/image/thumb/Video123/v4/d7/26/75/d72675bb-f448-3a37-91cd-dd58a6927107/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is1-ssl.mzstatic.com/image/thumb/Video123/v4/d7/26/75/d72675bb-f448-3a37-91cd-dd58a6927107/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "trackRentalPrice":2.99000, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "trackHdRentalPrice":3.99000, "releaseDate":"2017-12-15T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "discCount":1, "discNumber":1, "trackCount":9, "trackNumber":2, "trackTimeMillis":9125948, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG-13", "shortDescription":"In Lucasfilm’s Star Wars: The Last Jedi, the Skywalker saga continues as the heroes of The Force",
"longDescription":"In Lucasfilm’s Star Wars: The Last Jedi, the Skywalker saga continues as the heroes of The Force Awakens join the galactic legends in an epic adventure that unlocks new mysteries of the Force and shocking revelations of the past.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "trackId":1179624268, "artistName":"Gareth Edwards", "trackName":"Rogue One: A Star Wars Story", "trackCensoredName":"Rogue One: A Star Wars Story", "trackViewUrl":"https://itunes.apple.com/us/movie/rogue-one-a-star-wars-story/id1179624268?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video128/v4/6c/67/79/6c67799f-9832-59e4-bd51-92592440cfbf/mzvf_931805574959329603.640x356.h264lc.U.p.m4v", "artworkUrl30":"https://is1-ssl.mzstatic.com/image/thumb/Video123/v4/e1/30/7e/e1307eeb-8144-e5ec-130f-210c43da937f/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is1-ssl.mzstatic.com/image/thumb/Video123/v4/e1/30/7e/e1307eeb-8144-e5ec-130f-210c43da937f/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is1-ssl.mzstatic.com/image/thumb/Video123/v4/e1/30/7e/e1307eeb-8144-e5ec-130f-210c43da937f/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "trackRentalPrice":2.99000, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "trackHdRentalPrice":3.99000, "releaseDate":"2016-12-16T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "trackTimeMillis":8070520, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG-13", "shortDescription":"From Lucasfilm comes the first of the Star Wars stand-alone films – Rogue One: A Star Wars Story, an",
"longDescription":"From Lucasfilm comes the first of the Star Wars stand-alone films – Rogue One: A Star Wars Story, an epic adventure. In a time of conflict, a group of unlikely heroes band together on a mission to steal the plans to the Death Star, the Empire’s ultimate weapon of destruction. This key event in the Star Wars timeline brings together ordinary people who choose to do extraordinary things, and in doing so, become part of something greater than themselves.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "collectionId":1504747175, "trackId":1490359713, "artistName":"J.J. Abrams", "collectionName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackName":"Star Wars: The Rise of Skywalker", "collectionCensoredName":"Star Wars: The Skywalker Saga (9-Movie Collection)", "trackCensoredName":"Star Wars: The Rise of Skywalker", "collectionArtistId":410641764, "collectionArtistViewUrl":"https://itunes.apple.com/us/artist/buena-vista-home-entertainment-inc/410641764?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-rise-of-skywalker/id1490359713?uo=4", "trackViewUrl":"https://itunes.apple.com/us/movie/star-wars-the-rise-of-skywalker/id1490359713?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video123/v4/f1/18/5c/f1185cae-51a6-c2ac-b496-57cc002ed6da/mzvf_9644898472932920220.640x356.h264lc.U.p.m4v", "artworkUrl30":"https://is5-ssl.mzstatic.com/image/thumb/Video123/v4/dc/70/0f/dc700f1d-4566-a487-7585-8a8176ab38fd/pr_source.jpg/30x30bb.jpg", "artworkUrl60":"https://is5-ssl.mzstatic.com/image/thumb/Video123/v4/dc/70/0f/dc700f1d-4566-a487-7585-8a8176ab38fd/pr_source.jpg/60x60bb.jpg", "artworkUrl100":"https://is5-ssl.mzstatic.com/image/thumb/Video123/v4/dc/70/0f/dc700f1d-4566-a487-7585-8a8176ab38fd/pr_source.jpg/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "trackRentalPrice":4.99000, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "trackHdRentalPrice":5.99000, "releaseDate":"2019-12-20T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "discCount":1, "discNumber":1, "trackCount":9, "trackNumber":1, "trackTimeMillis":8536025, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG-13", "shortDescription":"Lucasfilm and director J.J. Abrams join forces once more to take viewers on an epic journey to a",
"longDescription":"In STAR WARS: THE RISE OF SKYWALKER, the riveting conclusion of the landmark Skywalker saga, new legends will be born—and the final battle for freedom is yet to come. WARNING: SOME FLASHING-LIGHTS SCENES IN THIS FILM MAY AFFECT PHOTOSENSITIVE VIEWERS", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "trackId":1382545660, "artistName":"Ron Howard", "trackName":"Solo: A Star Wars Story", "trackCensoredName":"Solo: A Star Wars Story", "trackViewUrl":"https://itunes.apple.com/us/movie/solo-a-star-wars-story/id1382545660?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video128/v4/5e/76/e6/5e76e6fa-02b0-8049-325a-d3fab97e0a04/mzvf_1414902768725290031.640x354.h264lc.U.p.m4v", "artworkUrl30":"https://is2-ssl.mzstatic.com/image/thumb/Video113/v4/80/fb/02/80fb0247-5d39-123f-b375-b85055577c29/pr_source.lsr/30x30bb.jpg", "artworkUrl60":"https://is2-ssl.mzstatic.com/image/thumb/Video113/v4/80/fb/02/80fb0247-5d39-123f-b375-b85055577c29/pr_source.lsr/60x60bb.jpg", "artworkUrl100":"https://is2-ssl.mzstatic.com/image/thumb/Video113/v4/80/fb/02/80fb0247-5d39-123f-b375-b85055577c29/pr_source.lsr/100x100bb.jpg", "collectionPrice":19.99, "trackPrice":19.99, "trackRentalPrice":2.99000, "collectionHdPrice":19.99000, "trackHdPrice":19.99000, "trackHdRentalPrice":3.99000, "releaseDate":"2018-05-25T07:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "trackTimeMillis":8109933, "country":"USA", "currency":"USD", "primaryGenreName":"Action & Adventure", "contentAdvisoryRating":"PG-13", "shortDescription":"Board the Millennium Falcon and journey to a galaxy far, far away in Solo: A Star Wars Story, an",
"longDescription":"Board the Millennium Falcon and journey to a galaxy far, far away in Solo: A Star Wars Story, an epic action adventure with the most beloved scoundrel in the galaxy. Through a series of daring escapades deep within a dark and dangerous criminal underworld, Han Solo befriends his mighty future copilot Chewbacca and meets the notorious gambler Lando Calrissian, in a journey that will set the course of one of the Star Wars saga’s most unlikely heroes.", "hasITunesExtras":true},
{"wrapperType":"track", "kind":"feature-movie", "trackId":914324102, "artistName":"Brian Stillman", "trackName":"Plastic Galaxy: The Story of Star Wars Toys", "trackCensoredName":"Plastic Galaxy: The Story of Star Wars Toys", "trackViewUrl":"https://itunes.apple.com/us/movie/plastic-galaxy-the-story-of-star-wars-toys/id914324102?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video122/v4/d1/ec/94/d1ec94aa-3ed1-9da3-aa3f-25e967e83156/mzvf_2242294634368398603.640x480.h264lc.U.p.m4v", "artworkUrl30":"https://is3-ssl.mzstatic.com/image/thumb/Video4/v4/7f/55/86/7f5586b3-fe65-0830-01be-68ec94e58e3c/source/30x30bb.jpg", "artworkUrl60":"https://is3-ssl.mzstatic.com/image/thumb/Video4/v4/7f/55/86/7f5586b3-fe65-0830-01be-68ec94e58e3c/source/60x60bb.jpg", "artworkUrl100":"https://is3-ssl.mzstatic.com/image/thumb/Video4/v4/7f/55/86/7f5586b3-fe65-0830-01be-68ec94e58e3c/source/100x100bb.jpg", "collectionPrice":5.99, "trackPrice":5.99, "trackRentalPrice":3.99000, "collectionHdPrice":6.99000, "trackHdPrice":6.99000, "trackHdRentalPrice":3.99000, "releaseDate":"2014-01-14T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "trackTimeMillis":4062073, "country":"USA", "currency":"USD", "primaryGenreName":"Documentary", "contentAdvisoryRating":"Unrated", "shortDescription":"When Star Wars landed in the theaters, it introduced audiences to a galaxy filled with heroes and",
"longDescription":"When Star Wars landed in the theaters, it introduced audiences to a galaxy filled with heroes and villains, robots and space ships, and a dizzying variety of alien life. But when the lights came up, they all disappeared... Unless you had all the toys. In which case, the adventure never had to end. Like no toys before them, Star Wars toys were a phenomenon that swept the nation, permanently transforming both the toy and movie industries, and ultimately creating a hobby that, 30 years later, still holds sway over its fans. Plastic Galaxy is a documentary that explores the groundbreaking and breathtaking world of Star Wars toys. Through interviews with former Kenner employees, experts and authors like Stephen Sansweet and Gus Lopez, and of course collectors, it looks at the toys’ history, their influence, and the fond and fervent feelings they elicit today."},
{"wrapperType":"track", "kind":"feature-movie", "trackId":1492550369, "artistName":"James Thomas", "trackName":"Battle Star Wars", "trackCensoredName":"Battle Star Wars", "trackViewUrl":"https://itunes.apple.com/us/movie/battle-star-wars/id1492550369?uo=4",
"previewUrl":"https://video-ssl.itunes.apple.com/itunes-assets/Video123/v4/df/42/fa/df42fa59-ba64-7dd7-61e0-a9bb363d5619/mzvf_8843817354474711643.640x356.h264lc.U.p.m4v", "artworkUrl30":"https://is1-ssl.mzstatic.com/image/thumb/Video123/v4/7f/d8/c1/7fd8c16a-f709-f8d8-cc77-8976b95216c0/source/30x30bb.jpg", "artworkUrl60":"https://is1-ssl.mzstatic.com/image/thumb/Video123/v4/7f/d8/c1/7fd8c16a-f709-f8d8-cc77-8976b95216c0/source/60x60bb.jpg", "artworkUrl100":"https://is1-ssl.mzstatic.com/image/thumb/Video123/v4/7f/d8/c1/7fd8c16a-f709-f8d8-cc77-8976b95216c0/source/100x100bb.jpg", "collectionPrice":7.99, "trackPrice":7.99, "trackRentalPrice":4.99000, "collectionHdPrice":9.99000, "trackHdPrice":9.99000, "trackHdRentalPrice":4.99000, "releaseDate":"2020-01-28T08:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "trackTimeMillis":5165663, "country":"USA", "currency":"USD", "primaryGenreName":"Sci-Fi & Fantasy", "contentAdvisoryRating":"Unrated", "shortDescription":"When the leader of an evil galactic coalition threatens to destroy a Rebel planet for its precious",
"longDescription":"When the leader of an evil galactic coalition threatens to destroy a Rebel planet for its precious resources, his daughter has no choice but to turn against him and fight for what is right."}
]
}

Loading…
Cancel
Save