I have a few shows where an episode was removed from TMDB, but the plex agent is still pulling the TMDB ID. This cause problems with trakt. Here is an example show:
Only has 24 episodes. Her is the XML for episode 26
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="12" librarySectionTitle="Trakt Sync" librarySectionUUID="b36a30e0-4e84-4213-bf90-00d745d04c2e" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1724179458">
<script/>
<Video ratingKey="153661" key="/library/metadata/153661" parentRatingKey="153659" grandparentRatingKey="153658" guid="com.plexapp.agents.thetvdb://139151/1/26?lang=en" parentGuid="com.plexapp.agents.thetvdb://139151/1?lang=en" grandparentGuid="com.plexapp.agents.thetvdb://139151?lang=en" grandparentSlug="fraggle-rock-the-animated-series" type="episode" title="Wembley's Trip to Outer Space" grandparentKey="/library/metadata/153658" parentKey="/library/metadata/153659" librarySectionTitle="Trakt Sync" librarySectionID="12" librarySectionKey="/library/sections/12" grandparentTitle="Fraggle Rock: The Animated Series" parentTitle="Season 1" contentRating="TV-Y" summary="Red gets caught up in playing practical jokes on Fraggle Fool's Day, but her biggest joke backfires, trapping Mokey and herself in the Gorgs' garden." index="26" parentIndex="1" year="1987" thumb="/library/metadata/153661/thumb/1724431828" art="/library/metadata/153658/art/1724431829" parentThumb="/library/metadata/153659/thumb/1724431829" grandparentThumb="/library/metadata/153658/thumb/1724431829" grandparentArt="/library/metadata/153658/art/1724431829" duration="15133" originallyAvailableAt="1987-12-05" addedAt="1724345927" updatedAt="1724431828">
<Media id="300101" duration="15133" bitrate="145" width="1920" height="1080" aspectRatio="1.78" videoCodec="h264" videoResolution="1080" container="mp4" videoFrameRate="NTSC" optimizedForStreaming="1" has64bitOffsets="0" videoProfile="constrained baseline">
<Part accessible="1" exists="1" id="1321614" key="/library/parts/1321614/1667923070/file.mp4" duration="15133" file="V:\TV\Trakt Sync\Fraggle Rock- The Animated Series\Fraggle Rock- The Animated Series - 01x26 - Trakt Placeholder.mp4" size="277852" container="mp4" deepAnalysisVersion="6" has64bitOffsets="0" indexes="sd" optimizedForStreaming="1" requiredBandwidths="130,130,130,130,130,130,130,130" videoProfile="constrained baseline">
<Stream id="3484424" streamType="1" selected="1" default="1" codec="h264" index="0" bitrate="145" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1088" codedWidth="1920" frameRate="30.000" hasScalingMatrix="0" height="1080" level="50" profile="constrained baseline" refFrames="1" requiredBandwidths="130,130,130,130,130,130,130,130" scanType="progressive" streamIdentifier="1" width="1920" displayTitle="1080p (H.264 Constrained Baseline)" extendedDisplayTitle="1080p (H.264 Constrained Baseline)"> </Stream>
</Part>
</Media>
<UltraBlurColors topLeft="2a1f64" topRight="584fa4" bottomRight="5343b2" bottomLeft="5c4da5"/>
<Guid id="tmdb://3137864"/>
<Guid id="tvdb://5690181"/>
<Extras size="0"> </Extras>
<Related> </Related>
</Video>
</MediaContainer>
It looks to be incorrectly assigning it TMDB id 3137864
Is there a way to for me to clear the TMDB ID?