Plex GDrive, adding new episode triggers rescan of whole serie

I’ve got a strange issue with Plex. When adding a new episode Plex will scan this episode into the database and also wants to refresh the metadata of the whole serie which somehow means “do analysis again on every episode” this give quite a lot of useless traffic and API hits as the older seasons are on gdrive. This started a couple of weeks ago, maybe with a newer update of Plex Media Server.

Up until a couple of weeks ago, all worked well, running seasons where stored locally and completed seasons would be transferred to gdrive, don’t know where it went wrong.

Anyone experiencing or seeing the same in the rclone or Plex activity logs?

New files are sent to Plex using Plex auto scan which does what it needs to do by only scanning the season directory. After analyzing Plex will ask for a metadata update on the whole series.

Tried to use a .plexignore in each season directory, this works as manual scanning ignores the directories but not for analyzation.

That is strange. I don’t see that definitely. Are the mod times on the files changing? What are you using for the agents for TV Shows?

Nothing has changed, using theTVDB for the series. I’ve checked multiple logs and it’s the dreaded “unmatched leaves” problem again. When Plex encounters that it will refresh the whole serie. Can’t find anything on google or Plex forums. Similar post on the Plex forums show no reply and to be honest I don’t think think the Plex devs know or want to help people with advanced questions ( once asked how to delete the “deleted_at” flag in the sql database, was answered in a typical patronising post by one of the admins there)

Think / hope I found it. After days of checking and testing I’m close to the solution, Plex Autoscan sends a Plex chi command “—scan —refresh —directory” after checking the Plex info about cli commands it seems a refresh on a directory can trigger a metadata refresh on the whole serie (the unmatched leaves message) I’ve removed the —refresh from Plex auto scan and now it only scans the directory or file that’s being send to Plex. Will test more tomorrow and update the post.

So to answer my own post (and maybe someone will find it useful when encountering the same problem) the problem was the “local media assets” enabling this in Agents (its on by default) made Plex access all the media in a TV Show regardless if it has been scanned recently or not. As a test I’ve scanned the whole 10 seasons of “Modern Family” 2 days earlier. Today it downloaded the latest one and again it started to read all the episodes from Season 1 till Season 10. After checking all logs I’ve ended at the localmedia log, this showed that Plex wanted to check all the known folders of “Modern Family” for new local assets (posters, subs etc) It will proceed to check every season folder for new subtitles, new posters etc AND read in all MP4 tags. Rclone debug showed all files being accessed and this happens EVERY time a new episode will be added. I’ve disabled “Local Media Assets (TV)” (other plex instance with cloned library) and let Plex scan the latest episode. As expected Plex read the current Season and all episodes but DIDN’T check the older seasons and thus didn’t read all the episodes on Gdrive. In my usecase this is important due to how many times a file on gdrive is accessed in a period of time.

I have local media assets on and if a new item in a series is added. it does do a scan on the folder, but doesn’t download anything.

It simply checks the timestamps of the files/sizes to make sure you’ve already scanned. If the items aren’t analyzed, it would try to analyze them.

Are you running rclone in debug? And running latest version of Plex? For me I’ve rescanned the serie while it was local on the server HDD, I’ve remove the seasons prior to the latest (season 10 in case of modern family) so that means season 1 to 9 are on gdrive and season 10 local on HDD. For info I’m using sub zero for external subtitles ( and bazar is running also) same happens to “American Horror story” and “it’s alway sunny in…”

All 3 are synced from gdrive to local with same timestamps on the folders and files.

So to test, I’ve run something like this as I have a simple shell script to run scanner cli command:

felix@gemini:~/scripts$ cat plexscan
export LD_LIBRARY_PATH=/usr/lib/plexmediaserver
export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/var/lib/plexmediaserver/Library/Application Support"
"/usr/lib/plexmediaserver/Plex Media Scanner" $@

If I run that on my section 2 which is my TV shows, which I’ll share the full output, it only takes 4 seconds.


felix@gemini:~/scripts$ plexscan --verbose --scan --refresh --section 2
GUI: Scanning The Real Housewives of New Jersey
GUI: Scanning A.Million.Little.Things
GUI: Scanning Seal.Team
GUI: Scanning Modern Family
GUI: Scanning Wheeler Dealers
GUI: Scanning South Park
GUI: Scanning The.Kids.Are.Alright
GUI: Scanning The.Rookie
GUI: Scanning Property.Brothers
GUI: Scanning YOU
GUI: Scanning Below.Deck
GUI: Scanning Titans.2018
GUI: Scanning Single.Parents
GUI: Scanning Wentworth
GUI: Scanning Tom.Clancy's.Jack.Ryan
GUI: Scanning My.Mad.Fat.Diary
GUI: Scanning Sugar.Rush
GUI: Scanning Flesh.and.Bone
GUI: Scanning Dates
GUI: Scanning Glue
GUI: Scanning Insatiable
GUI: Scanning Beachfront.Bargain.Hunt
GUI: Scanning Alone
GUI: Scanning Love.It.or.List.It.Too
GUI: Scanning Property.Brothers.Buying.and.Selling
GUI: Scanning Flip.or.Flop
GUI: Scanning Flip.or.Flop.Vegas
GUI: Scanning Tiny.House.Big.Living
GUI: Scanning Castle.Rock
GUI: Scanning Animal.Kingdom.2016
GUI: Scanning Anthony.Bourdain.Parts.Unknown
GUI: Scanning Sharp.Objects
GUI: Scanning Take.Two
GUI: Scanning The.Last.Defense
GUI: Scanning The.End.of.the.F-ing.World
GUI: Scanning The.End.of.the.F-ing.World/Plex Versions
GUI: Scanning The.End.of.the.F-ing.World/Plex Versions/1080-20M 945
GUI: Scanning The.End.of.the.F-ing.World/Plex Versions/1080-20M 945/The End of the F___ing World
GUI: Scanning Supergirl
GUI: Scanning Wicked Tuna
GUI: Scanning Impulse
GUI: Scanning Impulse/Plex Versions
GUI: Scanning Impulse/Plex Versions/1080-20M 945
GUI: Scanning Impulse/Plex Versions/1080-20M 945/Impulse
GUI: Scanning Marvel's.Cloak.&.Dagger
GUI: Scanning 24.Hours.To.Hell.&.Back
GUI: Scanning Sweetbitter
GUI: Scanning Peaky.Blinders
GUI: Scanning Killing.Eve
GUI: Scanning Infested!
GUI: Scanning Lost.in.Space.(2018)
GUI: Scanning Lost.in.Space.(2018)/Plex Versions
GUI: Scanning Lost.in.Space.(2018)/Plex Versions/1080-20M 945
GUI: Scanning Lost.in.Space.(2018)/Plex Versions/1080-20M 945/Lost in Space (2018)
GUI: Scanning The.Terror
GUI: Scanning Krypton
GUI: Scanning Young.Sheldon
GUI: Scanning Silicon Valley
GUI: Scanning Rapture
GUI: Scanning Station.19
GUI: Scanning My.Next.Guest.Needs.No.Introduction.With.David.Letterman
GUI: Scanning My.Next.Guest.Needs.No.Introduction.With.David.Letterman/Plex Versions
GUI: Scanning My.Next.Guest.Needs.No.Introduction.With.David.Letterman/Plex Versions/1080-20M 945
GUI: Scanning My.Next.Guest.Needs.No.Introduction.With.David.Letterman/Plex Versions/1080-20M 945/My Next Guest Needs No Introduction With David Letterman
GUI: Scanning Shifting.Gears.With.Aaron.Kaufman
GUI: Scanning Absentia
GUI: Scanning Sneaky.Pete
GUI: Scanning Sneaky.Pete/Plex Versions
GUI: Scanning Sneaky.Pete/Plex Versions/1080-20M 945
GUI: Scanning Sneaky.Pete/Plex Versions/1080-20M 945/Sneaky Pete
GUI: Scanning Murdoch.Mysteries
GUI: Scanning Channel.Zero
GUI: Scanning The.Resident
GUI: Scanning S.W.A.T.(2017)
GUI: Scanning Judge.Judy
GUI: Scanning Counterpart
GUI: Scanning Altered.Carbon
GUI: Scanning Altered.Carbon/Plex Versions
GUI: Scanning Altered.Carbon/Plex Versions/1080-20M 945
GUI: Scanning Altered.Carbon/Plex Versions/1080-20M 945/Altered Carbon
GUI: Scanning Suits
GUI: Scanning The.Marvelous.Mrs.Maisel
GUI: Scanning The.Marvelous.Mrs.Maisel/Plex Versions
GUI: Scanning The.Marvelous.Mrs.Maisel/Plex Versions/1080-20M 945
GUI: Scanning The.Marvelous.Mrs.Maisel/Plex Versions/1080-20M 945/The Marvelous Mrs. Maisel
GUI: Scanning Fresh.Off.the.Boat
GUI: Scanning The.Deuce
GUI: Scanning SMILF
GUI: Scanning 9-1-1
GUI: Scanning Knightfall
GUI: Scanning Marvel's.Runaways
GUI: Scanning DARK
GUI: Scanning DARK/Plex Versions
GUI: Scanning DARK/Plex Versions/1080-20M 945
GUI: Scanning DARK/Plex Versions/1080-20M 945/DARK
GUI: Scanning Marvel's.The.Punisher
GUI: Scanning MINDHUNTER
GUI: Scanning MINDHUNTER/Plex Versions
GUI: Scanning MINDHUNTER/Plex Versions/1080-20M 945
GUI: Scanning MINDHUNTER/Plex Versions/1080-20M 945/MINDHUNTER
GUI: Scanning Ink.Master-.Angels
GUI: Scanning Ink.Master-.Redemption
GUI: Scanning The.Orville
GUI: Scanning The.Gifted
GUI: Scanning Riverdale
GUI: Scanning Atypical
GUI: Scanning Friends.from.College
GUI: Scanning American.Vandal
GUI: Scanning The.Good.Doctor
GUI: Scanning Comedians.in.Cars.Getting.Coffee
GUI: Scanning Star.Trek-.Discovery
GUI: Scanning Power
GUI: Scanning Ozark
GUI: Scanning Mr.Mercedes
GUI: Scanning The.Sinner
GUI: Scanning Grace.and.Frankie
GUI: Scanning Undercover.Boss.(US)
GUI: Scanning The.Coolest.Places.on.Earth
GUI: Scanning Shadowhunters
GUI: Scanning Fortitude
GUI: Scanning World.of.Dance
GUI: Scanning Santa.Clarita.Diet
GUI: Scanning Genius.(2017)
GUI: Scanning American.Gods
GUI: Scanning The.Handmaid's.Tale
GUI: Scanning Prison Break
GUI: Scanning 13 Reasons Why
GUI: Scanning 13 Reasons Why/Plex Versions
GUI: Scanning 13 Reasons Why/Plex Versions/1080-20M 945
GUI: Scanning 13 Reasons Why/Plex Versions/1080-20M 945/13 Reasons Why
GUI: Scanning The Good Fight
GUI: Scanning Marvel's Iron Fist
GUI: Scanning Marvel's Iron Fist/Plex Versions
GUI: Scanning Marvel's Iron Fist/Plex Versions/1080-20M 945
GUI: Scanning Marvel's Iron Fist/Plex Versions/1080-20M 945/Marvel's Iron Fist
GUI: Scanning Legion
GUI: Scanning Harlots
GUI: Scanning FEUD
GUI: Scanning Westworld
GUI: Scanning Westworld/Plex Versions
GUI: Scanning Westworld/Plex Versions/1080-20M 945
GUI: Scanning Westworld/Plex Versions/1080-20M 945/Westworld
GUI: Scanning Victoria
GUI: Scanning Travelers (2016)
GUI: Scanning The OA
GUI: Scanning The Grand Tour (2016)
GUI: Scanning The Good Place
GUI: Scanning The Girlfriend Experience
GUI: Scanning The Daily Show with Jon Stewart
GUI: Scanning The Crown
GUI: Scanning Taboo (2017)
GUI: Scanning Stranger Things
GUI: Scanning Stranger Things/Plex Versions
GUI: Scanning Stranger Things/Plex Versions/1080-20M 945
GUI: Scanning Stranger Things/Plex Versions/1080-20M 945/Stranger Things
GUI: Scanning Speechless
GUI: Scanning Spartan- Ultimate Team Challenge
GUI: Scanning Sherlock
GUI: Scanning Saturday Night Live
GUI: Scanning Rick and Morty
GUI: Scanning Preacher
GUI: Scanning Outcast
GUI: Scanning Lethal Weapon
GUI: Scanning Leah Remini- Scientology and the Aftermath
GUI: Scanning HarmonQuest
GUI: Scanning Good Behavior
GUI: Scanning Freakish
GUI: Scanning Flowers
GUI: Scanning Fleabag
GUI: Scanning Cake Boss
GUI: Scanning Bull (2016)
GUI: Scanning A Series of Unfortunate Events
GUI: Scanning Project Runway Junior
GUI: Scanning Homeland
GUI: Scanning Black Mirror
GUI: Scanning Archer.(2009)
GUI: Scanning Zapped!
GUI: Scanning You're the Worst
GUI: Scanning Vikings
GUI: Scanning Veep
GUI: Scanning Winx Club
GUI: Scanning Van Helsing
GUI: Scanning Transparent
GUI: Scanning This Is Us
GUI: Scanning The Walking Dead
GUI: Scanning True Detective
GUI: Scanning The Man in the High Castle
GUI: Scanning The Magicians (2015)
GUI: Scanning The Last Ship
GUI: Scanning The Last Kingdom
GUI: Scanning The Goldbergs (2013)
GUI: Scanning The Flash (2014)
GUI: Scanning The Expanse
GUI: Scanning The Blacklist
GUI: Scanning The Big Bang Theory
GUI: Scanning The Bachelorette
GUI: Scanning The Bachelor
GUI: Scanning The Amazing Race
GUI: Scanning The Affair
GUI: Scanning The A Word
GUI: Scanning The 100
GUI: Scanning Survivor
GUI: Scanning Street Outlaws
GUI: Scanning StarTalk with Neil deGrasse Tyson
GUI: Scanning So You Think You Can Dance
GUI: Scanning Shark Tank
GUI: Scanning Shameless (US)
GUI: Scanning Ray Donovan Season 1 Episode 1
GUI: Scanning Ray Donovan Season 1 Episode 2
GUI: Scanning Ray Donovan Season 1 Episode 3
GUI: Scanning Ray Donovan Season 1 Episode 4
GUI: Scanning Ray Donovan Season 1 Episode 5
GUI: Scanning Ray Donovan Season 1 Episode 6
GUI: Scanning Ray Donovan Season 1 Episode 7
GUI: Scanning Ray Donovan Season 1 Episode 8
GUI: Scanning Ray Donovan Season 1 Episode 9
GUI: Scanning Ray Donovan Season 1 Episode 10
GUI: Scanning Ray Donovan Season 1 Episode 11
GUI: Scanning Ray Donovan Season 1 Episode 12
GUI: Scanning Ray Donovan Season 2 Episode 1
GUI: Scanning Ray Donovan Season 2 Episode 2
GUI: Scanning Ray Donovan Season 2 Episode 3
GUI: Scanning Ray Donovan Season 2 Episode 4
GUI: Scanning Ray Donovan Season 2 Episode 5
GUI: Scanning Ray Donovan Season 2 Episode 6
GUI: Scanning Ray Donovan Season 2 Episode 7
GUI: Scanning Ray Donovan Season 2 Episode 8
GUI: Scanning Ray Donovan Season 2 Episode 9
GUI: Scanning Ray Donovan Season 2 Episode 10
GUI: Scanning Ray Donovan Season 2 Episode 11
GUI: Scanning Ray Donovan Season 2 Episode 12
GUI: Scanning Ray Donovan Season 3 Episode 1
GUI: Scanning Ray Donovan Season 3 Episode 2
GUI: Scanning Ray Donovan Season 3 Episode 3
GUI: Scanning Ray Donovan Season 3 Episode 4
GUI: Scanning Ray Donovan Season 3 Episode 5
GUI: Scanning Ray Donovan Season 3 Episode 6
GUI: Scanning Ray Donovan Season 3 Episode 7
GUI: Scanning Ray Donovan Season 3 Episode 8
GUI: Scanning Ray Donovan Season 3 Episode 9
GUI: Scanning Ray Donovan Season 3 Episode 10
GUI: Scanning Ray Donovan Season 3 Episode 11
GUI: Scanning Ray Donovan Season 3 Episode 12
GUI: Scanning Ray Donovan Season 4 Episode 1
GUI: Scanning Ray Donovan Season 4 Episode 2
GUI: Scanning Ray Donovan Season 4 Episode 3
GUI: Scanning Ray Donovan Season 4 Episode 4
GUI: Scanning Ray Donovan Season 4 Episode 5
GUI: Scanning Ray Donovan Season 4 Episode 6
GUI: Scanning Ray Donovan Season 4 Episode 7
GUI: Scanning Ray Donovan Season 4 Episode 8
GUI: Scanning Ray Donovan Season 4 Episode 9
GUI: Scanning Ray Donovan Season 4 Episode 10
GUI: Scanning Ray Donovan Season 4 Episode 11
GUI: Scanning Ray Donovan Season 4 Episode 12
GUI: Scanning Ray Donovan Season 5 Episode 1
GUI: Scanning Ray Donovan Season 5 Episode 2
GUI: Scanning Ray Donovan Season 5 Episode 3
GUI: Scanning Ray Donovan Season 5 Episode 4
GUI: Scanning Ray Donovan Season 5 Episode 5
GUI: Scanning Ray Donovan Season 5 Episode 6
GUI: Scanning Ray Donovan Season 5 Episode 7
GUI: Scanning Ray Donovan Season 5 Episode 8
GUI: Scanning Ray Donovan Season 5 Episode 9
GUI: Scanning Ray Donovan Season 5 Episode 10
GUI: Scanning Ray Donovan Season 5 Episode 11
GUI: Scanning Ray Donovan Season 5 Episode 12
GUI: Scanning Ray Donovan Season 6 Episode 1
GUI: Scanning Ray Donovan Season 6 Episode 2
GUI: Scanning Project Runway
GUI: Scanning The Night Manager
GUI: Scanning Pit Bulls and Parolees
GUI: Scanning Penn & Teller- Fool Us
GUI: Scanning Outrageous Acts of Psych
GUI: Scanning Outlander
GUI: Scanning Outlander/Plex Versions
GUI: Scanning Outlander/Plex Versions/1080-20M 945
GUI: Scanning Outlander/Plex Versions/1080-20M 945/Outlander
GUI: Scanning Orange Is the New Black
GUI: Scanning NCIS New Orleans
GUI: Scanning NCIS Los Angeles
GUI: Scanning NCIS
GUI: Scanning Mr. Robot
GUI: Scanning Miss Fisher's Murder Mysteries
GUI: Scanning Misfit Garage
GUI: Scanning MasterChef Junior
GUI: Scanning MasterChef (US)
GUI: Scanning Master of None
GUI: Scanning Master of None/Plex Versions
GUI: Scanning Master of None/Plex Versions/1080-20M 945
GUI: Scanning Master of None/Plex Versions/1080-20M 945/Master of None
GUI: Scanning Marvel's Jessica Jones
GUI: Scanning Marvel's Jessica Jones/Plex Versions
GUI: Scanning Marvel's Jessica Jones/Plex Versions/1080-20M 945
GUI: Scanning Marvel's Jessica Jones/Plex Versions/1080-20M 945/Marvel's Jessica Jones
GUI: Scanning Marvel's Daredevil
GUI: Scanning Marvel's Agents of S.H.I.E.L.D
GUI: Scanning Luther
GUI: Scanning Lucifer
GUI: Scanning Little Big Shots
GUI: Scanning Lip Sync Battle
GUI: Scanning Law & Order Special Victims Unit
GUI: Scanning Last Week Tonight with John Oliver
GUI: Scanning Last Man Standing (2011)
GUI: Scanning Keeping Up with the Kardashians
GUI: Scanning Junior Bake Off
GUI: Scanning It's Always Sunny in Philadelphia
GUI: Scanning Into the Badlands
GUI: Scanning Marvel's Luke Cage
GUI: Scanning Ink Master
GUI: Scanning Humans
GUI: Scanning How to Get Away With Murder
GUI: Scanning House of Cards (US)
GUI: Scanning Hoarders
GUI: Scanning Hell's Kitchen (US)
GUI: Scanning Hawaii Five-0
GUI: Scanning Grey's Anatomy
GUI: Scanning Graveyard Carz
GUI: Scanning Gotham
GUI: Scanning Glitch (2015)
GUI: Scanning Game of Thrones
GUI: Scanning Game of Thrones/Plex Versions
GUI: Scanning Game of Thrones/Plex Versions/1080-20M 945
GUI: Scanning Game of Thrones/Plex Versions/1080-20M 945/Game of Thrones
GUI: Scanning Fuller House
GUI: Scanning Flaked
GUI: Scanning Fear the Walking Dead
GUI: Scanning Fast N' Loud
GUI: Scanning Fargo
GUI: Scanning Elementary
GUI: Scanning Doctor Who (2005)
GUI: Scanning Diesel Brothers
GUI: Scanning Dancing with the Stars
GUI: Scanning DC's Legends of Tomorrow
GUI: Scanning Criminal Minds
GUI: Scanning Chasing Classic Cars
GUI: Scanning Call the Midwife
GUI: Scanning Easy
GUI: Scanning Broad City
GUI: Scanning Better Call Saul
GUI: Scanning American Horror Story
GUI: Scanning America's Got Talent
GUI: Scanning American Ninja Warrior
GUI: Scanning Big Little Lies
GUI: Scanning American Idol
GUI: Scanning Cake Wars
GUI: Scanning Brooklyn Nine-Nine
GUI: Scanning Bachelor in Paradise
GUI: Scanning Billions
GUI: Scanning American Crime Story
GUI: Scanning BattleBots (2015)
GUI: Scanning Arrow
GUI: Scanning Blindspot
GUI: Scanning The X-Files
GUI: Scanning UnREAL
GUI: Scanning SIX
GUI: Scanning Quantico
GUI: Scanning The Originals
GUI: Scanning Nashville
GUI: Scanning Narcos
GUI: Scanning Making a Murderer
GUI: Scanning The.Looming.Tower
GUI: Scanning Law.&.Order-.True.Crime
GUI: Scanning Face Off
GUI: Scanning Every.Witch.Way
GUI: Scanning Colony
GUI: Scanning Code Black
GUI: Scanning Casual
GUI: Scanning Band.of.Brothers
GUI: Scanning Anthony.Bourdain.No.Reservations
GUI: Scanning 12 Monkeys
GUI: Scanning Dungeons & Dragons
GUI: Scanning Liv and Maddie
GUI: Scanning Best Ink
GUI: Scanning Happy Tree Friends
GUI: Scanning The Vampire Diaries
GUI: Scanning Dexter
GUI: Scanning Highway to Heaven
GUI: Scanning In.the.Flesh
GUI: Scanning The Night Of
GUI: Scanning 11.22.63
GUI: Scanning Skins
GUI: Scanning Difficult People
GUI: Scanning The Newsroom (2012)
GUI: Scanning Castle (2009)
GUI: Scanning Zoey.101
GUI: Scanning Being.Human
GUI: Scanning Chance
GUI: Scanning Battlestar Galactica (2003)
GUI: Scanning Bitten
GUI: Scanning Masters of Sex
GUI: Scanning Grimm
GUI: Scanning New Girl
GUI: Scanning The Americans (2013)
GUI: Scanning Continuum
GUI: Scanning Seven.Seconds
GUI: Scanning Seven.Seconds/Plex Versions
GUI: Scanning Seven.Seconds/Plex Versions/1080-20M 945
GUI: Scanning Seven.Seconds/Plex Versions/1080-20M 945/Seven Seconds
GUI: Scanning Blood & Oil
GUI: Scanning Gypsy
GUI: Scanning Sleepy Hollow
GUI: Scanning The Forsyte Saga
GUI: Scanning Rectify
GUI: Scanning Banshee
GUI: Scanning Rising Star
GUI: Scanning Designated Survivor
GUI: Scanning Entourage
GUI: Scanning Jonathan.Strange.&.Mr.Norrell
GUI: Scanning Fresh Meat
GUI: Scanning Manhunt-.Unabomber
GUI: Scanning Manhunt-.Unabomber/Plex Versions
GUI: Scanning Manhunt-.Unabomber/Plex Versions/1080-20M 945
GUI: Scanning Manhunt-.Unabomber/Plex Versions/1080-20M 945/Manhunt
GUI: Scanning Pretty Little Liars
GUI: Scanning House of Lies
GUI: Scanning Falling Skies
GUI: Scanning Good Luck Charlie
GUI: Scanning Six Feet Under
GUI: Scanning The Legend of Korra
GUI: Scanning Marvel's Agent Carter
GUI: Scanning Hannibal
GUI: Scanning Next Great Baker
GUI: Scanning The.Tudors
GUI: Scanning Top Gear (US)
GUI: Scanning Class
GUI: Scanning Planet.Earth
GUI: Scanning Roots
GUI: Scanning Torchwood
GUI: Scanning Shake.It.Up
GUI: Scanning Sense8
GUI: Scanning True Blood
GUI: Scanning River
GUI: Scanning Under the Dome
GUI: Scanning CSI- Cyber
GUI: Scanning It's.Me.or.the.Dog
GUI: Scanning Notorious (2016)
GUI: Scanning Mike & Molly
GUI: Scanning Red Band Society
GUI: Scanning Oz
GUI: Scanning The Celebrity Apprentice
GUI: Scanning Joe Rogan Questions Everything
GUI: Scanning Patrick.Melrose
GUI: Scanning The.Sopranos
GUI: Scanning Hotel Hell
GUI: Scanning The.Keepers
GUI: Scanning Ghosted
GUI: Scanning Overhaulin'
GUI: Scanning Carnivàle
GUI: Scanning The Catch
GUI: Scanning Hacking the System
GUI: Scanning Some Girls
GUI: Scanning American Gladiators
GUI: Scanning Dark Matter
GUI: Scanning Ripper Street
GUI: Scanning Wizards of Waverly Place
GUI: Scanning Gilligan's.Island
GUI: Scanning Weeds
GUI: Scanning Beauty and the Beast (2012)
GUI: Scanning Black.Sails
GUI: Scanning Ash vs Evil Dead
GUI: Scanning American Crime
GUI: Scanning The Following
GUI: Scanning Wayward Pines
GUI: Scanning Generation Kill
GUI: Scanning The Good Wife
GUI: Scanning The Messengers (2015)
GUI: Scanning Alfred.Hitchcock.Presents
GUI: Scanning Godless.(2017)
GUI: Scanning The.Brady.Bunch
GUI: Scanning Stitchers
GUI: Scanning Wipeout.(US)
GUI: Scanning Revolution
GUI: Scanning Strike
GUI: Scanning Reign.(2013)
GUI: Scanning Dual Survival
GUI: Scanning The Biggest Loser
GUI: Scanning Alaska State Troopers
GUI: Scanning CSI Crime Scene Investigation
GUI: Scanning Californication
GUI: Scanning Misfits
GUI: Scanning Jessie (2011)
GUI: Scanning Penny Dreadful
GUI: Scanning Powers (2015)
GUI: Scanning The.Twilight.Zone
GUI: Scanning The Last Man on Earth
GUI: Scanning Breaking Bad
GUI: Scanning Tattoo.Nightmares
GUI: Scanning Wonder.Woman
GUI: Scanning Rome
GUI: Scanning The Family (2016)
GUI: Scanning The Fall
GUI: Scanning The.Inbetweeners
GUI: Scanning Marvel's.Inhumans
GUI: Scanning Unforgettable
GUI: Scanning Criminal Minds- Beyond Borders
GUI: Scanning Pet Shop of Horrors
GUI: Scanning Togetherness
GUI: Scanning Broadchurch
GUI: Scanning Kevin Can Wait
GUI: Scanning Ghost in the Shell- Arise - Alternative Architecture
GUI: Scanning Miranda
GUI: Scanning 2 Broke Girls
GUI: Scanning Bates Motel
GUI: Scanning Lost Girl
GUI: Scanning Dead of Summer
GUI: Scanning iCarly
GUI: Scanning Workaholics
GUI: Scanning Sex&Drugs&Rock&Roll
GUI: Scanning The King of Queens
GUI: Scanning Ghost in the Shell- Stand Alone Complex
GUI: Scanning Planet.Earth.II
GUI: Scanning Planet.Earth.II/Plex Versions
GUI: Scanning Planet.Earth.II/Plex Versions/1080-20M 945
GUI: Scanning Planet.Earth.II/Plex Versions/1080-20M 945/Planet Earth II
GUI: Scanning Wheeler Dealers Trading Up
GUI: Scanning Galapagos
GUI: Scanning Full Metal Jousting
GUI: Scanning The.Alfred.Hitchcock.Hour
GUI: Scanning Twin.Peaks
GUI: Scanning Love
GUI: Scanning The Wire
GUI: Scanning Hannah.Montana
GUI: Scanning 24- Legacy
GUI: Scanning The Whispers
GUI: Scanning Extinct.(2017)
GUI: Scanning Beowulf- Return to the Shieldlands
GUI: Scanning The.Mist
GUI: Scanning Those Who Kill (US)
GUI: Scanning Scandal (2012)
GUI: Scanning Boy Meets World
GUI: Scanning Austin & Ally
GUI: Scanning House of Anubis
GUI: Scanning Utopia
GUI: Scanning Defiance
GUI: Scanning Aquarius (2015)
GUI: Scanning Extant
GUI: Scanning Deadwood
GUI: Scanning Marvel's.The.Defenders
GUI: Scanning Outsiders
GUI: Scanning Brotherhood
GUI: Scanning Orphan Black
GUI: Scanning Girl Meets World
GUI: Scanning Victorious
GUI: Scanning Downton Abbey
GUI: Scanning Raising.Hope
GUI: Scanning Episodes
GUI: Scanning Motive
GUI: Scanning Mr. Selfridge
GUI: Scanning Foyle's War
GUI: Scanning Picnic.at.Hanging.Rock
GUI: Scanning Psych
GUI: Scanning Bloodline
GUI: Scanning Scrubs
GUI: Scanning The Leftovers
GUI: Scanning The.Alienist
GUI: Scanning H2O- Just Add Water
GUI: Scanning The.Shannara.Chronicles
GUI: Scanning Mercy Street
GUI: Scanning Glee
GUI: Scanning Resurrection
GUI: Scanning Dominion
GUI: Scanning Louie (2010)
GUI: Scanning Wolf Hall
GUI: Scanning Planet.Earth.Live
GUI: Scanning The.Defiant.Ones
GUI: Scanning A.N.T.Farm
GUI: Scanning Sam & Cat
GUI: Scanning The.Confession.Tapes
GUI: Scanning Dead Like Me
GUI: Scanning World War II in HD Colour
GUI: Scanning Helix
GUI: Scanning Mad Dogs (US)
GUI: Scanning Emerald City
GUI: Scanning The Strain
GUI: Scanning Switched at Birth
GUI: Scanning Salem
GUI: Scanning Growing Pains
GUI: Scanning Halt and Catch Fire
GUI: Scanning Firefly
GUI: Scanning The Missing
GUI: Scanning Rogue
GUI: Scanning Hemlock Grove
GUI: Scanning Once Upon a Time (2011)
GUI: Scanning Galapagos with David Attenborough
GUI: Scanning Secrets & Lies
felix@gemini:~/scripts$
felix@gemini:~/scripts$
felix@gemini:~/scripts$
felix@gemini:~/scripts$
felix@gemini:~/scripts$
felix@gemini:~/scripts$ ls
backup_influx  check_autowatch   cloud_toggle_ipv6_off  convert_mp4    filebot_rename  mergerfs_mount             radarrstats          router
build_caddy    check_datadir     cloud_toggle_ipv6_on   convert_stage  GD_find         plexscan                   RC_find              upload_cloud
build_rclone   check_homebridge  convert_4k             embyssl        gmedia_find     process-pyroscope.sh       rclone_cleanup       wait_kill_paused_notify.py
build_traefik  cloud_get_ipv6    convert_mkv            excludes       gmedia_mount    radarr-delete-unmonitored  rename_command_help
felix@gemini:~/scripts$ time plexscan --verbose --scan --refresh --section 2
GUI: Scanning The Real Housewives of New Jersey
GUI: Scanning A.Million.Little.Things
GUI: Scanning Seal.Team
GUI: Scanning Modern Family
GUI: Scanning Wheeler Dealers
GUI: Scanning South Park
GUI: Scanning The.Kids.Are.Alright
GUI: Scanning The.Rookie
GUI: Scanning Property.Brothers
GUI: Scanning YOU
GUI: Scanning Below.Deck
GUI: Scanning Titans.2018
GUI: Scanning Single.Parents
GUI: Scanning Wentworth
GUI: Scanning Tom.Clancy's.Jack.Ryan
GUI: Scanning My.Mad.Fat.Diary
GUI: Scanning Sugar.Rush
GUI: Scanning Flesh.and.Bone
GUI: Scanning Dates
GUI: Scanning Glue
GUI: Scanning Insatiable
GUI: Scanning Beachfront.Bargain.Hunt
GUI: Scanning Alone
GUI: Scanning Love.It.or.List.It.Too
GUI: Scanning Property.Brothers.Buying.and.Selling
GUI: Scanning Flip.or.Flop
GUI: Scanning Flip.or.Flop.Vegas
GUI: Scanning Tiny.House.Big.Living
GUI: Scanning Castle.Rock
GUI: Scanning Animal.Kingdom.2016
GUI: Scanning Anthony.Bourdain.Parts.Unknown
GUI: Scanning Sharp.Objects
GUI: Scanning Take.Two
GUI: Scanning The.Last.Defense
GUI: Scanning The.End.of.the.F-ing.World
GUI: Scanning The.End.of.the.F-ing.World/Plex Versions
GUI: Scanning The.End.of.the.F-ing.World/Plex Versions/1080-20M 945
GUI: Scanning The.End.of.the.F-ing.World/Plex Versions/1080-20M 945/The End of the F___ing World
GUI: Scanning Supergirl
GUI: Scanning Wicked Tuna
GUI: Scanning Impulse
GUI: Scanning Impulse/Plex Versions
GUI: Scanning Impulse/Plex Versions/1080-20M 945
GUI: Scanning Impulse/Plex Versions/1080-20M 945/Impulse
GUI: Scanning Marvel's.Cloak.&.Dagger
GUI: Scanning 24.Hours.To.Hell.&.Back
GUI: Scanning Sweetbitter
GUI: Scanning Peaky.Blinders
GUI: Scanning Killing.Eve
GUI: Scanning Infested!
GUI: Scanning Lost.in.Space.(2018)
GUI: Scanning Lost.in.Space.(2018)/Plex Versions
GUI: Scanning Lost.in.Space.(2018)/Plex Versions/1080-20M 945
GUI: Scanning Lost.in.Space.(2018)/Plex Versions/1080-20M 945/Lost in Space (2018)
GUI: Scanning The.Terror
GUI: Scanning Krypton
GUI: Scanning Young.Sheldon
GUI: Scanning Silicon Valley
GUI: Scanning Rapture
GUI: Scanning Station.19
GUI: Scanning My.Next.Guest.Needs.No.Introduction.With.David.Letterman
GUI: Scanning My.Next.Guest.Needs.No.Introduction.With.David.Letterman/Plex Versions
GUI: Scanning My.Next.Guest.Needs.No.Introduction.With.David.Letterman/Plex Versions/1080-20M 945
GUI: Scanning My.Next.Guest.Needs.No.Introduction.With.David.Letterman/Plex Versions/1080-20M 945/My Next Guest Needs No Introduction With David Letterman
GUI: Scanning Shifting.Gears.With.Aaron.Kaufman
GUI: Scanning Absentia
GUI: Scanning Sneaky.Pete
GUI: Scanning Sneaky.Pete/Plex Versions
GUI: Scanning Sneaky.Pete/Plex Versions/1080-20M 945
GUI: Scanning Sneaky.Pete/Plex Versions/1080-20M 945/Sneaky Pete
GUI: Scanning Murdoch.Mysteries
GUI: Scanning Channel.Zero
GUI: Scanning The.Resident
GUI: Scanning S.W.A.T.(2017)
GUI: Scanning Judge.Judy
GUI: Scanning Counterpart
GUI: Scanning Altered.Carbon
GUI: Scanning Altered.Carbon/Plex Versions
GUI: Scanning Altered.Carbon/Plex Versions/1080-20M 945
GUI: Scanning Altered.Carbon/Plex Versions/1080-20M 945/Altered Carbon
GUI: Scanning Suits
GUI: Scanning The.Marvelous.Mrs.Maisel
GUI: Scanning The.Marvelous.Mrs.Maisel/Plex Versions
GUI: Scanning The.Marvelous.Mrs.Maisel/Plex Versions/1080-20M 945
GUI: Scanning The.Marvelous.Mrs.Maisel/Plex Versions/1080-20M 945/The Marvelous Mrs. Maisel
GUI: Scanning Fresh.Off.the.Boat
GUI: Scanning The.Deuce
GUI: Scanning SMILF
GUI: Scanning 9-1-1
GUI: Scanning Knightfall
GUI: Scanning Marvel's.Runaways
GUI: Scanning DARK
GUI: Scanning DARK/Plex Versions
GUI: Scanning DARK/Plex Versions/1080-20M 945
GUI: Scanning DARK/Plex Versions/1080-20M 945/DARK
GUI: Scanning Marvel's.The.Punisher
GUI: Scanning MINDHUNTER
GUI: Scanning MINDHUNTER/Plex Versions
GUI: Scanning MINDHUNTER/Plex Versions/1080-20M 945
GUI: Scanning MINDHUNTER/Plex Versions/1080-20M 945/MINDHUNTER
GUI: Scanning Ink.Master-.Angels
GUI: Scanning Ink.Master-.Redemption
GUI: Scanning The.Orville
GUI: Scanning The.Gifted
GUI: Scanning Riverdale
GUI: Scanning Atypical
GUI: Scanning Friends.from.College
GUI: Scanning American.Vandal
GUI: Scanning The.Good.Doctor
GUI: Scanning Comedians.in.Cars.Getting.Coffee
GUI: Scanning Star.Trek-.Discovery
GUI: Scanning Power
GUI: Scanning Ozark
GUI: Scanning Mr.Mercedes
GUI: Scanning The.Sinner
GUI: Scanning Grace.and.Frankie
GUI: Scanning Undercover.Boss.(US)
GUI: Scanning The.Coolest.Places.on.Earth
GUI: Scanning Shadowhunters
GUI: Scanning Fortitude
GUI: Scanning World.of.Dance
GUI: Scanning Santa.Clarita.Diet
GUI: Scanning Genius.(2017)
GUI: Scanning American.Gods
GUI: Scanning The.Handmaid's.Tale
GUI: Scanning Prison Break
GUI: Scanning 13 Reasons Why
GUI: Scanning 13 Reasons Why/Plex Versions
GUI: Scanning 13 Reasons Why/Plex Versions/1080-20M 945
GUI: Scanning 13 Reasons Why/Plex Versions/1080-20M 945/13 Reasons Why
GUI: Scanning The Good Fight
GUI: Scanning Marvel's Iron Fist
GUI: Scanning Marvel's Iron Fist/Plex Versions
GUI: Scanning Marvel's Iron Fist/Plex Versions/1080-20M 945
GUI: Scanning Marvel's Iron Fist/Plex Versions/1080-20M 945/Marvel's Iron Fist
GUI: Scanning Legion
GUI: Scanning Harlots
GUI: Scanning FEUD
GUI: Scanning Westworld
GUI: Scanning UnREAL
GUI: Scanning SIX
GUI: Scanning Quantico
GUI: Scanning The Originals
GUI: Scanning Nashville
GUI: Scanning Narcos
GUI: Scanning Making a Murderer
GUI: Scanning The.Looming.Tower
GUI: Scanning Law.&.Order-.True.Crime
GUI: Scanning Face Off
GUI: Scanning Every.Witch.Way
GUI: Scanning Colony
GUI: Scanning Code Black
GUI: Scanning Casual
GUI: Scanning Band.of.Brothers
GUI: Scanning Anthony.Bourdain.No.Reservations
GUI: Scanning 12 Monkeys
GUI: Scanning Dungeons & Dragons
GUI: Scanning Liv and Maddie
GUI: Scanning Best Ink
GUI: Scanning Happy Tree Friends
GUI: Scanning The Vampire Diaries
GUI: Scanning Dexter
GUI: Scanning Highway to Heaven
GUI: Scanning In.the.Flesh
GUI: Scanning The Night Of
GUI: Scanning 11.22.63
GUI: Scanning Skins
GUI: Scanning Difficult People
GUI: Scanning The Newsroom (2012)
GUI: Scanning Castle (2009)
GUI: Scanning Zoey.101
GUI: Scanning Sam & Cat
GUI: Scanning The.Confession.Tapes
GUI: Scanning Dead Like Me
GUI: Scanning World War II in HD Colour
GUI: Scanning Helix
GUI: Scanning Mad Dogs (US)
GUI: Scanning Emerald City
GUI: Scanning The Strain
GUI: Scanning Switched at Birth
GUI: Scanning Salem
GUI: Scanning Growing Pains
GUI: Scanning Halt and Catch Fire
GUI: Scanning Firefly
GUI: Scanning The Missing
GUI: Scanning Rogue
GUI: Scanning Hemlock Grove
GUI: Scanning Once Upon a Time (2011)
GUI: Scanning Galapagos with David Attenborough
GUI: Scanning Secrets & Lies

real	0m4.122s
user	0m2.492s
sys	0m0.420s

That’s with a refresh in there and I can see in 4 seconds, it does not pull down every file as it only check timestamps/locations to see if something changed from the rclone debug logs.

Also, I’m not sure if you mean you are changing paths for the files.

If you are changing paths, that’s much different as Plex handles that different and has to check the file to make sure it’s the same.

That’s the cleanest scan output I’ve ever seen. You scanned your whole TV shows just in 4 seconds?? I assume this is after you finished all plex metadata download, posters download, analysis etc right? And you haven’t add a single file anywhere since you last scan right?

My scan is a lot slower than 4 seconds and my output is always filled with another of stuff like plex matching some stuff, background analysis etc. Not as clean output as yours.

If that’s the case, you have unmatched items / non analyzed items /etc. If you have no new items, it should be instant (assuming you have the directory structure already there and it’s not repolling that).

If I do just a find:

felix@gemini:/GD$ time find . | wc -l
25086

real	0m0.133s
user	0m0.008s
sys	0m0.012s

When cached it takes that long. The first scan/cache build for the directory/files takes 3-5 minutes.

If I scan when a new item, it uses autoscan and does it’s magic:

 2018-11-08 16:22:20,070 -     INFO -  AUTOSCAN [140252836681472]: Client '127.0.0.1' scan request for series: '/gmedia/TV/Single.Parents/Single.Parents.S01E07.mkv', event: 'Download'
 2018-11-08 16:22:20,070 -     INFO -      PLEX [140252769945344]: Scan request from Sonarr for '/gmedia/TV/Single.Parents/Single.Parents.S01E07.mkv', sleeping for 5 seconds...
 2018-11-08 16:22:25,076 -     INFO -      PLEX [140252769945344]: File '/gmedia/TV/Single.Parents/Single.Parents.S01E07.mkv' exists on check 1 of 10.
 2018-11-08 16:22:25,076 -     INFO -      PLEX [140252769945344]: Scan request is now being processed
 2018-11-08 16:22:25,088 -     INFO -      PLEX [140252769945344]: No 'Plex Media Scanner' processes were found.
 2018-11-08 16:22:25,089 -     INFO -      PLEX [140252769945344]: Starting Plex Scanner
 2018-11-08 16:22:25,777 -     INFO -     UTILS [140252769945344]: GUI: Scanning Single Parents Season 1 Episode 1
 2018-11-08 16:22:25,780 -     INFO -     UTILS [140252769945344]: GUI: Scanning Single Parents Season 1 Episode 2
 2018-11-08 16:22:25,781 -     INFO -     UTILS [140252769945344]: GUI: Scanning Single Parents Season 1 Episode 3
 2018-11-08 16:22:25,782 -     INFO -     UTILS [140252769945344]: GUI: Scanning Single Parents Season 1 Episode 4
 2018-11-08 16:22:25,783 -     INFO -     UTILS [140252769945344]: GUI: Scanning Single Parents Season 1 Episode 5
 2018-11-08 16:22:25,784 -     INFO -     UTILS [140252769945344]: GUI: Scanning Single Parents Season 1 Episode 6
 2018-11-08 16:22:25,785 -     INFO -     UTILS [140252769945344]: GUI: Scanning Single Parents Season 1 Episode 7
 2018-11-08 16:22:26,526 -     INFO -     UTILS [140252769945344]: GUI: Requesting metadata for 'Single Parents'
 2018-11-08 16:22:26,541 -     INFO -     UTILS [140252769945344]: GUI: Background media analysis on Single Parents S01 E07
 2018-11-08 16:22:27,085 -     INFO -      PLEX [140252769945344]: Finished scan!

Always go pretty fast.

Got the same output as you’ve got when adding new media with autoscan.
When it shows:

It will go down the tree and look for some info for the serie and start to scan all episodes. If someone is interested the logs are attached in https://forums.plex.tv/t/localmedia-agent-reading-analyzing-every-episode-when-new-episode-is-added/328817
(Can’t seem to attach them here)

EDIT: setup is local HDD merged with mergerfs with gdrive (VFS etc) and Plex in Docker.

I tried checking local media assets on and tried to reproduce it and I can’t seem to.

I normally have that off as I don’t have any local files (jpegs/anything) stored with my media as I use plex for its’ metadata agents.

I’ll poke around a little tomorrow to see if I can replicate it but from reading the post, it seems to make sense if you have that agent on, it’s going read the entire folders/files and check for new local media assets.

I would think thought it should only check the files for something new, but I’m not sure how it works as I don’t use it.

I had it off for years and 6 months ago enabled it as i thought its needed when using external subtitles. But I think it will check the subs when you start playing. It’s also not showing in the normal scanner, server or system logs of Plex Media Server, just found it when I was desperate and checking all logs in PMS Plugin Logs.

Not clear to me if its expected behavior or not, and to be honest I think the Plex guys don’t know either, they seem to be more busy adding features instead of solving long running problems. (They should do an iOS 12 or better a Snow Leopard style do over :wink: )

I use forced external subs and don’t have it on. Works fine with it off as it checks when it refreshes the metadata for subs assuming they are named correctly.