Two plex servers using the same media report different durations of media

Server Version: 1.24.5.5173-8dcc73a59 (both servers)

Hey there,
I’m making a script that sync’s info between two plex servers. I’m working on the part where playlists are synced between two servers and I noticed something that is messing it up. Both servers (my main plex server and a test vm running plex) get their media from a network share, so the libraries are identical with exactly the same media files.

When my script searches for media on the target server (in this case the vm), it searches for the title and grabs the result that matches the title, type, duration of media and if it is an episode season and episode number. However, from many searches comes no result because the duration doesn’t match. I’ve countered this by saying that the duration of the media should fall between duration - 2500 and duration + 2500. Still, the duration given for the same media file (!) is off by quite a bit between the servers.

For example:

#Normal:
Adventure Time S01E01:
    Main plex server:
        712212 (api)
    Test VM server:
        712213 (api)

#Wrong time:
Adventure Time S02E15:
    Main plex server:
        708264 (api)
    Test VM server:
        600000 (api)

#No time given:
Adventure Time S02E24:
    Main plex server:
        707793 (api)
    Test VM server:
        NO DURATION GIVEN (the key 'duration' and it's value aren't given)(api)

It’s really weird and messing up my script. Does anyone know what’s going on here?

1 Like

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