Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions src/movies/movies.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
import differencesTheTwoTowers from "./tt0167261/extended/differences.json" with { type: "json" };
import chaptersTheTwoTowers from "./tt0167261/extended/chapters.json" with { type: "json" };
import differencesFellowshipExtended from "./tt0120737/extended/differences.json" with { type: "json" };
import chaptersFellowshipExtended from "./tt0120737/extended/chapters.json" with { type: "json" };
import differencesFellowshipTheatrical from "./tt0120737/theatrical/differences.json" with { type: "json" };
import chaptersFellowshipTheatrical from "./tt0120737/theatrical/chapters.json" with { type: "json" };
import differencesTheTwoTowersExtended from "./tt0167261/extended/differences.json" with { type: "json" };
import chaptersTheTwoTowersExtended from "./tt0167261/extended/chapters.json" with { type: "json" };
import differencesTheTwoTowersTheatrical from "./tt0167261/theatrical/differences.json" with { type: "json" };
import chaptersTheTwoTowersTheatrical from "./tt0167261/theatrical/chapters.json" with { type: "json" };
import differencesReturnOfTheKingExtended from "./tt0167260/extended/differences.json" with { type: "json" };
import chaptersReturnOfTheKingExtended from "./tt0167260/extended/chapters.json" with { type: "json" };
import differencesReturnOfTheKingTheatrical from "./tt0167260/theatrical/differences.json" with { type: "json" };
import chaptersReturnOfTheKingTheatrical from "./tt0167260/theatrical/chapters.json" with { type: "json" };

export type EditionDifferenceData = {
start_time: string;
Expand All @@ -18,8 +28,8 @@ export type EditionChapter = {
export type MovieEdition = {
label: string;
duration: number;
chapters?: EditionChapter[]; // TODO make required field once we have all the data
differences?: EditionDifferenceData[]; // TODO make required field once we have all the data
chapters: EditionChapter[];
differences: EditionDifferenceData[];
};

export type Movie = {
Expand All @@ -36,10 +46,14 @@ export const movies = [
{
label: "Theatrical Edition",
duration: 10705472,
chapters: chaptersFellowshipTheatrical,
differences: differencesFellowshipTheatrical,
},
{
label: "Extended Edition",
duration: 13691758,
chapters: chaptersFellowshipExtended,
differences: differencesFellowshipExtended,
},
],
},
Expand All @@ -50,12 +64,14 @@ export const movies = [
{
label: "Theatrical Edition",
duration: 10765760,
chapters: chaptersTheTwoTowersTheatrical,
differences: differencesTheTwoTowersTheatrical,
},
{
label: "Extended Edition",
duration: 14125166,
chapters: chaptersTheTwoTowers,
differences: differencesTheTwoTowers,
chapters: chaptersTheTwoTowersExtended,
differences: differencesTheTwoTowersExtended,
},
],
},
Expand All @@ -66,10 +82,14 @@ export const movies = [
{
label: "Theatrical Edition",
duration: 12061823,
chapters: chaptersReturnOfTheKingTheatrical,
differences: differencesReturnOfTheKingTheatrical,
},
{
label: "Extended Edition",
duration: 15790797,
chapters: chaptersReturnOfTheKingExtended,
differences: differencesReturnOfTheKingExtended,
},
],
},
Expand Down
242 changes: 242 additions & 0 deletions src/movies/tt0120737/extended/chapters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
[
{
"start_time": "00:00:00.000000000",
"title": "Prologue: One Ring to Rule Them All...",
"start_time_ms": 0
},
{
"start_time": "00:07:36.790000000",
"title": "Concerning Hobbits",
"start_time_ms": 456790
},
{
"start_time": "00:10:35.760000000",
"title": "The Shire",
"start_time_ms": 635760
},
{
"start_time": "00:15:39.814000000",
"title": "Very Old Friends",
"start_time_ms": 939814
},
{
"start_time": "00:19:58.447000000",
"title": "A Long-expected Party",
"start_time_ms": 1198447
},
{
"start_time": "00:25:32.573000000",
"title": "Farewell Dear Bilbo",
"start_time_ms": 1532573
},
{
"start_time": "00:29:57.337000000",
"title": "Keep It Secret, Keep It Safe",
"start_time_ms": 1797337
},
{
"start_time": "00:32:10.637000000",
"title": "The Account of Isildur",
"start_time_ms": 1930637
},
{
"start_time": "00:34:51.756000000",
"title": "At The Green Dragon",
"start_time_ms": 2091756
},
{
"start_time": "00:36:18.134000000",
"title": "The Shadow of the Past",
"start_time_ms": 2178134
},
{
"start_time": "00:45:04.118000000",
"title": "The Passing of the Elves",
"start_time_ms": 2704118
},
{
"start_time": "00:46:44.260000000",
"title": "Saruman the White",
"start_time_ms": 2804260
},
{
"start_time": "00:51:21.370000000",
"title": "A Short Cut to Mushrooms",
"start_time_ms": 3081370
},
{
"start_time": "00:55:12.392000000",
"title": "Bucklebury Ferry",
"start_time_ms": 3312392
},
{
"start_time": "00:57:30.030000000",
"title": "At the Sign of The Prancing Pony",
"start_time_ms": 3450030
},
{
"start_time": "01:03:31.474000000",
"title": "The Nazgul",
"start_time_ms": 3811474
},
{
"start_time": "01:07:16.074000000",
"title": "The Midgewater Marshes",
"start_time_ms": 4036074
},
{
"start_time": "01:08:53.546000000",
"title": "The Spoiling of Isengard",
"start_time_ms": 4133546
},
{
"start_time": "01:10:35.898000000",
"title": "A Knife in the Dark",
"start_time_ms": 4235898
},
{
"start_time": "01:15:15.344000000",
"title": "The Caverns of Isengard",
"start_time_ms": 4515344
},
{
"start_time": "01:17:46.579000000",
"title": "Flight to the Ford",
"start_time_ms": 4666579
},
{
"start_time": "01:24:11.546000000",
"title": "Rivendell",
"start_time_ms": 5051546
},
{
"start_time": "01:26:12.459000000",
"title": "Many Meetings",
"start_time_ms": 5172459
},
{
"start_time": "01:29:41.543000000",
"title": "The Fate of the Ring",
"start_time_ms": 5381543
},
{
"start_time": "01:33:14.631000000",
"title": "The Sword That Was Broken",
"start_time_ms": 5594631
},
{
"start_time": "01:35:54.040000000",
"title": "The Evenstar",
"start_time_ms": 5754040
},
{
"start_time": "01:37:32.930000000",
"title": "The Council of Elrond",
"start_time_ms": 5852930
},
{
"start_time": "01:45:38.374000000",
"title": "Gilraen's Memorial",
"start_time_ms": 6338374
},
{
"start_time": "01:46:52.156000000",
"title": "Bilbo's Gifts",
"start_time_ms": 6412156
},
{
"start_time": "01:48:35.551000000",
"title": "The Departure of the Fellowship",
"start_time_ms": 6515551
},
{
"start_time": "01:49:52.961000000",
"title": "The Ring Goes South",
"start_time_ms": 6592961
},
{
"start_time": "01:52:58.772000000",
"title": "The Pass of Caradhras",
"start_time_ms": 6778772
},
{
"start_time": "01:57:45.058000000",
"title": "Moria",
"start_time_ms": 7065058
},
{
"start_time": "02:04:10.360000000",
"title": "A Journey in the Dark",
"start_time_ms": 7450360
},
{
"start_time": "02:10:40.750000000",
"title": "Balin's Tomb",
"start_time_ms": 7840750
},
{
"start_time": "02:20:05.480000000",
"title": "The Bridge of Khazad-dum",
"start_time_ms": 8405480
},
{
"start_time": "02:29:46.937000000",
"title": "Lothlorien",
"start_time_ms": 8986937
},
{
"start_time": "02:32:59.587000000",
"title": "Caras Galadhon",
"start_time_ms": 9179587
},
{
"start_time": "02:40:16.607000000",
"title": "The Mirror of Galadriel",
"start_time_ms": 9616607
},
{
"start_time": "02:45:56.614000000",
"title": "The Fighting Uruk-hai",
"start_time_ms": 9956614
},
{
"start_time": "02:47:36.839000000",
"title": "Farewell to Lorien",
"start_time_ms": 10056839
},
{
"start_time": "02:53:00.495000000",
"title": "The Great River",
"start_time_ms": 10380495
},
{
"start_time": "02:57:52.746000000",
"title": "Parth Galen",
"start_time_ms": 10672746
},
{
"start_time": "03:04:20.675000000",
"title": "The Breaking of the Fellowship",
"start_time_ms": 11060675
},
{
"start_time": "03:11:36.444000000",
"title": "The Departure of Boromir",
"start_time_ms": 11496444
},
{
"start_time": "03:14:18.772000000",
"title": "The Road Goes Ever On...",
"start_time_ms": 11658772
},
{
"start_time": "03:20:36.858000000",
"title": "Credits",
"start_time_ms": 12036858
},
{
"start_time": "03:28:16.818000000",
"title": "Official Fan Club Credits",
"start_time_ms": 12496818
}
]
Loading