Last active
October 12, 2023 21:37
-
-
Save JonnyWong16/bafa266c7ce4a1dbd6d715132a502c03 to your computer and use it in GitHub Desktop.
Rename Masterclass seasons in Plex with summary.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Description: Rename season title for TV shows on Plex. | |
# Author: /u/SwiftPanda16 | |
# Requires: plexapi | |
from plexapi.server import PlexServer | |
### EDIT SETTINGS ### | |
PLEX_URL = "http://localhost:32400" | |
PLEX_TOKEN = "xxxxxxxxxx" | |
TV_SHOW_LIBRARY = "TV Shows" | |
TV_SHOW_NAME = "Masterclass" | |
SEASON_MAPPINGS = { | |
"Season 1": [ | |
"James Patterson Teaches Writing", | |
"James Patterson, the author of 19 consecutive No. 1 New York Times bestsellers, reveals his tricks of the trade for the very first time. In this course, he guides you through every part of the book writing process." | |
], | |
"Season 2": [ | |
"Usher Teaches The Art Of Performance", | |
"Usher, winner of 8 Grammy Awards, reveals the technical skills, career lessons and breakthrough advice that he has used to captivate audiences for over 25 years. For the first time ever, learn how Usher approaches performance and wins over audiences from the studio to the stage. There has never been a class like this before." | |
], | |
"Season 3": [ | |
"Annie Leibovitz Teaches Photography", | |
"Annie was the first woman to be named chief photographer at Rolling Stone and the last person to take a portrait of John Lennon. In her first online class, Annie shows us that what makes a picture stunning isn't the gear or technology—it's the story. Annie teaches you her philosophy on photography—how to develop concepts, work with subjects, shoot with natural light, and bring images to life in post-production. See the world through her eyes." | |
], | |
"Season 4": [ | |
"Serena Williams Teaches Tennis", | |
"Serena Williams, the world's #1 ranked women's tennis player and winner of 23 Grand Slam singles titles, teaches you tennis and reveals the secrets of her game. This is as close as you can get to a private lesson with one of the world's greatest tennis players." | |
], | |
"Season 5": [ | |
"Christina Aguilera Teaches Singing", | |
"Christina teaches you how to expand your range, find your voice, and master the techniques that have earned her six Grammy Awards. You'll learn warm-up exercises, breath control, vibrato, her signature growls, and hear Christina break down her biggest hits. There has never been a singing class like this before." | |
], | |
"Season 6": [ | |
"Werner Herzog Teaches Filmmaking", | |
"When the legendary director Werner Herzog was 19, he stole a camera and made his first movie. 70 films and 50 awards later, Werner is teaching documentary and feature filmmaking. You'll learn storytelling, cinematography, locations, self-financing, documentary interview techniques, and how to bring your ideas to life. By the end, you'll make uncompromising films." | |
], | |
"Season 7": [ | |
"Aaron Sorkin Teaches Screenwriting", | |
"Aaron Sorkin wrote his first movie on cocktail napkins. Those napkins turned into A Few Good Men, starring Jack Nicholson. Now, the Academy Award winning writer of The West Wing and The Social Network is teaching screenwriting. You'll learn his rules of storytelling, dialogue, character development, and what makes a script actually sell. By the end, you'll write unforgettable screenplays." | |
], | |
"Season 8": [ | |
"Reba Mcentire Teaches Country Music", | |
"You know her songs. Her Oklahoma charm. Now learn directly from Reba in her first-ever online class. Join her as she records a never-before-heard song, creates a new acoustic version of Fancy, breaks down her hits, and delivers emotional performances on the stage of the Grand Ole Opry. This is more than a music class. This is Reba's life, business, and country music MasterClass." | |
], | |
"Season 9": [ | |
"Deadmau5 Teaches Electronic Music Production", | |
"Before he was deadmau5, all Joel wanted for Christmas was old toasters to take apart. Now, in his MasterClass, watch him take his music apart. Joel teaches you how he approaches melodies, mixing and mastering to make unique sounds you can't find in a cookie cutter sample pack. You'll get not only his lessons, you'll learn how to create your own music without spending money on million dollar gear." | |
], | |
"Season 10": [ | |
"Hans Zimmer Teaches Film Scoring", | |
"Hans Zimmer didn't see a film until he was 12 years old. Since then, he's scored over 150 films, including Inception, The Lion King, and The Dark Knight. In his MasterClass, the self-taught Academy Award winner teaches how he creates sounds from nothing, composes compelling character themes, and scores a movie before ever seeing it. By the end, you'll have everything you need to tell your story." | |
], | |
"Season 11": [ | |
"Gordon Ramsay Teaches Cooking", | |
"This is Gordon Ramsay like you've never experienced. The seven-star Michelin chef takes you into his home kitchen to learn everything from kitchen setup and buying the freshest ingredients to constructing unforgettable dishes. In this MasterClass, you're not just learning recipes, you're learning how to take your cooking to the next level." | |
], | |
"Season 12": [ | |
"Shonda Rhimes Teaches Writing For Television", | |
"When Shonda Rhimes pitched Grey's Anatomy she got so nervous she had to start over. Twice. Since then, she has created and produced TV's biggest hits. In her class, Shonda teaches you how to create compelling characters, write a pilot, pitch your idea, and stand out in the writers' room. You'll also get original pilot scripts, pitch notes, and series bibles from her shows. Welcome to Shondaland." | |
], | |
"Season 13": [ | |
"Frank Gehry Teaches Design And Architecture", | |
"At 19 years old, Frank Gehry was a truck driver taking sculpture classes at night school. His vision for what architecture could accomplish went on to reshape our cities' skylines, and the imaginations of artists and designers around the world. Now this master builder invites you into his never-before-seen model archive for a look into his creative process." | |
], | |
"Season 14": [ | |
"Steve Martin Teaches Comedy", | |
"One of Steve's first gigs was at the drive-in movies. When the audience liked a joke, they honked. In this class, Steve shares insights from performing for cars and humans over a 50-year career spanning sold-out arenas and blockbuster films. Learn how to find your voice, gather material, develop an act, and take your comedy to the next level." | |
], | |
"Season 15": [ | |
"David Mamet Teaches Dramatic Writing", | |
"David Mamet sat in on a poker game full of thieves and left with the inspiration for American Buffalo. Now, the Pulitzer Prize-winning writer of Glengarry Glen Ross takes you through his process for turning life's strangest moments into dramatic art. In his writing class, he'll teach you the rules of drama, the nuances of dialogue, and the skills to develop your own voice and create your masterpiece." | |
], | |
"Season 16": [ | |
"Diane Von Furstenberg Teaches Building A Fashion Brand", | |
"In her 20s, Diane convinced a textile factory owner in Italy to let her produce her first designs. With those samples, she flew to New York City to build one of the world's most iconic and enduring fashion brands. In her first online class, Diane teaches you how to build a brand. You'll learn how to create a visual identity, build loyalty, stay true to your vision, and launch your product." | |
], | |
"Season 17": [ | |
"Jane Goodall Teaches Conservation", | |
"There is still a window of time. Nature can win if we give her a chance. In her first ever online class, Dr. Jane Goodall teaches how you can conserve the environment. She also shares her research on the behavioral patterns of chimpanzees and what they taught her about conservation. You'll learn how to act locally and protect the planet." | |
], | |
"Season 18": [ | |
"Garry Kasparov Teaches Chess", | |
"At age 22, Garry Kasparov became the youngest world chess champion. After beating Bobby Fischer's peak rating, he outranked his fiercest competitors for over twenty years. Now, Garry is ready to share what made him a six-time World Chess Champion. Through detailed lessons, including his favorite openings and advanced tactics, you will develop the instincts and philosophy to become a stronger player." | |
], | |
"Season 19": [ | |
"Herbie Hancock Teaches Jazz", | |
"Herbie Hancock's jazz career started in his family's living room, listening to his favorite records and trying to play along. Now, he's one of the most celebrated musicians in the world. Join Herbie at the piano as he shares his approach to improvisation, composition, and harmony. Gain access to 10+ original piano transcriptions, including 5 exclusive solo performances." | |
], | |
"Season 20": [ | |
"Martin Scorsese Teaches Filmmaking", | |
"Martin Scorsese drew his first storyboard when he was eight. Today he's a legendary director whose films—from Mean Streets to The Wolf of Wall Street—have shaped movie history. In his first-ever online class, the Oscar winner teaches his approach to filmmaking, from storytelling to editing to working with actors. He deconstructs films and breaks down his craft, changing how you make—and watch—movies." | |
], | |
"Season 21": [ | |
"Judy Blume Teaches Writing", | |
"Judy Blume broke the rules. Her refreshingly honest children's books were banned by hundreds of libraries—and loved by generations of readers, who bought 85 million copies of classics like Are You There God? It's Me, Margaret and Superfudge. In her first online class, the award-winning author teaches you how to invent vivid characters, write realistic dialogue, and turn your experiences into stories people will treasure." | |
], | |
"Season 22": [ | |
"Samuel L Jackson Teaches Acting", | |
"As a kid, Samuel L. Jackson stuttered so badly that he stopped talking for almost a year. Today he's one of the world's most successful actors, with roles in over 100 films, including Pulp Fiction and The Avengers. For the first time, the Oscar nominated star teaches how he creates memorable characters, powerful performances, and a long-lasting career. Learn to master auditions, analyze scripts, and find the truth in every role you play." | |
], | |
"Season 23": [ | |
"Bob Woodward Teaches Investigative Journalism", | |
"Bob Woodward was just 29 when he changed a nation. His Watergate reporting with Carl Bernstein helped expose the corruption of the Nixon presidency. Two Pulitzer Prizes and nineteen best-selling books later, the legendary journalist is teaching his first-ever online class for anyone who wants to find the truth. Learn to investigate a story, interview sources, and understand how the news is written. The next history-making story might be yours." | |
], | |
"Season 24": [ | |
"Marc Jacobs Teaches Fashion Design", | |
"Marc Jacobs' infamous grunge collection got him fired. It also won him the CFDA Womenswear Designer of the Year Award. In his first online class, the 11-time CFDA Award-winning designer teaches his hands-on process for creating clothes that push boundaries and set trends. Learn Marc's construction techniques, how he creates unique shapes and silhouettes, and how you can develop your own ideas from the first sketch to the final piece." | |
], | |
"Season 25": [ | |
"Ron Howard Teaches Directing", | |
"Ron Howard made his first film in 22 days with $602,000. Today, his movies have grossed over $1.8 billion. In his first-ever online class, the Oscar-winning director of Apollo 13 and A Beautiful Mind decodes the craft of directing like never before. In lessons and on-set workshops, you'll learn how to evaluate ideas, work with actors, block scenes, and bring your vision to the screen—whether it's a laptop or an IMAX theater." | |
], | |
"Season 26": [ | |
"Helen Mirren Teaches Acting", | |
"Oscar, Golden Globe, Emmy, and Tony winner Helen Mirren is one of the greatest actresses of our time. In her first online class, she discusses the dualism that is core to her method: the necessity for mastering technique (craft) and then letting go so that your imagination can take over (art). Learn how to break down a script, research characters, and master techniques so you can transcend them to find freedom in every role." | |
], | |
"Season 27": [ | |
"Stephen Curry Teaches Shooting Ball Handling And Scoring", | |
"Stephen was barely recruited by college coaches. Today, he's a three-time champion and one of the best shooters in NBA history. Join Stephen on the court in his first-ever online class as he teaches you how to improve your shooting mechanics, and leads you through ball-handling, footwork, and scoring drills. Then see the game through Stephen's eyes as he analyzes NBA game footage to help you elevate your basketball IQ." | |
], | |
"Season 28": [ | |
"Wolfgang Puck Teaches Cooking", | |
"Legend has it Wolfgang Puck came up with his famous smoked salmon pizza when his restaurant ran out of bagels—and ended up changing the way America cooks. In his MasterClass, the five-time James Beard Award-winning chef behind more than 100 restaurants brings you into his kitchen. You'll learn not only how to master starters, mains, sides, and cocktails, but also how to take risks to create memorable recipes of your own." | |
], | |
"Season 29": [ | |
"Alice Waters Teaches The Art Of Home Cooking", | |
"Alice Waters started America's farm-to-table revolution. When she founded the iconic restaurant Chez Panisse, her local, organic ingredients sparked a movement—and earned her the James Beard Award for Outstanding Chef. In her first-ever online class, Alice opens the doors of her home kitchen to teach you how to pick seasonal ingredients, cook healthy and beautiful meals, and change your life by changing the food you make at home." | |
], | |
"Season 30": [ | |
"Thomas Keller Teaches Cooking Techniques", | |
"Thomas Keller is the only American-born chef to hold multiple Michelin three-star ratings. In his first online class, the chef behind The French Laundry teaches you how to master the fundamentals of cooking. Learn about handling kitchen tools, preparing foundational ingredients (like vegetables, eggs, and pasta), and the science behind cooking. Gain the skills—and confidence—that will help you execute recipes to perfection." | |
], | |
"Season 31": [ | |
"Armin Van Buuren Teaches Dance Music", | |
"Every week, Armin van Buuren puts 41 million listeners into A State of Trance on his radio show. In his first-ever online class, the platinum-selling DJ breaks down his hits—and builds a track from scratch—to show you how he produces, performs, and promotes dance music. You'll learn his technical process for using samples and plug-ins, mixing, recording vocals, and building a DJ set. Your crowd is waiting." | |
], | |
"Season 32": [ | |
"Malcolm Gladwell Teaches Writing", | |
"Ketchup. Crime. Quarterbacks. Thanks to Malcolm Gladwell, these ordinary subjects have helped millions of readers devour complex ideas like behavioral economics and performance prediction. Now, the renowned storyteller and best-selling author of Blink and The Tipping Point is teaching his craft online for the first time. Write stories that captivate by learning how Malcolm researches topics, crafts characters, and distills big ideas into simple, powerful narratives." | |
], | |
"Season 33": [ | |
"Judd Apatow Teaches Comedy", | |
"No joke: At age 15, Judd Apatow took a dishwashing job at a comedy club to watch the acts. Today, he's the comedic genius behind hits including The 40-Year-Old Virgin, Knocked Up, Bridesmaids, and Freaks and Geeks. In his first-ever online class, the Emmy Award winner teaches you how to create hilarious storylines, write great stand-up, and direct comedies that leave audiences laughing." | |
], | |
"Season 34": [ | |
"Chris Hadfield Teaches Space Exploration", | |
"Impossible things happen. At age nine, Chris Hadfield knew he wanted to go to space. He eventually went there three times, becoming a commander of the International Space Station. In his MasterClass, Chris teaches you what it takes to explore space and what the future holds for humans in the final frontier. Learn about the science of space travel, life as an astronaut, and how flying in space will forever change the way you think about living on Earth." | |
], | |
"Season 35": [ | |
"Spike Lee Teaches Filmmaking", | |
"Spike Lee didn't just direct his award-winning 1986 feature debut, She's Gotta Have It. He was also the writer, star, truck driver, location scout, electrician, and caterer—because that's what it took to get his film made. In his first-ever online class, the visionary behind Do the Right Thing, Malcolm X, and 25th Hour lets you in on his uncompromising approach to filmmaking. Learn about writing, self-producing, working with actors, and making movies that break down barriers." | |
], | |
"Season 36": [ | |
"R.L. Stine Teaches Writing For Young Audiences", | |
"Award-winning novelist R.L. Stine wrote jokes and funny stories for 20 years before he switched gears and became a horror-writing legend. Since then, the author of the Goosebumps and Fear Street series has sold more than 400 million copies. In his first-ever online class, Bob takes the fear out of fiction writing. Whether you're a beginner or a pro, you'll learn new ways to conquer writer's block, develop plots, and build nail-biting suspense that will thrill young readers." | |
], | |
"Season 37": [ | |
"Daniel Negreanu Teaches Poker", | |
"Put yourself across the felt from Daniel Negreanu—the biggest live tournament poker winner of all time. The six-time World Series of Poker champion teaches advanced theory and practice through hand-reviews of his winning games. Learn how to sharpen your mental game through demos on reading opponents and spotting tells. Join Daniel at the table to learn how to increase your win rate, grow your ROI, and get your game \"In the Money.\"" | |
], | |
"Season 38": [ | |
"Natalie Portman Teaches Acting", | |
"Natalie Portman began acting professionally at 12 and won an Oscar before she turned 30. As a self-taught actor, she uses personal techniques to create compelling, complex characters. In her first-ever acting class, Natalie shows how empathy is at the core of every great performance, how to bring real-life details into every role, and how to build your own creative process. Get ready for your breakout performance." | |
], | |
"Season 39": [ | |
"Margaret Atwood Teaches Creative Writing", | |
"Called the \"Prophet of Dystopia,\" Margaret Atwood is one of the most influential literary voices of our generation. In her first-ever online class, the author of The Handmaid's Tale teaches how she crafts compelling stories—from historical to speculative fiction—that remain timeless and relevant. Explore Margaret's creative process for developing ideas into novels with strong structures and nuanced characters." | |
], | |
"Season 40": [ | |
"Ken Burns Teaches Documentary Filmmaking", | |
"Since its 2017 debut, Ken Burns's The Vietnam War has enthralled over 39 million viewers by painting an intimate and revealing portrait of history. Learn how Ken captivates audiences with his ability to distill vast research and complex truths into compelling narratives. From first treatment to final edit, Ken teaches his documentary filmmaking techniques that \"wake the dead\" to bring their stories to life." | |
], | |
"Season 41": [ | |
"Gordon Ramsay Teaches Cooking Restaurant Recipes At Home", | |
"It's more than dinner, it's a dining experience. Gordon Ramsay returns with a second MasterClass to teach you how to prep, plate, and pair recipes that wow guests. With 13 restaurant-inspired dishes—designed to cook at home—you'll learn how to build elevated courses from appetizer to dessert using everyday ingredients." | |
], | |
"Season 42": [ | |
"Tom Morello Teaches Electric Guitar", | |
"Tom Morello is a two-time Grammy winner, and one of Rolling Stone's \"Greatest Guitarists of All Time.\" In his first online class, the co-founder of Rage Against the Machine will teach you the riffs, rhythms, and solos that launched his career and sent his music to the top of the charts. Tom will share his approach to making music that challenges the status quo, and teach you how to create your own musical style." | |
], | |
"Season 43": [ | |
"David Axelrod And Karl Rove Teach Campaign Strategy And Messaging", | |
"David Axelrod and Karl Rove reach across the aisle to offer an inside look at winning campaign strategies. The respective architects of Barack Obama's and George W. Bush's historic election victories teach how to develop a campaign platform and reach an audience with consistent messaging. Find the inspiration and tools to get involved at any level, or simply become a more informed, engaged citizen." | |
], | |
"Season 44": [ | |
"Paul Krugman Teaches Economics And Society", | |
"For Nobel Prize-winner Paul Krugman, economics is not a set of answers—it's a way of understanding the world. In his economics MasterClass, Paul teaches you the principles that shape political and social issues, including access to health care, the tax debate, globalization, and political polarization. Heighten your ability to read between the lines and decipher the underlying economics at play." | |
], | |
"Season 45": [ | |
"Dan Brown Teaches Writing Thrillers", | |
"Packed with secret symbols and high-stakes suspense, Dan Brown's thrillers have sold more than 250 million copies, including one of the world's best-selling novels, The Da Vinci Code. In his MasterClass, Dan unveils his step-by-step process for turning ideas into gripping narratives. Learn his methods for researching like a pro, crafting characters, and sustaining suspense all the way to a dramatic surprise ending." | |
], | |
"Season 46": [ | |
"Thomas Keller Teaches Cooking Techniques Meats Stocks And Sauces", | |
"As a follow-up to his first MasterClass, Chef Keller devotes his second class to beef, duck, chicken, pork, and veal—and the techniques he uses to prepare them. Learn to sauté, pan and oven roast, braise, fry, and grill, and to select the best cut of meat for each technique with confidence. Then, learn to make the stocks and sauces that are essentials in Chef Keller's restaurant kitchens." | |
], | |
"Season 47": [ | |
"Dominique Ansel Teaches French Pastry Fundamentals", | |
"Celebrated for his innovative twists on classic desserts, Cronut® creator and James Beard Award-winner Dominique Ansel has been called the \"World's Best Pastry Chef.\" In his MasterClass, Dominique teaches his essential techniques for perfect pastries. Learn his precise methods, add classic recipes to your repertoire, and explore texture and flavor inspirations to delight friends and family with your own decadent desserts." | |
], | |
"Season 48": [ | |
"Mira Nair Teaches Independent Filmmaking", | |
"Oscar-nominated filmmaker Mira Nair approaches directing with the \"heart of a poet and the skin of an elephant\"—spurred on by rejection and fighting to bring uncompromising stories to film. In the Golden Lion-winning director's MasterClass, learn to make a big impact on a small budget, evoke the best from actors and non-actors, and protect your creative vision so you tell the story that can only come from you." | |
], | |
"Season 49": [ | |
"Jimmy Chin Teaches Adventure Photography", | |
"Jimmy Chin has built his career taking photos at the top of the world, earning him the cover of National Geographic and multiple awards. Now he's taking you on location to teach you techniques for capturing breathtaking shots under high-stakes conditions. Learn his different creative approaches for commercial shoots, editorial spreads, and passion projects. Gather the gear—and the perspective—to bring your photography to new heights." | |
], | |
"Season 50": [ | |
"James Suckling Teaches Wine Appreciation", | |
"Called one of the \"world's most powerful wine critics,\" James Suckling has tasted more than 200,000 wines over the past 40 years. In his MasterClass, James tours legendary Tuscan vineyards and teaches you to explore the stories, history, and people behind every bottle. Deepen your knowledge of the properties in each sip, cultivate your passion, and choose, order, and pair wines with confidence." | |
], | |
"Season 51": [ | |
"Carlos Santana Teaches The Art And Soul Of Guitar", | |
"With 10 Grammys and almost 50 years on stage, Carlos teaches you his spiritual take on playing guitar. Learn how he weaves emotion, artistic expression, and musical styles from across the world to create a sound that transcends genre and connects with audiences. Join Carlos in his studio as he breaks down his process note by note—so you can discover the soul of your sound." | |
], | |
"Season 52": [ | |
"Will Wright Teaches Game Design And Theory", | |
"Learn the art and science of game design with Will Wright, the mind behind some of the most popular simulation games of all time—SimCity and The Sims. Will teaches you how to design games that empower players and unleash their creativity. You'll develop a toolset for understanding player psychology, as well as learn Will's approach to generating and pitching ideas, prototyping, playtesting, and building a community." | |
], | |
"Season 53": [ | |
"Jodie Foster Teaches Filmmaking", | |
"Go behind the scenes with two-time Oscar-winner Jodie Foster, star of Silence of the Lambs and director of Little Man Tate. In her first online class, she'll teach you how to bring your vision to life. Jodie brings her experience on both sides of the camera to guide you through every step of the filmmaking process, from storyboarding to casting and camera coverage. Everyone has a story. Learn how to tell yours." | |
], | |
"Season 54": [ | |
"Howard Schultz Leading A Values Based Business", | |
"Former Starbucks CEO Howard Schultz rose from a childhood in public housing to leading a company that revolutionized the way the world drinks coffee. With no formal business education, he relied on his values while growing a 13-store chain into a global brand with more than 250,000 employees. In his 90-minute video series, Howard shares what he's learned about values-based leadership and being an entrepreneur." | |
], | |
"Season 55": [ | |
"Neil Gaiman Teaches The Art Of Storytelling", | |
"Award-winning author Neil Gaiman has spent more than a quarter of a century crafting vivid, absorbing fiction. Now, the author of Stardust, Coraline, and The Sandman teaches his approach to imaginative storytelling. Learn how to find your unique voice, develop original ideas, and breathe life into your characters. Discover Neil's philosophy on what drives a story and open new windows to the stories inside you." | |
], | |
"Season 56": [ | |
"Timbaland Teaches Producing And Beatmaking", | |
"Grammy-winning music producer Timbaland takes you behind the boards to teach you his process for creating iconic tracks with artists like Jay-Z, Missy Elliott, Justin Timberlake, Beyonce, and Aaliyah. In his first-ever online class, learn how to collaborate with vocalists, layer new tracks, and create hooks that stick. Step into Timbalands studio and learn from one of the industrys most innovative hit makers." | |
], | |
"Season 57": [ | |
"David Lynch Teaches Creativity And Film", | |
"An avant-garde figure in filmmaking, David Lynch introduced mainstream audiences to art-house films. Now the Oscar-nominated director of Mulholland Drive teaches his cross-disciplinary creative process. Learn how he catches ideas, translates them into a narrative, and moves beyond formulaic storytelling. Embrace the art life in Davids MasterClass and learn to test the boundaries of your own artistic expression in any medium." | |
], | |
"Season 58": [ | |
"Billy Collins Teaches Reading And Writing Poetry", | |
"Known for his wit and wisdom, former U.S. Poet Laureate Billy Collins is one of Americas most beloved contemporary poets. In his MasterClass, Billy teaches you to appreciate the emotional pull of poetry. Learn his approach to exploring subjects, incorporating humor, and finding your voice. Discover the profound in the everyday, and let poetry lead you to the unexpected." | |
], | |
"Season 59": [ | |
"Penn And Teller Teach The Art Of Magic", | |
"With more than 40 years performing together, Penn & Teller have sold out shows around the world, earned a star on Hollywoods Walk of Fame, and created the longest-running headline act in Las Vegas. Now the legendary magicians are taking you behind the curtain. Learn fundamental magic tricks and the psychological tools that create amazement, at home or on stage. Expand your perception of the possible." | |
], | |
"Season 60": [ | |
"Aaron Franklin Teaches Texas Style BBQ", | |
"Once a backyard hobbyist, Aaron Franklin is now the James Beard Award-winning owner of Franklin Barbecue, where the line for his famous smoked brisket is hours long. Now the Central Texas barbecue specialist teaches you his meticulous low and slow process for mouth-watering ribs, pork butt, and brisket. With perfectly seasoned cuts and optimal temperatures, you'll learn to handle an offset smoker like a true pitmaster." | |
], | |
"Season 61": [ | |
"Phil Ivey Teaches Poker Strategy", | |
"At age 38, Phil Ivey became the youngest player to win 10 World Series of Poker bracelets. Now the man known for his enigmatic table presence and widely regarded as the world's best all-around poker player gives you unprecedented access to his mental game. Learn poker strategy, pick up new poker tips, and review hands with the player whos won more than $26 million in live tournament earnings." | |
], | |
"Season 62": [ | |
"Itzhak Perlman Teaches Violin", | |
"The worlds reigning virtuoso violin player, Itzhak Perlman performs for presidents, royals, and classical music lovers around the world. Now the beloved Juilliard instructor and 15-time Grammy Award winner brings his passion for teaching to a wide audience for the first time. Learn fundamental techniques, practice strategies, and how to add richness and depth to your sound. Give your most dynamic performance yet." | |
], | |
"Season 63": [ | |
"Massimo Bottura Teaches Modern Italian Cooking", | |
"Massimo Bottura, chef of the three-Michelin-star Osteria Francescana, treats his world-renowned restaurant as a laboratory of ideas. In his MasterClass, he shares how he transforms classic, regional Italian recipes into exciting modern dishes. Youll learn how to make rich, flavorful tagliatelle al rag, pumpkin risotto, and a MasterClass-exclusive Emilia Burger recipe. Develop your palate and embark on a culinary adventure." | |
], | |
"Season 64": [ | |
"David Baldacci Teaches Mystery And Thriller Writing", | |
"David Baldacci has captivated readers across the world with gripping, suspense-fueled thrillers. Now the New York Times bestselling author of 38 novels shares his techniques for crafting authentic characters, developing research-based plots, and navigating the world of publishing. Learn how to write a novel with red herrings, clues, and plot twists that will keep your readers turning the pages." | |
], | |
"Season 65": [ | |
"Joyce Carol Oates Teaches The Art Of The Short Story", | |
"The author of some of the most enduring fiction of our time, Joyce Carol Oates has published 58 novels and thousands of short stories, essays, and articles. Now the award-winning author and Princeton University creative writing professor teaches you how to tap into your storytelling instincts. Find ideas from your own experiences and perceptions, experiment with structure, and improve your craft, one sentence at a time." | |
], | |
"Season 66": [ | |
"Simone Biles Teaches Gymnastics Fundamentals", | |
"At 22, Simone Biles is already a legend. With 14 medals, including 10 gold, Simone is the most decorated World Championship American gymnast of all time. Now the Olympic gymnast: part of the gold-medal-winning USA gymnastics \"Final Five\" breaks down her techniques for vault, uneven bars, balance beam, and floor. Discover how Simone performs under pressure, learn to practice like a champion, and claim your competitive edge." | |
], | |
"Season 67": [ | |
"Anna Wintour Teaches Creativity And Leadership", | |
"A fashion and media icon, Anna Wintour has been driving our cultural conversation for more than 30 years. The Vogue Editor-in-Chief and Artistic Director of Conde Nast takes off her signature sunglasses and gives you unprecedented access to her world. See how Anna nurtures talent, makes bold decisions, and evolves a brand. Learn how to lead with impact from a visionary creative leader." | |
], | |
"Season 68": [ | |
"Thomas Keller Teaches Cooking Techniques III: Seafood Sous Vide And Desserts", | |
"In his third MasterClass, Chef Thomas Keller focuses on preparing fresh seafood like lobster and salmon, making classic desserts such as apple pie and lemon tart, and showing how sous vide cooking can be done at home to enhance flavor and texture. Whether youre a beginning or advanced cook, youll learn the techniques and principles that will give you the understanding and skills to get the most delicious results." | |
], | |
"Season 69": [ | |
"Danny Elfman Teaches Music For Film", | |
"From The Simpsons theme to the soundtracks of Tim Burtons Pee-wees Big Adventure and The Nightmare Before Christmas, Danny Elfmans compositions are original, memorable, and exuberantly weird. Now the Oingo Boingo founder and four-time Oscar nominee shares his unconventional (and uncensored) creative process. Step into Dannys studio and learn his techniques for evoking emotion and elevating a story through music." | |
], | |
"Season 70": [ | |
"Sara Blakely Teaches Self Made Entrepreneurship", | |
"With little more than an idea and a drive to find her way, Sara Blakely went from selling fax machines door-to-door to becoming the worlds youngest female self-made billionaire in 2012. Now the inventor, entrepreneur, and founder of Spanx teaches you to open doors and close deals. Learn Saras customer-first approach and her tactics for prototyping, branding and building awareness, and bootstrapping your way to success." | |
], | |
"Season 71": [ | |
"Bob Iger Teaches Business Strategy And Leadership", | |
"In an era of disruption, Disney CEO Bob Iger led one of the world's most beloved brands to unprecedented success with the acquisitions of Pixar, Marvel, and Lucasfilm. Now, through case studies and lessons from 45 years in media, Bob teaches you how to evolve your business and career. Learn Bob's strategies for expanding a brand, leading with integrity, and making big moves - from risk management to the art of negotiation." | |
], | |
"Season 72": [ | |
"Doris Kearns Goodwin Teaches Us Presidential History And Leadership", | |
"For more than 50 years, historian Doris Kearns Goodwin has studied great American presidents. Now the Pulitzer Prize winner teaches you leadership through the lens of U.S. presidential history. With timeless stories of Lincoln, Teddy Roosevelt, FDR, and LBJ, Doris shares practical wisdom and a template for honing leadership skills. Manage a crisis, craft a message, and guide a team like extraordinary leaders of the past." | |
], | |
"Season 73": [ | |
"Bobbi Brown Teaches Makeup And Beauty", | |
"Bobbi Browns philosophy is that makeup should be quick and natural, and it should enhance who you are. A beauty industry icon, Bobbi shares her expertise in step-by-step tutorials, using models with a range of skin tones. Youll learn how to choose the right foundation, do a smoky eye and a statement lip, and take your look from day to night. But most of all, youll learn how to feel confident in your own skin." | |
], | |
"Season 74": [ | |
"Misty Copeland Teaches Ballet Technique And Artistry", | |
"As the first African American female principal dancer with American Ballet Theatre, Misty Copeland made history. Now shes one of the worlds most influential dancers, and shes inviting you to the barre to develop a deeper appreciation for ballet and the language of dance. From plies to partners, Misty demonstrates her techniques and teaches you to own your movement, own who you are, and do the dance only you can do." | |
], | |
"Season 75": [ | |
"David Sedaris Teaches Storytelling And Humor", | |
"With essays in The New Yorker, bestselling books like Calypso, tours, and readings on NPR, David Sedaris is one of the most recognizable essayists alive. Now he teaches you the art of personal storytelling. Learn how David crafts attention-grabbing openings, satisfying endings, and meaning from the mundane and how he uses humor to connect with others and process the difficult and sometimes dark aspects of everyday life." | |
], | |
"Season 76": [ | |
"Chris Voss Teaches The Art Of Negotiation", | |
"As an FBI hostage negotiator, Chris Voss persuaded terrorists, bank robbers, and kidnappers to see things his way. Now hes teaching you his field-tested strategies to help you in everyday negotiations, whether youre aiming to improve your salary, the service you receive, or your relationships. Get stronger communication skills, game-changing insights into human nature, and more of what you want out of life." | |
], | |
"Season 77": [ | |
"Neil Degrasse Tyson Teaches Scientific Thinking And Communication", | |
"With a hit talk show and bestselling books, Neil deGrasse Tyson is one of the most popular figures in modern science. Now the influential astrophysicist teaches you how his mind works and how he connects with audiences. Learn to think like a skeptic, open your own mind through scientific literacy, distill data, and navigate bias to discover objective truths and deliver your ideas in ways that engage, excite, and inspire." | |
], | |
"Season 78": [ | |
"Gabriela Cámara Teaches Mexican Cooking", | |
"A \"star of modern Mexican cuisine,\" Gabriela Cámara brings her local, sustainable twist to time-honored traditions. Now the chef of Contramar shares the richness of her culture through the art of food. Learn step-by-step recipes—for dishes of her own design, like tuna tostadas, and staples like tacos al pastor, salsa, and tortillas—and delight loved ones with your own delicious renditions of Mexican favorites." | |
], | |
"Season 79": [ | |
"Dustin Hoffman Teaches Acting", | |
"Learn Dustin's Method - Dustin Hoffman believes that every great character is already inside you—the hard part is learning to access them. In his first ever online class, the two-time Academy Award winning star of The Graduate, Tootsie, and Rain Man teaches you everything he's learned during his 50 year acting career." | |
], | |
"Season 80": [ | |
"Kelly Wearstler Teaches Interior Design", | |
"Eclectic and experiential, Kelly Wearstler's style helped redefine modern American design and influenced the rise of designer hotels. Now the award-winning designer takes you behind the scenes to demystify interior design. Make any space feel larger, and choose colors, materials, and textures with confidence. Curate collections of art and objects, cultivate your own distinct style, and create spaces that tell a story." | |
], | |
"Season 81": [ | |
"Jeff Goodby & Rich Silverstein Teach Advertising and Creativity", | |
"As the minds behind the \"got milk?\" campaign, the Budweiser lizards, and countless other ads that have permeated pop culture, Jeff Goodby and Rich Silverstein never stop reimagining the possibilities of advertising. Now they're sharing how they make the beautiful and edgy work that's seen by millions. Learn how to come up with great ideas, tell funny and compelling stories, and dazzle at your next pitch or presentation." | |
], | |
"Season 82": [ | |
"Ru-Paul Teaches Self-Expression and Authenticity", | |
"RuPaul has transformed drag subculture into a mainstream phenomenon with devoted fans across the world. Now the Emmy-winning host, performer, and drag icon is sharing an intimate look at his personal journey to self-realization. From finding your inner truth to owning the room, RuPaul teaches you how to present your best self to the world. It's your life's work to shine—RuPaul shows you how." | |
], | |
"Season 83": [ | |
"Lynnette and Ryan Teach Mixology", | |
"James Beard honoree Lynnette Marrero has been at the forefront of the NYC craft cocktail movement. Ryan Chetiyawardana (aka Mr Lyan) is the founder of Dandelyan, named the world's best bar. They will teach you the essentials of cocktail making, from developing your palate to building your home bar. Learn how to mix a perfectly balanced drink for every occasion and mood—and become your friends' new favorite bartender." | |
], | |
"Season 85": [ | |
"Ron Finley Teaches Gardening", | |
"When Ron Finley first grew a garden on a curbside dirt strip, he got cited—and then a warrant was issued for his arrest. He fought back, got the laws changed, and started a movement. Now the community activist and self-proclaimed \"Gangster Gardener\" is teaching you how to grow your own food, keep your plants alive, and find beauty and freedom in gardening no matter the size of your space. Start planting a revolution." | |
], | |
"Season 86": [ | |
"Robin Roberts Teaches Effective Communication", | |
"Millions of people spend their mornings with Robin Roberts, one of today's most beloved broadcasters. Now the Emmy-winning \"Good Morning America\" co-anchor is sharing how she creates unforgettable moments through human connection. Learn how to communicate effectively, whether it's in front of an audience, at work, or with those you love. Start embracing vulnerability, building resilience, and living life with optimism." | |
], | |
"Season 87": [ | |
"Tony Hawk Teaches Skateboarding", | |
"A pro at 14 and the first to land a 900 at the X Games, Tony Hawk is one of the most influential skateboarders of all time. Now he's helping you take your skateboarding to the next level. Joined by pros Lizzie Armanto and Riley Hawk, Tony teaches you beginner, intermediate, and advanced tricks in street, park, and vert. Learn how to push yourself, get up when you fall, and find your own style. Start reaching new heights." | |
], | |
"Season 88": [ | |
"Sheila E. Teaches Drumming and Percussion", | |
"Raised in a family of musicians, Sheila E. has collaborated with icons like Marvin Gaye and Ringo Starr and was named one of the all-time greatest drummers by Rolling Stone. Now she teaches you how to find your rhythm. Learn the principles of percussion—with or without a drum set—and discover techniques for dynamic solos and fills. Jam with the Escovedo family and find your own groove, as a beginner or as a bandleader." | |
], | |
"Season 89": [ | |
"Brandon McMillan Teaches Dog Training", | |
"The Emmy-winning host of \"Lucky Dog\", Brandon McMillan is an expert trainer dedicated to building relationships between humans and animals. In his MasterClass, Brandon shares his simple, effective training system to help you develop trust and control with your dog. From using commands like sit, stay, and down to fixing barking and digging, you'll learn how to improve your dog's behavior—and create a lifelong bond." | |
], | |
"Season 90": [ | |
"Jake Shimabukuro Teaches ʻUkulele", | |
"Jake Shimabukuro teaches you how to take your ʻukulele from the shelf to center stage, with techniques for beginners and seasoned players alike." | |
], | |
"Season 91": [ | |
"Tan France Teaches Style For Everyone", | |
"Queer Eye cohost Tan France breaks down the principles of great style, from building a capsule wardrobe to looking pulled together every day." | |
], | |
"Season 92": [ | |
"St. Vincent Teaches Creativity and Songwriting", | |
"Explore your creative process and embrace vulnerability with St. Vincent, the Grammy-winning, genre-defying artist and performer." | |
], | |
"Season 93": [ | |
"Yotam Ottolenghi Teaches Modern Middle Eastern Cooking", | |
"James Beard Award-winning chef Yotam Ottolenghi teaches you his recipes for delicious Middle Eastern platters layered with color and flavor." | |
], | |
"Season 94": [ | |
"Daniel Pink Teaches Sales and Persuasion", | |
"NYT-bestselling author Daniel Pink shares a science-based approach to the art of persuading, selling, and motivating yourself and others." | |
], | |
"Season 95": [ | |
"Parris Goebel Teaches Creativity in Choreography", | |
"Award-winning choreographer Parris Goebel teaches you her techniques for bringing a vision to life and her approach to owning your creativity." | |
], | |
"Season 96": [ | |
"Emily Morse Teaches Sex and Communication", | |
"In her MasterClass, Emily Morse empowers you to talk openly about sex and discover greater sexual satisfaction." | |
], | |
"Season 97": [ | |
"Alicia Keys Teaches Songwriting and Producing", | |
"Alicia shows you how she writes lyrics, crafts melodies, and explores sonics so you can discover the music you were born to make." | |
], | |
"Season 98": [ | |
"Walter Mosley Teaches Fiction and Storytelling", | |
"Walter Mosley, bestselling author and recipient of the National Book Award's Lifetime Achievement Medal, has written more than 60 books over his 30-year career and is celebrated for fiction that addresses our culture's racial divides. Now he's sharing the elements of storytelling that have helped him along the way. Learn how to choose the right words, structure, genre, and characters to create the novel that's in you." | |
], | |
"Season 99": [ | |
"Apollonia Poilâne Teaches Bread Baking", | |
"Poilâne CEO Apollonia Poilâne teaches the renowned Parisian bakery's philosophy and time-tested techniques for baking rustic French breads." | |
], | |
"Season 100": [ | |
"Salman Rushdie Teaches Storytelling and Writing", | |
"Booker Prize winner Salman Rushdie teaches you his techniques for crafting believable characters, vivid worlds, and spellbinding stories." | |
], | |
"Season 101": [ | |
"Jeff Koons Teaches Art and Creativity", | |
"Jeff Koons teaches you how color, scale, form, and more can help you channel your creativity and create the art that's in you." | |
], | |
"Season 102": [ | |
"Nancy Cartwright Teaches Voice Acting", | |
"The legendary voice actor reveals her creative process for giving life to animated characters with emotion, imagination, and humor." | |
], | |
"Season 103": [ | |
"Matthew Walker Teaches the Science of Better Sleep", | |
"Neuroscience professor Matthew Walker teaches you the science of sleep and how to optimize it to better your overall health." | |
], | |
"Season 104": [ | |
"Issa Rae Teaches Creating Outside the Lines", | |
"Emmy-nominated writer, actor, and producer Issa Rae teaches you how to bring your creative vision to life." | |
], | |
"Season 105": [ | |
"Joe Holder Teaches Fitness and Wellness Fundamentals", | |
"Joe Holder is a nationally recognized master trainer and one of the most influential coaches in fitness and sports. Now he's teaching you how to build the foundation for a lifetime of good health. With Joe's holistic approach, you'll learn how to work out for increased mobility and strength, maximize your nutrition, and build a positive mindset. Start achieving your health goals and living a more purposeful life." | |
], | |
"Season 106": [ | |
"Jon Kabat-Zinn Teaches Mindfulness and Meditation", | |
"Mindfulness expert Jon Kabat-Zinn teaches you how to incorporate meditation into your everyday life to improve your health and happiness." | |
], | |
"Season 107": [ | |
"Roxane Gay Teaches Writing for Social Change", | |
"Bestselling author and cultural critic Roxane Gay teaches writing for social change and arms you with the skills needed to make an impact." | |
], | |
"Season 108": [ | |
"Questlove Teaches Music Curation and DJing", | |
"The iconic DJ and Roots drummer Questlove teaches you how to be a better DJ, deepen your love of music, and make a perfect playlist." | |
], | |
"Season 109": [ | |
"Niki Nakayama Teaches Modern Japanese Cooking", | |
"Niki Nakayama of two-Michelin-starred n/naka teaches you how to honor fresh ingredients with her innovative take on Japanese home cooking techniques." | |
], | |
"Season 110": [ | |
"Donna Farhi Teaches Yoga Foundations", | |
"Renowned yoga instructor Donna Farhi teaches you the most essential physical and mental elements of creating a safe, sustainable practice." | |
], | |
"Season 113": [ | |
"David Carson Teaches Graphic Design", | |
"Pioneering graphic designer David Carson teaches you his intuitive approach to creating work that breaks rules and makes an impact." | |
], | |
"Season 114": [ | |
"Wayne Gretzky Teaches the Athlete's Mindset", | |
"NHL star Wayne Gretzky shares his journey and his approach to a winning mindset, from tapping into your true passion to committing to success every day." | |
], | |
"Season 115": [ | |
"Tyler Mitchell Teaches Storytelling Through Portrait Photography", | |
"History-making photographer Tyler Mitchell teaches you his artistic process for creating compelling images with any kind of camera." | |
] | |
} | |
## CODE BELOW ## | |
def main(): | |
plex = PlexServer(PLEX_URL, PLEX_TOKEN) | |
show = plex.library.section(TV_SHOW_LIBRARY).get(TV_SHOW_NAME) | |
print("Found TV show '{}' in the '{}' library on Plex.".format(TV_SHOW_NAME, TV_SHOW_LIBRARY)) | |
for season in show.seasons(): | |
old_season_title = season.title | |
old_season_summary = season.summary | |
new_season_title, new_season_summary = SEASON_MAPPINGS.get(season.title) | |
if new_season_title: | |
season.editTitle(new_season_title).editSummary(new_season_summary) | |
print("'{}' renamed to '{}'.".format(old_season_title, new_season_title)) | |
elif new_season_title == "": | |
season.editTitle(new_season_title, locked=False).editSummary(new_season_summary, locked=False) | |
print("'{}' reset to '{}'.".format(old_season_title, season.reload().title)) | |
else: | |
print("No mapping for '{}'. Season not renamed.".format(old_season_title)) | |
if __name__ == "__main__": | |
main() | |
print("Done.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment