Module:AirdateOrder

local p = {} function p.airdateOrder(frame) local ep = frame.args[1] local order = frame.args["order"] local epMatcher = require('Module:Ep/Matcher') local epCode = epMatcher.matchCode(ep)

epArray = { "1x01", -- 2015-03-12 19:00 PDT "1x02", -- 2015-03-19 19:00 PDT "1x03", -- 2015-03-26 19:00 PDT "1x04", -- 2015-04-02 19:00 PDT "1x05", -- 2015-04-09 19:00 PDT "1x06", -- 2015-04-16 19:00 PDT "1x07", -- 2015-04-23 19:00 PDT "1x08", -- 2015-04-30 19:00 PDT "1x09", -- 2015-05-07 19:00 PDT "1x10", -- 2015-05-14 19:00 PDT "1x11", -- 2015-05-21 19:00 PDT "1x12", -- 2015-05-28 19:00 PDT "1x13", -- 2015-06-04 19:00 PDT "1x14", -- 2015-06-11 19:00 PDT "1x15", -- 2015-06-25 19:00 PDT "1x16", -- 2015-07-02 19:00 PDT "Mx01", -- 2015-07-09 16:00 PDT "1x17", -- 2015-07-23 19:00 PDT "1x18", -- 2015-07-30 19:00 PDT "1x19", -- 2015-08-06 19:00 PDT "1x20", -- 2015-08-13 19:00 PDT "1x21", -- 2015-08-20 19:00 PDT "1x22", -- 2015-08-27 19:00 PDT "1x23", -- 2015-09-10 19:00 PDT "1x24", -- 2015-09-17 19:00 PDT "1x25", -- 2015-09-24 19:00 PDT "1x26", -- 2015-10-01 19:00 PDT "OSx01", -- 2015-10-03 21:00 PDT "1x27", -- 2015-10-08 19:00 PDT "1x28", -- 2015-10-15 19:00 PDT "OSx02", -- 2015-10-19 "1x29", -- 2015-10-22 19:00 PDT "1x30", -- 2015-10-29 19:00 PDT "1x31", -- 2015-11-05 19:00 PST "Mx02", -- 2015-11-05 19:00 PST "1x32", -- 2015-11-12 19:00 PST "1x33", -- 2015-11-19 19:00 PST "1x34", -- 2015-12-03 19:00 PST "1x35", -- 2015-12-10 19:00 PST "Mx03", -- 2015-12-10 19:00 PST "1x36", -- 2015-12-17 19:00 PST "Mx04", -- 2016-01-06 "1x37", -- 2016-01-07 19:00 PST "1x38", -- 2016-01-14 19:00 PST "1x39", -- 2016-01-21 19:00 PST "1x40", -- 2016-01-28 19:00 PST "1x41", -- 2016-02-04 19:00 PST "1x42", -- 2016-02-11 19:00 PST "1x43", -- 2016-02-18 19:00 PST "OSx03", -- 2016-02-25 19:00 PST "1x44", -- 2016-03-10 19:00 PST "1x45", -- 2016-03-17 19:00 PDT "1x46", -- 2016-03-24 19:00 PDT "1x47", -- 2016-03-31 19:00 PDT "1x48", -- 2016-04-07 19:00 PDT "1x49", -- 2016-04-14 19:00 PDT "OSx04", -- 2016-04-18 19:00 PDT "1x50", -- 2016-04-21 19:00 PDT "1x51", -- 2016-04-28 19:00 PDT "1x52", -- 2016-05-05 19:00 PDT "1x53", -- 2016-05-12 19:00 PDT "1x54", -- 2016-05-19 19:00 PDT "OSx05", -- 2016-05-26 19:00 PDT "1x55", -- 2016-06-02 19:00 PDT "1x56", -- 2016-06-09 19:00 PDT "1x57", -- 2016-06-16 19:00 PDT "1x58", -- 2016-06-23 19:00 PDT "OSx06", -- 2016-06-25 17:00 PDT "OSx07", -- 2016-06-30 19:00 PDT "1x59", -- 2016-07-07 19:00 PDT "1x60", -- 2016-07-14 19:00 PDT "1x61", -- 2016-07-28 19:00 PDT "1x62", -- 2016-08-06 20:00 EDT "1x63", -- 2016-08-11 19:00 PDT "1x64", -- 2016-08-18 19:00 PDT "1x65", -- 2016-08-25 19:00 PDT "OSx08", -- 2016-09-01 19:00 PDT "1x66", -- 2016-09-08 19:00 PDT "1x67", -- 2016-09-15 19:00 PDT "1x68", -- 2016-09-22 19:00 PDT "1x69", -- 2016-09-29 19:00 PDT "1x70", -- 2016-10-06 19:00 PDT "1x71", -- 2016-10-13 19:00 PDT "1x72", -- 2016-10-20 19:00 PDT "1x73", -- 2016-10-27 19:00 PDT "1x74", -- 2016-11-03 19:00 PDT "1x75", -- 2016-11-10 19:00 PST "TM1x75",-- 2016-11-15 19:00 PST "1x76", -- 2016-11-17 19:00 PST "TM1x76",-- 2016-11-22 19:00 PST "TMx03",-- 2016-11-29 19:00 PST "1x77", -- 2016-12-01 19:00 PST "TM1x77",-- 2016-12-06 19:00 PST "1x78", -- 2016-12-08 19:00 PST "TM1x78",-- 2016-12-13 19:00 PST "1x79", -- 2016-12-15 19:00 PST "TMx06",-- 2016-12-20 19:00 PST "TM1x79",-- 2017-01-03 19:00 PST "1x80", -- 2017-01-05 19:00 PST "TM1x80",-- 2017-01-10 19:00 PST "1x81", -- 2017-01-12 19:00 PST "TM1x81",-- 2017-01-17 19:00 PST "1x82", -- 2017-01-19 19:00 PST "TM1x82",-- 2017-01-24 19:00 PST "1x83", -- 2017-01-26 19:00 PST "TM1x83",-- 2017-01-31 19:00 PST "1x84", -- 2017-02-02 19:00 PST "TM1x84",-- 2017-02-07 19:00 PST "1x85", -- 2017-02-09 19:00 PST "1x86", -- 2017-02-16 19:00 PST "TM1x86",-- 2017-02-21 19:00 PST "1x87", -- 2017-02-23 19:00 PST "TM1x87",-- 2017-02-28 19:00 PST "1x88", -- 2017-03-02 19:00 PST "TM1x88",-- 2017-03-07 19:00 PST "1x89", -- 2017-03-09 19:00 PST "TM1x89",-- 2017-03-14 19:00 PDT "1x90", -- 2017-03-16 19:00 PDT "TM1x90",-- 2017-03-21 19:00 PDT "1x91", -- 2017-03-23 19:00 PDT "OSx09", -- 2017-03-24 "TM1x91",-- 2017-03-28 19:00 PDT "1x92", -- 2017-03-30 19:00 PDT "TM1x92",-- 2017-04-01 14:00 PDT "1x93", -- 2017-04-06 19:00 PDT "TM1x93",-- 2017-04-11 19:00 PDT "1x94", -- 2017-04-13 19:00 PDT "TM1x94",-- 2017-04-18 19:00 PDT "OSx10", -- 2017-04-20 19:00 PDT "Mx05", -- 2017-04-25 16:00 PDT "TMOSx10",-- 2017-04-25 19:00 PDT "1x95", -- 2017-04-27 19:00 PDT "TMSx01", -- 2017-05-02 19:00 PDT "1x96", -- 2017-05-04 19:00 PDT "TM1x96",-- 2017-05-09 19:00 PDT "1x97", -- 2017-05-11 19:00 PDT "TM1x97",-- 2017-05-16 19:00 PDT "1x98", -- 2017-05-18 19:00 PDT "TM1x98",-- 2017-05-23 19:00 PDT "OSx11", -- 2017-05-25 19:00 PDT "TMOSx11",-- 2017-05-30 19:00 PDT "1x99", -- 2017-06-01 19:00 PDT "TM1x99",-- 2017-06-06 19:00 PDT "1x100",-- 2017-06-08 19:00 PDT "TM1x100",-- 2017-06-13 19:00 PDT "1x101",-- 2017-06-15 19:00 PDT "TM1x101",-- 2017-06-20 19:00 PDT "1x102",-- 2017-06-22 19:00 PDT "TM1x102",-- 2017-06-27 19:00 PDT "1x103",-- 2017-06-29 19:00 PDT "1x104",-- 2017-07-06 19:00 PDT "TM1x104",-- 2017-07-11 19:00 PDT "1x105",-- 2017-07-13 19:00 PDT "TM1x105",-- 2017-07-18 19:00 PDT "TMSx02", -- 2017-07-22 10:30 PDT "1x106",-- 2017-07-27 19:00 PDT "TM1x106",-- 2017-08-01 19:00 PDT "1x107",-- 2017-08-03 19:00 PDT "1x108",-- 2017-08-10 19:00 PDT "TM1x108",-- 2017-08-15 19:00 PDT "1x109",-- 2017-08-18 18:00 PDT "TM1x109",-- 2017-08-22 19:00 PDT "1x110",-- 2017-08-24 19:00 PDT "TMx36",-- 2017-08-29 19:00 PDT "OSx12", -- 2017-08-31 19:00 PDT "TMOSx12",-- 2017-09-05 19:00 PDT "TM1x110",-- 2017-09-12 19:00 PDT "1x111",-- 2017-09-14 19:00 PDT "TM1x111",-- 2017-09-19 19:00 PDT "1x112",-- 2017-09-21 19:00 PDT "TM1x112",-- 2017-09-26 19:00 PDT "1x113",-- 2017-09-28 19:00 PDT "OSx13", -- 2017-10-03 "TM1x113",-- 2017-10-03 19:00 PDT "1x114",-- 2017-10-05 19:00 PDT "OSx14", -- 2017-10-09 "TM1x114",-- 2017-10-10 19:00 PDT "1x115",-- 2017-10-12 19:00 PDT "TM1x115",-- 2017-10-17 19:00 PDT "OSx15", -- 2017-10-19 19:00 PDT "TMOSx15",-- 2017-10-24 19:00 PDT "OSx16", -- 2017-10-26 19:00 PDT "OSx17", -- 2017-11-02 19:00 PDT "TMOSx17",-- 2017-11-07 19:00 PST "OSx18", -- 2017-11-09 19:00 PST "TMOSx18",-- 2017-11-14 19:00 PST "OSx19", -- 2017-11-16 19:00 PST "TMOSx19",-- 2017-11-28 19:00 PST "OSx20", -- 2017-11-30 19:00 PST "OSx21", -- 2017-12-07 19:00 PST "TMOSx21",-- 2017-12-12 19:00 PST "TMSx03", -- 2017-12-14 19:00 PST "TMSx04", -- 2017-12-19 19:00 PST "TMSx05", -- 2018-01-04 19:00 PST "2x01", -- 2018-01-11 19:00 PST "TM2x01",-- 2018-01-16 19:00 PST "2x02", -- 2018-01-18 19:00 PST "TM2x02",-- 2018-01-23 19:00 PST "2x03", -- 2018-01-25 19:00 PST "TM2x03",-- 2018-01-30 19:00 PST "2x04", -- 2018-02-01 19:00 PST "TM2x04",-- 2018-02-06 19:00 PST "2x05", -- 2018-02-08 19:00 PST "TM2x05",-- 2018-02-13 19:00 PST "2x06", -- 2018-02-15 19:00 PST "TM2x06",-- 2018-02-20 19:00 PST "2x07", -- 2018-02-22 19:00 PST "TM2x07",-- 2018-02-27 19:00 PST "2x08", -- 2018-03-01 19:00 PST "TM2x08",-- 2018-03-06 19:00 PST "2x09", -- 2018-03-08 19:00 PST "TM2x09",-- 2018-03-13 19:00 PDT "2x10", -- 2018-03-15 19:00 PDT "TM2x10",-- 2018-03-20 19:00 PDT "2x11", -- 2018-03-22 19:00 PDT "TM2x11",-- 2018-03-27 19:00 PDT "2x12", -- 2018-03-29 19:00 PDT "TM2x12",-- 2018-04-03 19:00 PDT "2x13", -- 2018-04-05 19:00 PDT "TM2x13",-- 2018-04-10 19:00 PDT "2x14", -- 2018-04-12 19:00 PDT "TM2x14",-- 2018-04-17 19:00 PDT "2x15", -- 2018-04-19 19:00 PDT "TM2x15",-- 2018-04-24 19:00 PDT "2x16", -- 2018-04-26 19:00 PDT "TM2x16",-- 2018-05-01 19:00 PDT "2x17", -- 2018-05-03 19:00 PDT "TM2x17",-- 2018-05-08 19:00 PDT "2x18", -- 2018-05-10 19:00 PDT "TM2x18",-- 2018-05-15 19:00 PDT "2x19", -- 2018-05-17 19:00 PDT "TM2x19",-- 2018-05-22 19:00 PDT "2x20", -- 2018-05-24 19:00 PDT "TM2x20",-- 2018-05-29 19:00 PDT "2x21", -- 2018-05-31 19:00 PDT "TM2x21",-- 2018-06-05 19:00 PDT "2x22", -- 2018-06-07 19:00 PDT "TM2x22",-- 2018-06-12 19:00 PDT "2x23", -- 2018-06-14 19:00 PDT "TM2x23",-- 2018-06-19 19:00 PDT "2x24", -- 2018-06-21 19:00 PDT "TM2x24",-- 2018-06-26 19:00 PDT "2x25", -- 2018-06-28 19:00 PDT "TM2x25",-- 2018-07-10 19:00 PDT "2x26", -- 2018-07-12 19:00 PDT "TM2x26",-- 2018-07-17 19:00 PDT "2x27", -- 2018-07-19 19:00 PDT "TM2x27a",-- 2018-07-24 19:00 PDT "2x28", -- 2018-07-26 19:00 PDT "TM2x28",-- 2018-07-31 19:00 PDT "2x29", -- 2018-08-03 18:00 PDT "Mx06", -- 2018-08-07 17:00 PDT "TM2x29",-- 2018-08-07 19:00 PDT "2x30", -- 2018-08-09 19:00 PDT "OSx22", -- 2018-08-10 19:00 PDT "TM2x30",-- 2018-08-14 19:00 PDT "2x31", -- 2018-08-16 19:00 PDT "TM2x31",-- 2018-08-21 19:00 PDT "2x32", -- 2018-08-23 19:00 PDT "TM2x32",-- 2018-08-28 19:00 PDT "OSx23", -- 2018-08-31 19:00 PDT "2x33", -- 2018-09-06 19:00 PDT "TM2x33",-- 2018-09-11 19:00 PDT "2x34", -- 2018-09-13 19:00 PDT "TM2x34",-- 2018-09-18 19:00 PDT "2x35", -- 2018-09-20 19:00 PDT "OSx24", -- 2018-09-21 19:00 PDT "TM2x35",-- 2018-09-25 19:00 PDT "2x36", -- 2018-09-27 19:00 PDT "TM2x36",-- 2018-10-02 19:00 PDT "2x37", -- 2018-10-04 19:00 PDT "TM2x37",-- 2018-10-09 19:00 PDT "2x38", -- 2018-10-11 19:00 PDT "TM2x38",-- 2018-10-16 19:00 PDT "2x39", -- 2018-10-18 19:00 PDT "TM2x39",-- 2018-10-23 19:00 PDT "OSx25", -- 2018-10-25 19:00 PDT "TMOSx25",-- 2018-10-30 19:00 PDT "2x40", -- 2018-11-01 19:00 PDT "TM2x40",-- 2018-11-06 19:00 PST "2x41", -- 2018-11-08 19:00 PST "TM2x41",-- 2018-11-13 19:00 PST "2x42", -- 2018-11-15 19:00 PST "TM2x42",-- 2018-11-20 19:00 PST "OSx26", -- 2018-11-23 19:00 PST "Mx07", -- 2018-11-27 19:00 PST "2x43", -- 2018-11-29 19:00 PST "TM2x43",-- 2018-12-04 19:00 PST "2x44", -- 2018-12-06 19:00 PST "TM2x44",-- 2018-12-11 19:00 PST "2x45", -- 2018-12-13 19:00 PST "TM2x45",-- 2018-12-18 19:00 PST "2x46", -- 2018-12-20 19:00 PST "OSx27", -- 2018-12-21 19:00 PST "TM2x46",-- 2019-01-08 19:00 PST "2x47", -- 2019-01-10 19:00 PST "TM2x47",-- 2019-01-15 19:00 PST "2x48", -- 2019-01-17 19:00 PST "TM2x48",-- 2019-01-22 19:00 PST "2x49", -- 2019-01-24 19:00 PST "TM2x49",-- 2019-01-29 19:00 PST "2x50", -- 2019-01-31 19:00 PST "TM2x50",-- 2019-02-05 19:00 PST "2x51", -- 2019-02-14 19:00 PST "TM2x51",--2019-02-19 19:00 PST "2x52", -- 2019-02-21 19:00 PST "OSx28", -- 2019-02-22 19:00 PST "TM2x52",--2019-02-26 19:00 PST "2x53", -- 2019-02-28 19:00 PST "TM2x53",--2019-03-05 19:00 PST "2x54", -- 2019-03-07 19:00 PST "TM2x54",--2019-03-12 19:00 PDT "2x55", -- 2019-03-14 19:00 PDT "TM2x55",--2019-03-19 19:00 PDT "2x56", -- 2019-03-21 19:00 PDT "TM2x56",--2019-03-26 19:00 PDT "2x57", -- 2019-04-04 19:00 PDT "TM2x57",--2019-04-09 19:00 PDT "2x58", -- 2019-04-11 19:00 PDT "TM2x58",--2019-04-16 19:00 PDT "2x59", -- 2019-04-18 19:00 PDT "TM2x59",--2019-04-23 19:00 PDT "2x60", -- 2019-04-25 19:00 PDT "TM2x60",--2019-04-30 19:00 PDT "2x61", -- 2019-05-02 19:00 PDT "TM2x61",--2019-05-07 19:00 PDT "2x62", -- 2019-05-09 19:00 PDT "TM2x62",--2019-05-14 19:00 PDT "2x63", -- 2019-05-16 19:00 PDT "TM2x63",--2019-05-21 19:00 PDT "OSx29", -- 2019-05-23 10:00 PDT "2x64", -- 2019-05-23 19:00 PDT "TM2x64",--2019-05-28 19:00 PDT "2x65", -- 2019-05-30 19:00 PDT "OSx30", -- 2019-05-31 19:00 PDT "TM2x65",--2019-06-04 19:00 PDT "2x66", -- 2019-06-06 19:00 PDT "TM2x66",--2019-06-11 19:00 PDT "2x67", -- 2019-06-13 19:00 PDT "TM2x67",--2019-06-18 19:00 PDT "2x68", -- 2019-06-20 19:00 PDT "OSx31", -- 2019-06-21 19:00 PDT "TM2x68",--2019-06-27 19:00 PDT "2x69", -- 2019-06-29 19:00 PDT "TM2x69",--2019-07-09 19:00 PDT "2x70", -- 2019-07-11 19:00 PDT "TM2x70",--2019-07-16 19:00 PDT "2x71", -- 2019-07-18 19:00 PDT "TM2x71",--2019-07-24 19:00 PDT "2x72", -- 2019-07-25 19:00 PDT "OSx32", -- 2019-07-29 19:00 PDT "TM2x72",--2019-07-30 19:00 PDT "2x73", -- 2019-08-02 16:00 PDT "TM2x73",--2019-08-06 19:00 PDT "2x74", -- 2019-08-08 19:00 PDT "TM2x74",--2019-08-13 19:00 PDT "2x75", -- 2019-08-15 19:00 PDT "TM2x75",--2019-08-20 19:00 PDT "2x76", -- 2019-08-22 19:00 PDT "OSx33", -- 2019-08-29 19:00 PDT "2x77", -- 2019-09-05 19:00 PDT "TM2x77",--2019-09-10 19:00 PDT "2x78", -- 2019-09-19 19:00 PDT "TM2x78",--2019-09-24 19:00 PDT "2x79", -- 2019-09-26 19:00 PDT "TM2x79",--2019-10-01 19:00 PDT "OSx34", -- 2019-10-03 19:00 PDT "2x80", -- 2019-10-10 19:00 PDT "TM2x80",--2019-10-15 19:00 PDT "2x81", -- 2019-10-17 19:00 PDT "Ux01", -- 2019-10-18 19:00 PDT "TM2x81",--2019-10-21 19:00 PDT "2x82", -- 2019-10-24 19:00 PDT "Ux02", -- 2019-10-25 19:00 PDT "TM2x82",--2019-10-29 19:00 PDT "2x83", -- 2019-10-31 19:00 PDT "Ux03", -- 2019-11-01 19:00 PDT "TM2x83",--2019-11-05 19:00 PST "2x84", -- 2019-11-07 19:00 PST "TM2x84",--2019-11-12 19:00 PST "2x85", -- 2019-11-14 19:00 PST "Ux04", -- 2019-11-15 19:00 PDT "TM2x85",--2019-11-19 19:00 PST "2x86", -- 2019-11-21 19:00 PST "TM2x86",--2019-11-26 19:00 PST "OSx35", -- 2019-11-29 19:00 PST "2x87", -- 2019-12-05 19:00 PST "TM2x87",--2019-12-10 19:00 PST "2x88", -- 2019-12-12 19:00 PST "TM2x88",--2019-12-17 19:00 PST "Mx08", -- 2019-12-18 17:00 PST "2x89", -- 2019-12-19 19:00 PST "2x90", -- 2020-01-09 19:00 PST "TM2x90",--2020-01-14 19:00 PST "2x91", -- 2020-01-16 19:00 PST "TM2x91",--2020-01-21 19:00 PST "2x92", -- 2020-01-23 19:00 PST "TM2x92",--2020-01-28 19:00 PST "2x93", -- 2020-01-30 19:00 PST "TM2x93",--2020-02-04 19:00 PST "2x94", -- 2020-02-06 19:00 PST "TM2x94",--2020-02-11 19:00 PST "2x95", -- 2020-02-13 19:00 PST "OSx36", -- 2020-02-14 19:00 PST "TM2x95",--2020-02-18 19:00 PST "2x96", -- 2020-02-20 19:00 PST "TM2x96",--2020-02-25 19:00 PST "2x97", -- 2020-02-27 19:00 PST "TM2x97",--2020-03-03 19:00 PST "2x98", -- 2020-03-05 19:35 PST "TM2x98",--2020-03-10 19:00 PDT "2x99", -- 2020-03-12 19:00 PDT "OSx37", -- 2020-03-16 19:00 PDT "Mx09", -- 2020-03-25 19:00 PDT "2x100",-- 2020-07-02 19:00 PDT "2x101",-- 2020-07-09 19:00 PDT "2x102",-- 2020-07-16 19:00 PDT "2x103",-- 2020-07-23 19:00 PDT "2x104",-- 2020-07-30 19:00 PDT "2x105",-- 2020-08-06 19:00 PDT "2x106",-- 2020-08-13 19:00 PDT "2x107",-- 2020-08-27 19:00 PDT "2x108",-- 2020-09-03 19:00 PDT "2x109",-- 2020-09-10 19:00 PDT "TM2x109",--2020-09-15 19:00 PDT "2x110",-- 2020-09-17 19:00 PDT "2x111",-- 2020-09-24 19:00 PDT "TM2x111a",--2020-09-29 19:00 PDT "TM2x111b",--2020-10-13 19:00 PDT "2x112",-- 2020-10-15 19:00 PDT "2x113",-- 2020-10-22 19:00 PDT "TM2x113",--2020-10-27 19:00 PDT "2x114",-- 2020-10-29 19:00 PDT "2x115",-- 2020-11-05 19:00 PST "TM2x115",--2020-11-10 19:00 PST "2x116",-- 2020-11-12 19:00 PST "2x117",-- 2020-11-18 19:00 PST "2x118",-- 2020-12-03 19:00 PST "2x119",-- 2020-12-10 19:00 PST "TM2x119",--2020-12-15 19:00 PST "2x120",-- 2020-12-17 19:00 PST "2x121",-- 2021-01-14 19:00 PST "TM2x121",--2021-01-19 19:00 PST "2x122",-- 2021-01-21 19:00 PST "2x123",-- 2021-01-28 19:00 PST "TM2x123",--2021-02-02 19:00 PST "2x124",-- 2021-02-04 19:00 PST "2x125",-- 2021-02-11 19:00 PST "TM2x125",--2021-02-16 19:00 PST "2x126",-- 2021-02-18 19:00 PST "OSx38", -- 2021-02-20 14:05 PST "2x127",-- 2021-02-25 19:00 PST "TM2x127",--2021-03-02 19:00 PST "2x128",-- 2021-03-04 19:00 PST "2x129",-- 2021-03-11 19:00 PST "TM2x129",--2021-03-16 19:00 PDT "2x130",-- 2021-03-18 19:00 PDT "2x131",-- 2021-03-25 19:00 PDT "TM2x131",--2021-03-30 19:00 PDT "2x132",-- 2021-04-01 19:00 PDT "2x133",-- 2021-04-08 19:00 PDT "TM2x133",--2021-04-13 19:00 PDT "2x134",-- 2021-04-15 19:00 PDT "2x135",-- 2021-04-22 19:00 PDT "TM2x135",--2021-04-27 19:00 PDT "2x136",-- 2021-04-29 19:00 PDT "2x137",-- 2021-05-06 19:00 PDT "TM2x137",--2021-05-11 19:00 PDT "2x138",-- 2021-05-13 19:00 PDT "2x139",-- 2021-05-20 19:00 PDT "OSx39", -- 2021-05-24 19:00 PDT "TM2x139",--2021-05-25 19:00 PDT "2x140",-- 2021-05-27 19:00 PDT "2x141",-- 2021-06-03 19:00 PDT "Mx10", -- 2021-06-18 19:00 PDT "OSx40", -- 2021-06-19 19:00 PDT "E1x01", -- 2021-06-24 19:00 PDT "E1x02", -- 2021-07-01 19:00 PDT "E1x03", -- 2021-07-08 19:00 PDT "E1x04", -- 2021-07-15 19:00 PDT "E1x05", -- 2021-07-22 19:00 PDT "E1x06", -- 2021-07-29 19:00 PDT "E1x07", -- 2021-08-05 19:00 PDT "E1x08", -- 2021-08-12 19:00 PDT "OSx41", -- 2021-08-19 19:00 PDT "Mx11", -- 2021-08-26 19:00 PDT "OSx42", -- 2021-09-07 19:00 PDT "Mx12", -- 2021-10-13 11:00 PDT "3x01", -- 2021-10-21 19:00 PDT "OSx43", -- 2021-10-26 19:00 PDT "3x02", -- 2021-10-28 19:00 PDT "3x03", -- 2021-11-04 19:00 PDT "3x04", -- 2021-11-11 19:00 PST "3x05", -- 2021-11-18 19:00 PST "3x06", -- 2021-12-02 19:00 PST "3x07", -- 2021-12-09 19:00 PST "Mx13", -- 2021-12-14 10:00 PST "3x08", -- 2021-12-16 19:00 PST "3x09", -- 2022-01-06 19:00 PST "3x10", -- 2022-01-13 19:00 PST "3x11", -- 2022-01-20 19:00 PST "OSx44", -- 2022-01-27 19:00 PST "3x12", -- 2022-02-03 19:00 PST "3x13", -- 2022-02-10 19:00 PST "3x14", -- 2022-02-17 19:00 PST "OSx45", -- 2022-03-01 19:00 PST "3x15", -- 2022-03-03 19:00 PST "3x16", -- 2022-03-10 19:00 PST "3x17", -- 2022-03-17 19:00 PDT "3x18", -- 2022-03-24 19:00 PDT "OSx46", -- 2022-03-28 19:00 PDT "E2x01",-- 2022-03-31 19:00 PDT "E2x02",-- 2022-04-01 19:00 PDT "4SDx01",--2022-04-05 19:00 PDT "3x19", -- 2022-04-07 19:00 PDT "3x20", -- 2022-04-14 19:00 PDT "3x21", -- 2022-04-21 19:00 PDT "OSx47", -- 2022-04-28 19:00 PDT "4SDx02",--2022-05-03 19:00 PDT "3x22", -- 2022-05-05 19:00 PDT "3x23", -- 2022-05-12 19:00 PDT "3x24", -- 2022-05-19 19:00 PDT "E3x01",-- 2022-05-26 19:00 PDT "E3x02",-- 2022-06-02 19:00 PDT "4SDx03",--2022-06-07 19:00 PDT "E3x03",-- 2022-06-09 19:00 PDT "E3x04",-- 2022-06-16 19:00 PDT "OSx48", -- 2022-06-23 19:00 PDT "Mx14", -- 2022-06-28 19:00 PDT "3x25", -- 2022-06-30 19:00 PDT "4SDx04", -- 2022-07-05 19:00 PDT "3x26", -- 2022-07-07 19:00 PDT "Mx15", -- 2022-07-12 19:00 PDT "3x27", -- 2022-07-14 19:00 PDT "3x28", -- 2022-07-21 19:00 PDT "Mx16", -- 2022-07-28 "3x29", -- 2022-08-04 19:00 PDT "4SDx05", -- 2022-08-09 19:00 PDT "3x30", -- 2022-08-11 19:00 PDT "3x31", -- 2022-08-18 19:00 PDT "3x32", -- 2022-09-01 19:00 PDT "4SDx06", -- 2022-09-06 19:00 PDT "3x33", -- 2022-09-08 19:00 PDT "3x34", -- 2022-09-15 19:00 PDT "3x35", -- 2022-09-22 19:00 PDT "4SDx07", -- 2022-10-04 19:00 PDT "3x36", -- 2022-10-06 19:00 PDT "3x37", -- 2022-10-13 19:00 PDT "3x38", -- 2022-10-20 19:00 PDT "4SDx08", -- 2022-11-01 19:00 PDT "3x39", -- 2022-11-03 19:00 PDT "OSx49", -- 2022-11-08 19:00 PST "3x40", -- 2022-11-10 19:00 PST "OSx50", -- 2022-11-17 19:00 PST "OSx51", -- 2022-12-01 19:00 PST "4SDx09", -- 2022-12-06 19:00 PST "3x41", -- 2022-12-08 19:00 PST "3x42", -- 2022-12-15 19:00 PST "3x43", -- 2022-12-22 19:00 PST "4SDx10", -- 2023-01-03 19:00 PST "3x44", -- 2023-01-05 19:00 PST }   if order == "next" then epCode = p.nextEp(epArray, epCode) elseif order == "prev" then epCode = p.prevEp(epArray, epCode) end return frame:preprocess(epCode) end function p.nextEp(epArray, epCode) local index = 0 local i = 1; while epArray[i] do       if epArray[i] == epCode then index = i + 1 break end i = i + 1 end if epArray[index] then epCode = "" else epCode = "N/A" end return epCode end function p.prevEp(epArray, epCode) local index = 0 local i = 1; while epArray[i] do       if epArray[i] == epCode then index = i - 1 break end i = i + 1 end if epArray[index] then epCode = "" else epCode = "N/A" end return epCode end return p