blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.64k stars 305 forks source link

merge_multiepisode.py causes Plex to show 2 dpulicate files for each merged episode. #387

Closed lightmaster closed 7 months ago

lightmaster commented 1 year ago

Describe the bug

merge_multiepisodes.py - When running this script, for multiple episodes files, Plex now shows 2 identical files for each episode, causing a "2" to be displayed on each episode in some clients. I suspect that if there is a 3 part episode, it would then show 3 identical files for that episode instead.

Provide logs Plex server log PlexAPI log

Link to script with bug/issue https://github.com/blacktwin/JBOPS/blob/master/utility/merge_multiepisodes.py

To Reproduce

Steps to reproduce the behavior:

  1. Run merge_multiepisode.py
  2. Click on "get info" for an episode that was merged
  3. See 2 identical files under "Files"

Expected behavior Episode descriptions and information should be merge, but the file should not be listed twice.

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

JonnyWong16 commented 1 year ago

This is expected behaviour. That's just how Plex works when you merge entries together. There's no way around it.