0.89.0: Terra, Wild, Odyssey, Dark Files and Evidence identities
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -189,3 +189,74 @@ internal val ToonZDayParts get() = listOf(
|
||||
DayPart(6, 10, ToonZCore + ToonZSupporting), DayPart(10, 16, ToonZCore + ToonZSupporting), DayPart(16, 18, ToonZTeatime + ToonZCore),
|
||||
DayPart(18, 0, ToonZCore + ToonZSupporting), DayPart(0, 6, ToonZShows))
|
||||
internal val ToonZMixed get() = ToonZShows.toSet()
|
||||
|
||||
/** Terra, after Eden: natural history watched and understood. The animals and places are the story. */
|
||||
private val TerraLandmarks = listOf("Life on Earth", "The Living Planet", "The Trials of Life", "The Blue Planet", "Blue Planet II", "Planet Earth", "Planet Earth II", "Planet Earth III",
|
||||
"Frozen Planet", "Frozen Planet II", "The Life of Mammals", "The Life of Birds", "Life", "Life in the Undergrowth", "Life in Cold Blood", "Our Planet", "Seven Worlds, One Planet",
|
||||
"Dynasties (2018)", "Africa (2013)", "Wild Isles", "Prehistoric Planet", "The Green Planet", "Green Planet", "The Hunt", "A Perfect Planet", "Mammals (2024)", "Asia (2024)")
|
||||
private val TerraWider = listOf("Hostile Planet", "Wild China", "Wild Russia", "Nature's Great Events", "Night on Earth", "Tiny World", "Attenborough's Life in Colour",
|
||||
"Spy in the Wild", "Serengeti", "Eden: Untamed Planet", "Natural World", "Great Barrier Reef with David Attenborough", "Big Cat Diary")
|
||||
/** Names on the earlier list the library doesn't hold under those spellings, kept in case they turn up. */
|
||||
private val TerraEarlierNames = listOf("Our Planet II", "Dynasties", "Dynasties II", "Africa", "South Pacific", "Great Barrier Reef")
|
||||
internal val TerraShows get() = (TerraLandmarks + TerraWider + TerraEarlierNames).distinct()
|
||||
internal val TerraDayParts get() = listOf(
|
||||
DayPart(20, 22, TerraLandmarks, days = setOf(DayOfWeek.SUNDAY)),
|
||||
DayPart(6, 18, TerraShows), DayPart(18, 23, TerraLandmarks), DayPart(23, 6, TerraShows))
|
||||
|
||||
/** Wild: people meeting nature and surviving it. The presenters and participants are the story. */
|
||||
private val WildSurvival = listOf("Man vs. Wild", "Running Wild with Bear Grylls", "Survivorman", "Dual Survival", "Naked and Afraid", "Alone", "Survival with Ray Mears",
|
||||
"Bear Grylls: Mission Survive")
|
||||
private val WildEncounters = listOf("The Crocodile Hunter", "Crocodile Hunter Diaries", "River Monsters", "Monster Fish", "Dangerous Encounters with Brady Barr", "Wild Things with Dominic Monaghan",
|
||||
"Shark Week", "Whale Wars", "Wild Frank", "Running Wild with Bear Grylls: The Challenge", "Expedition Tiger", "Into the Wild Frontier")
|
||||
private val WildFrontier = listOf("Deadliest Catch", "Ice Road Truckers", "Swamp People", "Ax Men", "Lone Star Law", "Life Below Zero", "Mountain Men")
|
||||
internal val WildShows get() = (WildSurvival + WildEncounters + WildFrontier + "Dirty Jobs").distinct()
|
||||
internal val WildDayParts get() = listOf(
|
||||
// Late on Saturday, Dirty Jobs joins the dangerous jobs as an occasional surprise.
|
||||
DayPart(22, 6, WildFrontier + "Dirty Jobs", days = setOf(DayOfWeek.SATURDAY)),
|
||||
DayPart(6, 18, WildEncounters + WildSurvival), DayPart(18, 22, WildSurvival + listOf("The Crocodile Hunter", "River Monsters")),
|
||||
// Late is where the dangerous jobs live.
|
||||
DayPart(22, 6, WildFrontier))
|
||||
internal val WildMixed get() = WildShows.toSet() - setOf("Alone", "Expedition Tiger", "Running Wild with Bear Grylls: The Challenge")
|
||||
|
||||
/** Odyssey, after Discovery Science: space, science and engineering, with a weekend of human journeys. */
|
||||
private val OdysseySpace = listOf("Cosmos", "Cosmos: A Spacetime Odyssey", "Wonders of the Universe", "Wonders of the Solar System", "The Universe", "How the Universe Works",
|
||||
"Through the Wormhole", "The Sky at Night", "The Planets (2019)", "The Planets", "Wonders of Life", "Human Universe", "Forces of Nature with Brian Cox",
|
||||
"Brian Cox's Adventures in Space and Time", "Brian Cox: Life of a Universe", "When We Left Earth: The NASA Missions", "Apollo 11", "Horizon")
|
||||
private val OdysseyEngineering = listOf("Impossible Engineering", "Engineering the Impossible", "Extreme Engineering", "Megastructures", "Big Bigger Biggest", "How Do They Do It?",
|
||||
"James May's Man Lab", "Connections", "The Ascent of Man", "The Story of Maths", "Walking with Dinosaurs")
|
||||
/** The long-running series sit in one block each, so they complement the short landmark series rather than crowd them out. */
|
||||
private val OdysseyDisasters = listOf("Seconds from Disaster", "Air Crash Investigation", "Mayday", "The Universe", "How the Universe Works", "Walking with Dinosaurs")
|
||||
/** History and travel, kept to a weekend block of human exploration and historical journeys. */
|
||||
private val OdysseyJourneys = listOf("Civilisation", "Civilizations", "The World at War", "The Vietnam War", "The Civil War", "The Story of India", "Egypt's Lost Cities",
|
||||
"Rome's Greatest Battles", "Ancient Apocalypse", "Long Way Round", "Long Way Down", "Parts Unknown", "An Idiot Abroad", "Michael Palin's Himalaya", "Pole to Pole",
|
||||
"Around the World in 80 Days")
|
||||
/** A drama, so not factual. Kept on the list as Paul chose it, but in no block until it has a scripted-drama home or a special event. */
|
||||
private val OdysseyAwaitingHome = listOf("Band of Brothers")
|
||||
internal val OdysseyShows get() = (OdysseySpace + OdysseyEngineering + OdysseyDisasters + OdysseyJourneys + OdysseyAwaitingHome).distinct()
|
||||
internal val OdysseyDayParts get() = listOf(
|
||||
DayPart(14, 18, OdysseyJourneys, days = Weekend),
|
||||
// Reviewed suggestions (the "all" group) join the daytime.
|
||||
DayPart(6, 18, OdysseyEngineering + OdysseySpace - setOf("Horizon", "Through the Wormhole", "The Sky at Night"), group = "all"), DayPart(18, 23, OdysseySpace), DayPart(23, 6, OdysseyDisasters))
|
||||
internal val OdysseyMixed get() = setOf("The Universe", "How the Universe Works", "Horizon", "Impossible Engineering", "Engineering the Impossible", "Extreme Engineering", "Megastructures",
|
||||
"Big Bigger Biggest", "How Do They Do It?", "Seconds from Disaster", "Air Crash Investigation", "Mayday", "Through the Wormhole", "The Sky at Night", "Parts Unknown")
|
||||
|
||||
/** Dark Files: real crime by day, mysteries in the evening, the paranormal at night, and long-form case files at weekends. */
|
||||
private val DarkFilesCaseFiles = listOf("Making a Murderer", "The Staircase", "The Jinx", "The Keepers", "Wild Wild Country", "Conversations with a Killer: The Ted Bundy Tapes",
|
||||
"Night Stalker: The Hunt for a Serial Killer", "Don't F**k with Cats: Hunting an Internet Killer", "Crime Scene: The Vanishing at the Cecil Hotel", "Tiger King", "Who Killed Sara?",
|
||||
"Time: The Kalief Browder Story")
|
||||
internal val DarkFilesDayParts get() = listOf(
|
||||
DayPart(14, 18, DarkFilesCaseFiles, days = Weekend),
|
||||
DayPart(6, 18, DarkFilesCrime, group = "day"), DayPart(18, 21, DarkFilesMysteries, group = "evening"), DayPart(21, 6, DarkFilesParanormal, group = "late"))
|
||||
|
||||
/** Evidence, after Alibi: crime drama only. Procedurals by day, British detectives in the evening, darker drama late. */
|
||||
private val EvidenceProcedurals = listOf("CSI: Crime Scene Investigation", "NCIS", "CSI: Miami", "CSI: NY", "Law & Order", "Law & Order: Special Victims Unit", "Criminal Minds", "Bones",
|
||||
"Castle", "The Mentalist", "Monk", "Hawaii Five-0", "Blue Bloods")
|
||||
private val EvidenceDetectives = listOf("Midsomer Murders", "Inspector Morse", "Lewis", "Vera", "A Touch of Frost", "Dalziel and Pascoe", "Taggart", "Death in Paradise", "Columbo")
|
||||
private val EvidenceDark = listOf("Luther", "Line of Duty", "Happy Valley", "Broadchurch", "Dexter", "The Wire", "Silent Witness", "Waking the Dead", "Sherlock")
|
||||
private val EvidenceSundayMystery = listOf("Inspector Morse", "Lewis", "A Touch of Frost", "Midsomer Murders", "Vera", "Columbo", "Sherlock")
|
||||
internal val EvidenceShows get() = (EvidenceProcedurals + EvidenceDetectives + EvidenceDark).distinct()
|
||||
internal val EvidenceDayParts get() = listOf(
|
||||
DayPart(20, 22, EvidenceSundayMystery, days = setOf(DayOfWeek.SUNDAY)),
|
||||
DayPart(6, 18, EvidenceProcedurals + listOf("Columbo"), group = "all"), DayPart(18, 21, EvidenceDetectives), DayPart(21, 1, EvidenceDark), DayPart(1, 6, EvidenceProcedurals))
|
||||
/** Serial dramas tell a story, so they stay in order. */
|
||||
internal val EvidenceMixed get() = EvidenceShows.toSet() - setOf("Line of Duty", "Broadchurch", "Happy Valley", "The Wire", "Dexter", "Luther", "Sherlock")
|
||||
|
||||
@@ -35,9 +35,7 @@ internal val ChannelPresets = listOf(
|
||||
ChannelPreset(605, "ToonZ", ToonZShows, smartOnly = true),
|
||||
ChannelPreset(604, "Rewind", RewindShows, smartOnly = true),
|
||||
ChannelPreset(603, "Orbit X", OrbitXShows, smartOnly = true),
|
||||
ChannelPreset(107, "Evidence", listOf("CSI: Crime Scene Investigation", "NCIS", "CSI: Miami", "CSI: NY", "Law & Order", "Law & Order: Special Victims Unit", "Criminal Minds", "Bones",
|
||||
"Castle", "The Mentalist", "Monk", "Columbo", "Midsomer Murders", "Vera", "Luther", "Line of Duty", "Taggart", "Silent Witness", "Waking the Dead", "A Touch of Frost", "Dexter", "Sherlock", "Broadchurch", "Death in Paradise", "Lewis", "Inspector Morse",
|
||||
"Dalziel and Pascoe", "Happy Valley", "The Wire", "Hawaii Five-0", "Blue Bloods"), smartOnly = true),
|
||||
ChannelPreset(107, "Evidence", EvidenceShows, smartOnly = true),
|
||||
ChannelPreset(204, "Dark Files", DarkFilesCrime + DarkFilesMysteries + DarkFilesParanormal, smartOnly = true),
|
||||
ChannelPreset(308, "Detour", listOf("American Pie", "American Pie 2", "American Wedding", "American Reunion", "Road Trip", "EuroTrip", "Harold & Kumar Go to White Castle", "Harold & Kumar Escape from Guantanamo Bay",
|
||||
"A Very Harold & Kumar Christmas", "The Hangover", "The Hangover Part II", "The Hangover Part III", "Van Wilder", "National Lampoon's Van Wilder", "Van Wilder: The Rise of Taj", "Van Wilder 2: The Rise of Taj", "Old School", "Sex Drive", "Accepted", "Superbad", "Pineapple Express",
|
||||
@@ -47,8 +45,7 @@ internal val ChannelPresets = listOf(
|
||||
"The Bank Job", "The Long Good Friday", "Human Traffic", "Twin Town", "Shallow Grave", "Four Lions", "Severance", "Attack the Block", "The Descent", "In Bruges", "Filth", "Calibre", "Sightseers", "Sweet Sixteen", "Withnail & I", "The Full Monty", "Billy Elliot", "Bend It Like Beckham", "Kes", "Get Carter", "The Italian Job", "Quadrophenia", "Scum", "Made in Britain", "Nil by Mouth", "Gangster No. 1", "Mean Machine", "Kidulthood", "Adulthood", "Harry Brown", "The Krays", "Legend", "Bronson", "Eden Lake", "Kill List", "A Field in England", "Fish Tank", "The Inbetweeners Movie", "The Inbetweeners 2", "Alan Partridge", "Monty Python and the Holy Grail", "Life of Brian", "Monty Python's The Meaning of Life", "Ratcatcher", "Control", "Cockneys vs Zombies", "The Guard", "Hunger", "Lock Up", "Rise of the Footsoldier: Part II", "St Trinian's", "Death at a Funeral", "Hot Fuzz", "Kingsman: The Golden Circle", "Brassed Off", "East Is East", "Secrets & Lies", "My Beautiful Laundrette", "Local Hero", "Gregory's Girl", "Rita, Sue and Bob Too", "Educating Rita", "Shirley Valentine", "The Wicker Man", "Pride", "Sing Street", "Starter for 10", "Tyrannosaur", "Wild Bill", "Yardie"), smartOnly = true, films = true),
|
||||
ChannelPreset(611, "Orbit Junior", listOf("Thomas the Tank Engine & Friends", "Thomas & Friends", "Fireman Sam", "Postman Pat", "Brum", "Rosie and Jim", "Bob the Builder", "Pingu", "Noddy", "Teletubbies", "Tweenies", "Tots TV",
|
||||
"Pingu in the City", "Peppa Pig", "Bluey", "Bagpuss", "The Clangers", "Camberwick Green", "Trumpton", "Button Moon", "Rainbow", "Balamory", "Fimbles"), smartOnly = true),
|
||||
ChannelPreset(203, "Orbit Wild", listOf("The Crocodile Hunter", "Crocodile Hunter Diaries", "Deadliest Catch", "River Monsters", "Man vs. Wild", "Running Wild with Bear Grylls", "Survivorman", "Dual Survival", "Naked and Afraid", "Ice Road Truckers",
|
||||
"Swamp People", "Wild Things with Dominic Monaghan", "Lone Star Law", "Alone", "Ax Men", "Monster Fish", "Dirty Jobs", "Shark Week", "Whale Wars", "Dangerous Encounters with Brady Barr"), smartOnly = true),
|
||||
ChannelPreset(203, "Orbit Wild", WildShows, smartOnly = true),
|
||||
ChannelPreset(102, "Orbit 2", Orbit2Shows, smartOnly = true),
|
||||
ChannelPreset(612, "Wonder", listOf("Snow White and the Seven Dwarfs", "Pinocchio", "Dumbo", "Bambi", "Cinderella", "Alice in Wonderland", "Peter Pan", "Lady and the Tramp", "Sleeping Beauty", "One Hundred and One Dalmatians", "The Jungle Book", "The Aristocats", "Robin Hood",
|
||||
"The Fox and the Hound", "The Little Mermaid", "Beauty and the Beast", "Aladdin", "The Lion King", "Pocahontas", "The Hunchback of Notre Dame", "Hercules", "Mulan", "Tarzan", "The Emperor's New Groove", "Atlantis: The Lost Empire", "Lilo & Stitch", "Treasure Planet", "Brother Bear", "The Princess and the Frog",
|
||||
@@ -62,7 +59,7 @@ internal val ChannelPresets = listOf(
|
||||
ChannelPreset(302, "Orbit Action", listOf("Die Hard", "Die Hard 2", "Die Hard with a Vengeance", "Lethal Weapon", "Lethal Weapon 2", "Commando", "Rambo: First Blood", "First Blood", "Rocky", "Cobra", "Tango & Cash", "Demolition Man", "Speed", "The Rock", "Con Air", "Face/Off", "Heat", "Point Break", "Bad Boys", "Enter the Dragon", "Rush Hour", "Police Story", "Bloodsport", "Kickboxer", "Under Siege", "Hard Target", "Mortal Kombat", "Blade", "John Wick", "John Wick: Chapter 2", "Taken", "The Raid", "Mad Max", "Mad Max 2", "Mad Max: Fury Road", "The Bourne Identity", "The Bourne Supremacy", "The Bourne Ultimatum", "Casino Royale", "GoldenEye", "Mission: Impossible", "Gladiator", "The Fast and the Furious", "The Transporter", "Crank", "Kill Bill: Vol. 1", "Kill Bill: Vol. 2", "The Expendables", "Dredd", "Sicario", "Léon: The Professional", "Live Free or Die Hard", "A Good Day to Die Hard", "Lethal Weapon 3", "Lethal Weapon 4", "Rambo: First Blood Part II", "Rambo III", "Rambo", "Rocky II", "Rocky III", "Rocky IV", "Creed", "Bad Boys II", "Rush Hour 2", "Rush Hour 3", "2 Fast 2 Furious", "Fast Five", "Furious 7", "John Wick: Chapter 3 - Parabellum", "John Wick: Chapter 4", "The Equalizer", "Man on Fire", "Taken 2", "Collateral", "Ronin", "Hard Boiled", "The Killer", "Drunken Master", "Project A", "The Way of the Dragon", "Fist of Fury", "The Big Boss", "Ong-Bak", "The Raid 2", "Escape Plan", "The Expendables 2", "Kingsman: The Secret Service", "Tomorrow Never Dies", "The World Is Not Enough", "Die Another Day", "Quantum of Solace", "Goldfinger", "Dr. No", "From Russia with Love", "Thunderball", "Licence to Kill", "The Living Daylights", "Mr. & Mrs. Smith", "Olympus Has Fallen", "London Has Fallen", "White House Down", "Air Force One", "Cliffhanger", "Passenger 57", "Timecop", "Universal Soldier", "Road House", "Crank"), smartOnly = true, films = true),
|
||||
ChannelPreset(307, "Orbit Romance", listOf("Pretty Woman", "When Harry Met Sally...", "Sleepless in Seattle", "You've Got Mail", "Notting Hill", "Four Weddings and a Funeral", "Love Actually", "Bridget Jones's Diary", "About Time", "Titanic", "Ghost", "Dirty Dancing", "The Notebook", "Crazy, Stupid, Love.", "10 Things I Hate About You", "She's All That", "Clueless", "The Holiday", "The Proposal", "Hitch", "Maid in Manhattan", "Runaway Bride", "My Best Friend's Wedding", "While You Were Sleeping", "Serendipity", "How to Lose a Guy in 10 Days", "13 Going on 30", "The Wedding Singer", "50 First Dates", "There's Something About Mary", "La La Land", "The Princess Diaries", "Mamma Mia!", "Grease", "Casablanca", "Roman Holiday", "Breakfast at Tiffany's", "Amélie", "Pride & Prejudice", "Sense and Sensibility", "Crazy Rich Asians", "Me Before You", "Forrest Gump", "Jerry Maguire", "Shakespeare in Love", "Moulin Rouge!", "Bridget Jones: The Edge of Reason", "Hope Floats", "Sweet Home Alabama", "The Wedding Planner", "Legally Blonde", "Miss Congeniality", "Never Been Kissed", "A Walk to Remember", "The Lake House", "P.S. I Love You", "Dear John", "Valentine's Day", "New Year's Eve", "He's Just Not That Into You", "27 Dresses", "Knocked Up", "Forgetting Sarah Marshall", "(500) Days of Summer", "Eternal Sunshine of the Spotless Mind", "Before Sunrise", "Before Sunset", "Sabrina", "An Officer and a Gentleman", "Top Hat", "Singin' in the Rain", "West Side Story", "My Fair Lady", "The Sound of Music", "Gone with the Wind", "City of Angels", "The Bodyguard", "French Kiss", "Green Card", "Working Girl", "Moonstruck", "Annie Hall", "Mamma Mia! Here We Go Again", "About a Boy", "Music and Lyrics", "Two Weeks Notice", "Just Like Heaven", "What Women Want", "Something's Gotta Give", "It's Complicated", "Easy A", "Love & Basketball", "The Best Man", "Pride and Prejudice", "Emma", "Atonement", "Brooklyn", "The Big Sick"), smartOnly = true, films = true),
|
||||
ChannelPreset(301, "Orbit Premiere", listOf("Jurassic Park", "The Lost World: Jurassic Park", "Raiders of the Lost Ark", "Indiana Jones and the Temple of Doom", "Indiana Jones and the Last Crusade", "Superman", "Batman", "Batman Returns", "Batman Begins", "The Dark Knight", "The Dark Knight Rises", "Spider-Man", "Spider-Man 2", "X-Men", "X2", "Iron Man", "The Avengers", "Avengers: Infinity War", "Avengers: Endgame", "Black Panther", "Guardians of the Galaxy", "The Lord of the Rings: The Fellowship of the Ring", "The Lord of the Rings: The Two Towers", "The Lord of the Rings: The Return of the King", "Harry Potter and the Philosopher's Stone", "Pirates of the Caribbean: The Curse of the Black Pearl", "Avatar", "Transformers", "Armageddon", "Twister", "Top Gun: Maverick", "The Mummy", "The Mask of Zorro", "Braveheart", "Skyfall", "Mission: Impossible - Fallout", "King Kong", "Godzilla", "Pacific Rim", "Wonder Woman", "Oppenheimer", "Spider-Man: No Way Home", "Deadpool", "Logan", "Captain America: The Winter Soldier", "Captain America: Civil War", "Thor: Ragnarok", "Guardians of the Galaxy Vol. 2", "Avengers: Age of Ultron", "Doctor Strange", "Spider-Man: Homecoming", "Spider-Man 3", "Jurassic World", "Jurassic Park III", "Man of Steel", "Aquaman", "X-Men: Days of Future Past", "X-Men: First Class", "Harry Potter and the Chamber of Secrets", "Harry Potter and the Prisoner of Azkaban", "Harry Potter and the Goblet of Fire", "Harry Potter and the Order of the Phoenix", "Harry Potter and the Half-Blood Prince", "Harry Potter and the Deathly Hallows: Part 1", "Harry Potter and the Deathly Hallows: Part 2", "Pirates of the Caribbean: Dead Man's Chest", "Pirates of the Caribbean: At World's End", "The Hobbit: An Unexpected Journey", "The Hobbit: The Desolation of Smaug", "The Hobbit: The Battle of the Five Armies", "Top Gun", "Mission: Impossible - Ghost Protocol", "Mission: Impossible - Rogue Nation", "The Mummy Returns", "Transformers: Revenge of the Fallen", "Transformers: Dark of the Moon", "World War Z", "I Am Legend", "Ready Player One", "Jumanji: Welcome to the Jungle", "National Treasure", "The Da Vinci Code", "Ocean's Eleven", "Ocean's Twelve", "Ocean's Thirteen", "Cast Away", "Spectre", "No Time to Die", "The Greatest Showman", "Saving Private Ryan", "Apollo 13", "The Fugitive", "Sherlock Holmes", "Inglourious Basterds", "The Revenant", "Dunkirk", "Joker", "Barbie"), smartOnly = true, films = true),
|
||||
ChannelPreset(202, "Odyssey", listOf("Cosmos", "Cosmos: A Spacetime Odyssey", "Wonders of the Universe", "Wonders of the Solar System", "The Universe", "How the Universe Works", "Civilisation", "Civilizations", "Connections", "The Ascent of Man", "The World at War", "Band of Brothers", "The Vietnam War", "The Civil War", "Apollo 11", "Horizon", "Seconds from Disaster", "Air Crash Investigation", "Mayday", "Engineering the Impossible", "Impossible Engineering", "Extreme Engineering", "Big Bigger Biggest", "Ancient Apocalypse", "Rome's Greatest Battles", "The Story of India", "Egypt's Lost Cities", "Long Way Round", "Long Way Down", "Parts Unknown", "An Idiot Abroad", "Michael Palin's Himalaya", "Pole to Pole", "Around the World in 80 Days", "James May's Man Lab", "The Story of Maths", "Walking with Dinosaurs"), smartOnly = true),
|
||||
ChannelPreset(202, "Odyssey", OdysseyShows, smartOnly = true),
|
||||
ChannelPreset(401, "Ring X", RingXMondayNight + RingXImpact + RingXAew + RingXVault, smartOnly = true))
|
||||
|
||||
/** A fallback for a channel with no old loop: its first episodes, in turn. Used only outside its plan. */
|
||||
|
||||
@@ -60,10 +60,8 @@ internal val SmartChannels = listOf(
|
||||
SuggestionRule("movie", "Movie Night", "Movie", listOf("Animation", "Action"), 1985..2015, 7f, setOf("NC-17", "X"), 30, setOf("Documentary", "Family"), 60),
|
||||
SuggestionRule("day", "Daytime", "Series", listOf("Animation", "Action"), 1985..2015, 7f, setOf("TV-MA"), 30),
|
||||
SuggestionRule("night", "Evening", "Series", listOf("Anime", "Action"), 1985..2020, 7f, setOf("TV-MA"), 30))),
|
||||
ChannelProgramming(201, "Terra", listOf("The Blue Planet", "Blue Planet II", "Planet Earth", "Planet Earth II", "Planet Earth III", "Frozen Planet", "Frozen Planet II",
|
||||
"Life on Earth", "The Living Planet", "The Trials of Life", "Our Planet", "Our Planet II", "Dynasties", "Dynasties II", "Seven Worlds, One Planet", "A Perfect Planet",
|
||||
"Hostile Planet", "Africa", "Wild China", "South Pacific", "Great Barrier Reef", "The Hunt", "The Life of Mammals", "The Life of Birds", "Nature's Great Events", "Green Planet", "Prehistoric Planet"),
|
||||
seriesCount = 20, finishTogether = true, exactTitles = true),
|
||||
// Reads every show on its list, as the other curated channels do. Its old limit of 20 dates from when the list was short.
|
||||
ChannelProgramming(201, "Terra", TerraShows, seriesCount = TerraShows.size, finishTogether = true, exactTitles = true, dayParts = TerraDayParts),
|
||||
ChannelProgramming(TOTS_NUMBER, "Tots", TotsShows, seriesCount = 40, finishTogether = true, exactTitles = true, dayParts = TotsDayParts, shuffleEpisodes = true),
|
||||
ChannelProgramming(106, "Paradox", ParadoxShows, seriesCount = 20, finishTogether = true, exactTitles = true, dayParts = ParadoxDayParts, shuffleTitles = ParadoxStandalones.toSet())) +
|
||||
ChannelPresets.filter { it.smartOnly }.map { ChannelProgramming(it.number, it.name, it.searches, seriesCount = if (it.films) it.searches.size else 60, finishTogether = !it.films, exactTitles = true,
|
||||
@@ -72,12 +70,12 @@ internal val SmartChannels = listOf(
|
||||
|
||||
/** Shows that play in a mixed order on channels whose identity is agreed. See ChannelIdentities.kt. */
|
||||
private val SmartChannelMixed: Map<Int, Set<String>> get() = mapOf(101 to Orbit1Mixed, 102 to Orbit2Mixed, 103 to ThreeMixed, 104 to GoldMixed, 105 to RiotMixed,
|
||||
602 to HeroesMixed, 603 to OrbitXMixed, 604 to RewindMixed, 605 to ToonZMixed)
|
||||
602 to HeroesMixed, 603 to OrbitXMixed, 604 to RewindMixed, 605 to ToonZMixed,
|
||||
203 to WildMixed, 202 to OdysseyMixed, 107 to EvidenceMixed)
|
||||
|
||||
/** Dark Files, from the programming bible: crime by day, mysteries early evening, the paranormal late. */
|
||||
private val SmartChannelParts: Map<Int, List<DayPart>> get() = mapOf(101 to Orbit1DayParts, 102 to Orbit2DayParts, 103 to ThreeDayParts, 104 to GoldDayParts, 105 to RiotDayParts,
|
||||
602 to HeroesDayParts, 603 to OrbitXDayParts, 604 to RewindDayParts, 605 to ToonZDayParts, 204 to listOf(
|
||||
DayPart(6, 18, DarkFilesCrime, group = "day"), DayPart(18, 21, DarkFilesMysteries, group = "evening"), DayPart(21, 6, DarkFilesParanormal, group = "late")),
|
||||
602 to HeroesDayParts, 603 to OrbitXDayParts, 604 to RewindDayParts, 605 to ToonZDayParts, 204 to DarkFilesDayParts, 203 to WildDayParts, 202 to OdysseyDayParts, 107 to EvidenceDayParts,
|
||||
// Ring X, from the bible: each weeknight's own show, and the whole vault the rest of the week.
|
||||
401 to listOf(DayPart(0, 24, RingXMondayNight, days = setOf(java.time.DayOfWeek.MONDAY)), DayPart(0, 24, RingXImpact, days = setOf(java.time.DayOfWeek.TUESDAY)),
|
||||
DayPart(0, 24, RingXAew, days = setOf(java.time.DayOfWeek.WEDNESDAY))))
|
||||
|
||||
@@ -66,7 +66,7 @@ internal class HttpsEmbyTransport(internal val deviceId: String = UUID.randomUUI
|
||||
connection.connectTimeout = 10_000
|
||||
connection.readTimeout = request.readTimeoutMs ?: if (request.path == "/Sessions/Logout") 5_000 else 15_000
|
||||
connection.setRequestProperty("Accept", "application/json")
|
||||
connection.setRequestProperty("X-Emby-Authorization", "Emby Client=\"Orbit TV\", Device=\"Orbit TV\", DeviceId=\"$deviceId\", Version=\"0.88.0\"")
|
||||
connection.setRequestProperty("X-Emby-Authorization", "Emby Client=\"Orbit TV\", Device=\"Orbit TV\", DeviceId=\"$deviceId\", Version=\"0.89.0\"")
|
||||
request.token?.let { connection.setRequestProperty("X-Emby-Token", it) }
|
||||
if (request.method == "POST") {
|
||||
val bytes = request.body.orEmpty().toByteArray(Charsets.UTF_8)
|
||||
|
||||
@@ -33,7 +33,7 @@ internal class SecureMediaDataSource(private val session: EmbySampleSession) : B
|
||||
next.instanceFollowRedirects = false
|
||||
next.connectTimeout = 10_000
|
||||
next.readTimeout = 20_000
|
||||
next.setRequestProperty("User-Agent", "OrbitTV/0.88.0")
|
||||
next.setRequestProperty("User-Agent", "OrbitTV/0.89.0")
|
||||
next.setRequestProperty("Accept-Encoding", "identity")
|
||||
session.mediaHeaders(address).forEach { (key, value) -> next.setRequestProperty(key, value) }
|
||||
if (dataSpec.position != 0L || dataSpec.length != C.LENGTH_UNSET.toLong()) {
|
||||
|
||||
Reference in New Issue
Block a user