plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.16k stars 170 forks source link

Fake duplicate files #961

Closed alexandrevryghem closed 4 years ago

alexandrevryghem commented 4 years ago

PMS Version: 1.19.1.2645 PMP Version: 1.9.0.1203-00f2b4d9 Platform (Windows/macOS/Embedded RPi/Embedded Intel):

Steps to reproduce

  1. Enable Scan my library automatically in Settings>Library
  2. Add media to TV shows folder
  3. Send message to API when library is detecting a change

Current behavior

I use an application (Sonarr) that automatically uploads my series to my hard drive and sends a message to plex that there is new media available. The problem with that is that when I enable Scan my library automatically, plex will sometimes detect a change in my library and sometimes not. That's why I enabled an option in Sonarr that sends messages to the server and informs him of new files on my hard drive. This can lead to fake duplicates (see picture). Screenshot_2

Expected behavior

It would be nice if Plex doesn't import new files with automatic scan if he already got a message from the API OR when he already detected a change and he is importing the files that he should ignore the message send by the API (OR before showing 2 files as duplicates you could check if they aren't the same file)

It's difficult to add clean logs because it happens randomly

OttoKerner commented 4 years ago

That's a server issue and has nothing to do with the player.