Hello mjarends. I've attached the relevant files. Here's what I did to reproduce.
Started with 21 videos in folder, the two relevant videos named below:
"e2 - Aug Jackson Hole Rodeo.m4v" (GUID 48661)
"e11 - Leominster Playtime.mp4" (GUID 48337)
Note, the GUIDs are relevant when you look at the Plex Media Scanner log. I've also attached the XML for each for debug.
Renamed "e11 - Leominster Playtime.mp4" to "Leominster Outdoors Take2.mp4".
Refreshed Plex library and noted that file count decreased from 21 to 20.
The relevant snippet from the Plex Media Scanner file is (full PMS log attached too) is below. It appears to be in the Plex Media Scanner. I could not find any references to "Take2" in the com.arendshome.plex.agents.personalmedia.log's.
SNIPPET:
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - File '/Volumes/LaCie/HomeMovies/Jordan/1992/e11 - Leominster Playtime.mp4' didn't exist, can't skip.
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - * Scanning Jordan Season 1992 Episode 2
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Looking for path match for [/Volumes/LaCie/HomeMovies/Jordan/1992/e11 - Leominster Outdoors Take2.mp4]
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Checking by hash to see if we can find a match with fef75385f8b707e87775244ee68dc1a082e98518 (display offset: 0, not part -1)
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - We found a hash match for [/Volumes/LaCie/HomeMovies/Jordan/1992/e11 - Leominster Outdoors Take2.mp4] which was [/Volumes/LaCie/HomeMovies/Jordan/1992/e11 - Leominster Playtime.mp4].
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] INFO - Part rename detected [/Volumes/LaCie/HomeMovies/Jordan/1992/e11 - Leominster Playtime.mp4] was renamed [/Volumes/LaCie/HomeMovies/Jordan/1992/e11 - Leominster Outdoors Take2.mp4]
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Updating media item 46139, size=485672074, metadata_item_id=48661
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Updating part with ID=67005 [/Volumes/LaCie/HomeMovies/Jordan/1992/e11 - Leominster Playtime.mp4]
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Hint episode didn't match ('2' != '11') for DB media item 46139
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Checking descendants of Jordan
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - -> Searching down into Jordan/1990
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Checking descendants of Jordan/1990
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - -> FOUND metadata item (show)
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - -> We found a local media item with rooted metadata in Jordan/1990
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Found existing show 48329
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Found existing leaf with index 2.
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Updating metadata item (Aug Jackson Hole Rodeo) with ID 48337
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - HTTP requesting to: http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Added new media item with ID=46140 (episode=2&episodic=1&name=&released_at=2013-11-24&season=1992&show=Jordan)
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Added new media part with ID=67006 [/Volumes/LaCie/HomeMovies/Jordan/1992/e11 - Leominster Outdoors Take2.mp4]
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Deleting media item 46139.
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Was connected to metadata item 48661, count is now 0.
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Destroying metadata item 48661 (Leominster Playtime)
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Updating deletion state for metadata item 48334, is has a dead item count of 0.
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - Updating deletion state for metadata item 48329, is has a dead item count of 0.
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] DEBUG - HTTP requesting to: http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] VERBOSE - [Event] Firing plex.event.library.metadataitem.deleted to 0 sink(s)
Apr 29, 2014 08:16:41 [0x7fff7e9f0310] VERBOSE - [Event] Firing plex.event.library.section.changed to 0 sink(s)
Ken
Attachments:
48661.xml - XML for "e11 - Leominster Playtime.mp4" (GUID 48661)
48337.xml - XML for "e2 - Aug Jackson Hole Rodeo.m4v" (GUID 48337)
Screenshot - shows combined "e11" and "e2" files as one video in plex
Plex Media Scanner.log.txt - PMS log file