Adding new media, plex marking some files as played already

Server Version#: 1.19.4.2935. - windows
Player Version#: 4.37.2? - web-based player

Hi all, first time posting, I have been using plex for years no and this is the first time I have been really stuck.

The issue is when I am adding new TV shows to my plex server it’s marking some of the episodes and played already. I am having to go back through and mark them as unplayed so when watching them I don’t lose track/miss any.

the first few times I just put it down to me mixing something up but it’s doing it all of the time - I added an 8 season TV show and each had episodes marked as played

I know they have not been in the server before as it’s just me using it and I’ve not added them before

I hope you guys can help

Is the tv show “matched”?

Or was there perhaps in the past a tv show which was mis-matched, and you didn’t fix the issue for a while, so that playbacks of these videos were registered for the wrong tv show?

TV show matched perfectly first time, i dont start watching them until i have them matched up (bit of stickler for the covers etc).

Its also not a one off, its happened with the last 3-4 separate TV shows i have added

  1. activate debug logging (not ‘verbose’!)
  2. quit Plex Server
  3. wait 1 minute
  4. start Plex Server
  5. wait 5 minutes
  6. fetch log files and attach them here

Or inspect them yourself. Take a look at the Plex Media Server.log file and seek for messages about database corrupt or malformed.
If you find these, you may have to repair your database.

Plex Media Server.log (1.9 MB)

I did a search but could not find anything, I’ve attached just incase

thank you for your help with this

It doesn’t look like you restarted the server as instructed.

Plex Media Server.log (408.1 KB)

Hi, apologies I had restarted the server but got distracted with something else and picked it back up again later on.

i have reset the server, waited 5 minutes and then exported the log right away - please see attached

as a side note, I have added a few more films and two of them have also come in as being already played

thank you for your help with this

So was this Howl’s Moving Castle?
Did you never see this movie on your server? (I am not talking this particular file version, but rather the movie as such.)

Are you using the automatic trailer feature? Is it possible you have watched the trailer for this movie several months ago?
There used to be a bug which made Plex store the “watched” status for the actual movie if one merely watched the trailer.

(I found no indications for database damage in your log.)

Thank you for looking, apologies I can’t recall if that was one of them

‘When the Bough Breaks’ was one, I have added another ‘Broil’ which has also come in as unplayed updated log incase its helpful re broil film Plex Media Server.log (3.5 MB)

I don’t watch trailers at all via plex. In the settings under extra, the only one ticked was ‘include cinema trailers from movies in my library’.

Now I’m confused. Isn’t that exactly what it’s supposed to be? A new film should be “unplayed”, unless you had this same film already in the past on this server.

sorry my typo, its come in as a new film but its showing as played

each time it does this i need to go in and manually mark it as being unplayed so i can keep track of it

the media is new to me/my server and has not been played before

Are these mp4 files and have embedded “title” meta tags which make it mismatch to a totally different movie?
Is there a .nfo file present in the folder?
Are these movies matched at all?
What is the default agent, as set in the the properties of the library, on the ‘Advanced’ tab?

Please post the contents of the Plex XML info of one affected movie, right after adding it and before doing any edits or corrections.

Thank you for your continued help.

They match up perfectly when coming in, the ‘broil’ file is an MP4 but does not have any title information screenshot of its properties

I have not touched this film since importing (its still showing as played) XML file as requested:

<?xml version="1.0" encoding="UTF-8"?>
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="2" librarySectionTitle="Films" librarySectionUUID="f0e64ebb-5503-4a96-95b7-3ece7fad4d1d" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1591844736">
<Video ratingKey="17180" key="/library/metadata/17180" guid="com.plexapp.agents.imdb://tt8997712?lang=en" type="movie" title="Broil" librarySectionTitle="Films" librarySectionID="2" librarySectionKey="/library/sections/2" summary="A listless grand-daughter, Chance Sinclair, is sentenced to live with her draconian grand-father, August after a violent incident at school and begins to question the source of her families immense wealth and power. When Chance&#39;s scheming Mom, June hires a troubled chef Sydney to poison August, the family&#39;s monstrous secrets are revealed over the course of one bloody night. Every soul is up for grabs as The Sinclair Family Games Night gets underway and Chance learns that being a part of this family is a blood-in, blood-out proposition." viewCount="1" lastViewedAt="1531045014" year="2020" tagline="Family is served." thumb="/library/metadata/17180/thumb/1594641157" art="/library/metadata/17180/art/1594641157" duration="5402475" originallyAvailableAt="2020-05-20" addedAt="1594641133" updatedAt="1594641157" ratingImage="imdb://image.rating">
<Media id="18793" duration="5402475" bitrate="2638" width="1904" height="800" aspectRatio="2.35" audioChannels="6" audioCodec="aac" videoCodec="h264" videoResolution="1080" container="mp4" videoFrameRate="24p" optimizedForStreaming="1" audioProfile="lc" has64bitOffsets="0" videoProfile="high">
<Part accessible="1" exists="1" id="18805" key="/library/parts/18805/1594641072/file.mp4" duration="5402475" file="Z:\Plex\Films\Broil.2020.1080p.WEBRip.x264.AAC5.1-[YTS.MX].mp4" size="1781457311" audioProfile="lc" container="mp4" has64bitOffsets="0" optimizedForStreaming="1" videoProfile="high">
<Stream id="32158" streamType="1" default="1" codec="h264" index="0" bitrate="2249" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="800" codedWidth="1904" frameRate="23.976" hasScalingMatrix="0" height="800" level="41" profile="high" refFrames="4" streamIdentifier="1" width="1904" displayTitle="1080p (H.264)" />
<Stream id="32159" streamType="2" selected="1" default="1" codec="aac" index="1" channels="6" bitrate="389" audioChannelLayout="5.1" profile="lc" samplingRate="48000" streamIdentifier="2" displayTitle="Unknown (AAC 5.1)" />
</Part>
</Media>
<Genre id="548" filter="genre=548" tag="Fantasy" />
<Genre id="418" filter="genre=418" tag="Horror" />
<Genre id="24" filter="genre=24" tag="Thriller" />
<Director id="29979" filter="director=29979" tag="Edward Drake" />
<Country id="25" filter="country=25" tag="USA" />
<Role id="29980" filter="actor=29980" tag="Lochlyn Munro" role="Freddie Oaks" thumb="http://image.tmdb.org/t/p/original/bOJ03k0oe2R6snRgzV8M4Qtoo4O.jpg" />
<Role id="29981" filter="actor=29981" tag="Jonathan Lipnicki" role="Syd" thumb="http://image.tmdb.org/t/p/original/aEKr26ZSJ8sVfVguwAJWhVHAXSd.jpg" />
<Role id="29982" filter="actor=29982" tag="Timothy V. Murphy" role="August Sinclair" />
<Role id="29983" filter="actor=29983" tag="Catherine Lough Haggquist" role="January Sinclair" thumb="http://image.tmdb.org/t/p/original/i8WNwTXrfVxmsCfOGirh1MtVppz.jpg" />
<Role id="29984" filter="actor=29984" tag="Alyson Bath" role="May Sinclair" thumb="http://image.tmdb.org/t/p/original/soBctk3PwLkpjLRMSU7BdAmatYv.jpg" />
<Extras size="0">
</Extras>
<Related>
<Hub hubKey="/library/metadata/90" key="/library/metadata/17180/similar" title="Related Movies" type="movie" hubIdentifier="movie.similar" context="hub.movie.similar" size="1" more="1" style="shelf">
<Video ratingKey="90" key="/library/metadata/90" guid="com.plexapp.agents.imdb://tt0817910?lang=en" studio="Film Roman Productions" type="movie" title="Hellboy Animated: Blood and Iron" librarySectionTitle="Films" librarySectionID="2" librarySectionKey="/library/sections/2" contentRating="NR" summary="When Hellboy, Liz Sherman, and Abe Sapien are assigned to investigate the ghost-infested mansion of a publicity-hound billionaire, they uncover a plot to resurrect a beautiful yet monstrous vampire from Professor Bruttenholm&#8217;s past. But before they can stop her bloodbath, Hellboy will have to battle harpies, hellhounds, a giant werewolf, and even the ferocious goddess Hecate herself." rating="6.3" year="2007" thumb="/library/metadata/90/thumb/1594602586" art="/library/metadata/90/art/1594602586" duration="4394160" originallyAvailableAt="2007-03-10" addedAt="1229715444" updatedAt="1594602586">
<Media id="88" duration="4394160" bitrate="1314" width="692" height="378" aspectRatio="1.85" audioChannels="2" audioCodec="mp3" videoCodec="mpeg4" videoResolution="sd" container="avi" videoFrameRate="PAL" videoProfile="advanced simple">
<Part id="88" key="/library/parts/88/1229715444/file.avi" duration="4394160" file="Z:\Plex\Films\Hellboy.Animated-Blood.&amp;.Iron.avi" size="727281664" container="avi" deepAnalysisVersion="4" requiredBandwidths="5024,3635,3635,3635,3635,3635,3635,3635" videoProfile="advanced simple">
<Stream id="6957" streamType="1" codec="mpeg4" index="0" bitrate="1186" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="378" codedWidth="692" frameRate="25.000" height="378" level="5" profile="advanced simple" refFrames="1" requiredBandwidths="4896,3517,3517,3517,3517,3517,3517,3517" width="692" displayTitle="SD (MPEG4)" />
<Stream id="6958" streamType="2" selected="1" codec="mp3" index="1" channels="2" bitrate="128" audioChannelLayout="stereo" requiredBandwidths="129,129,129,129,129,129,129,129" samplingRate="48000" streamIdentifier="1" displayTitle="Unknown (MP3 Stereo)" />
</Part>
</Media>
<Genre id="1057" filter="genre=1057" tag="TV Movie" />
<Genre id="548" filter="genre=548" tag="Fantasy" />
<Genre id="5" filter="genre=5" tag="Animation" />
<Genre id="418" filter="genre=418" tag="Horror" />
<Genre id="6" filter="genre=6" tag="Action" />
<Genre id="24" filter="genre=24" tag="Thriller" />
<Genre id="137" filter="genre=137" tag="Science Fiction" />
<Director id="5203" filter="director=5203" tag="Victor Cook" />
<Director id="5204" filter="director=5204" tag="Tad Stones" />
<Writer id="5208" filter="writer=5208" tag="Kevin Hopps" />
<Producer id="8945" filter="producer=8945" tag="Stephanie Elliott" />
<Country id="25" filter="country=25" tag="USA" />
<Role id="955" filter="actor=955" tag="Ron Perlman" role="Hellboy" thumb="http://image.tmdb.org/t/p/original/fggeNgD6YwW1JdL90wLZAIISfnz.jpg" />
<Role id="8940" filter="actor=8940" tag="Selma Blair" role="Liz Sherman" thumb="http://image.tmdb.org/t/p/original/rOvpw7Gd3BgfhnSGH8vWDLDAqa0.jpg" />
<Role id="8766" filter="actor=8766" tag="John Hurt" role="Professor Trevor &#39;Broom&#39; Bruttenholm" thumb="http://image.tmdb.org/t/p/original/kLW1Q53NRuB0EihduBFX3Lbtcl6.jpg" />
<Role id="8941" filter="actor=8941" tag="Doug Jones" role="Abe Sapien" thumb="http://image.tmdb.org/t/p/original/rpvvWATYWHGjedJea0G97XufOwU.jpg" />
<Role id="8942" filter="actor=8942" tag="Peri Gilpin" role="Professor Kate Corrigan" thumb="http://image.tmdb.org/t/p/original/qQMoD3QsVuVjS21hOO6Kx4XcC3B.jpg" />
<Role id="8943" filter="actor=8943" tag="J. Grant Albrecht" role="Oliver Trombolt" thumb="http://image.tmdb.org/t/p/original/w4rm0bWWgWoXRs7jr6PDjbf0UYm.jpg" />
<Role id="5251" filter="actor=5251" tag="Jim Cummings" role="Tom Manning" thumb="http://image.tmdb.org/t/p/original/7eAYLEIm2nWLsRDyhGDzeMMiNmq.jpg" />
<Role id="5671" filter="actor=5671" tag="Grey DeLisle" role="Anna / Harpy-Hag #2" thumb="http://image.tmdb.org/t/p/original/ghv7K8VWns2v0alIAtm1xRoWQUf.jpg" />
<Role id="8227" filter="actor=8227" tag="Rob Paulsen" role="Sydney Leach / Anna&#39;s Fiance" thumb="http://image.tmdb.org/t/p/original/hHgifZsqtTchMvpxGspoKGnqvmZ.jpg" />
<Role id="8224" filter="actor=8224" tag="Kath Soucie" role="Erzsebet Ondrushko" thumb="http://image.tmdb.org/t/p/original/urLkA155Yc19TKyeCUYGwzEt2PO.jpg" />
<Role id="8944" filter="actor=8944" tag="Dee Dee Rescher" role="Harpy-Hag #1 (voice)" />
<Role id="5212" filter="actor=5212" tag="Cree Summer" role="Hecate (voice)" thumb="http://image.tmdb.org/t/p/original/yuOIiBu7YYGG79GnRa6RiDErRwp.jpg" />
<Role id="3834" filter="actor=3834" tag="James Arnold Taylor" role="Young Broom / Father Lupescu (voice)" thumb="http://image.tmdb.org/t/p/original/rAtyfY0diWt078qQIg0IX9xxG9F.jpg" />
<Similar id="8946" filter="similar=8946" tag="Hellboy Animated: Sword of Storms" />
<Similar id="8947" filter="similar=8947" tag="Hellboy Animated: Iron Shoes" />
<Similar id="8948" filter="similar=8948" tag="Queer Duck: The Movie" />
<Similar id="8949" filter="similar=8949" tag="Round Ireland with a Fridge" />
<Similar id="8950" filter="similar=8950" tag="Bill Bailey: Dandelion Mind" />
<Similar id="8951" filter="similar=8951" tag="Get Your Stuff" />
<Similar id="8952" filter="similar=8952" tag="Chicken Tikka Masala" />
<Similar id="8953" filter="similar=8953" tag="Green Plaid Shirt" />
<Similar id="8954" filter="similar=8954" tag="Cutie Honey" />
<Similar id="8955" filter="similar=8955" tag="Rock &amp; Rule" />
</Video>
</Hub>
</Related>
</Video>
</MediaContainer>

edit:
scanner is plex movie scanner

agent is: plex movie

The numeric value of the property lastViewedAt resolves to Sun, 08 Jul 2018 10:16:54 GMT
Is this time stamp before the movie was added or after?
(according to addedAt, it is 5 days before the movie was added)
Does it coincide with some other action you performed on your server?

Do you have a second, some kind of ‘preview’ library, where you put “preview” or “leaked” or “coming soon” versions of movies or trailers and watch them?

Did you perhaps play a movie on the 8th of July which was “mismatched” as Broil, but has been removed since then or had a “Fix Match” procedure applied?

Did you ever import the watch history from an older server installation?

That’s way before, I added the film to the server this morning.

I don’t recall if I had issues with it back in 2018.

I only have the one library that I add the media files to and watch them all in one place, I don’t watch trailers at all (not really my thing)

I don’t remember having a file in called ‘broil’ before, it’s happening with multiple other films and TV shows though.

I have imported a watch history from when i moved the plex server from one machine to this one, do you think this is likely the cause? is there a way to reset this? i have a few TV shows i am in the middle of but can note down progress and reset it if you think its going to solve the issue?

I think the move was ~ 6 months ago

I strongly suspect it.

I know only a way to completely nix all watched data and statistics. This will also affect shared users and managed users!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.