Server Version#: 1.21.3.4014
Player Version#: Plex Web 4.51.1
I’ve found that despite setting The Office (US) to use DVD order, Plex is naming two-part episodes according to the airing order. Single part episodes are OK. I first noticed this behavior with Season 4 which has a number of episodes which were two parts when aired but combined into single episodes on the DVDs.
For example, S04E01 and S04E02 are automatically labeled as “Fun Run (1)” and “Fun Run (2)”. This does match the TVDB ordering for the ‘Aired Order’ but does not match the DVD order which shows that S04E01 is “Fun Run” and S04E02 is “Dunder Mifflin Infinity”. Curiously, the labeling of S04E05, the first non-double episode, does match the DVD ordering and is correctly identified as “Local Ad”.
Episode Orders:
https://thetvdb.com/series/the-office-us/seasons/official/4
https://thetvdb.com/series/the-office-us/seasons/dvd/4
I’ve gone ahead and performed “The Plex Dance” to completely wipe the metadata for season 4 and re-add it as described in the link below, but it did not change the result:
https://forums.plex.tv/t/the-plex-dance/197064
I also had a look at the logs and poked around in some of the URLs I found it querying when asked to refresh the metadata for the episodes mentioned above. I won’t pretend that I know how Plex works internally and which data retrievals are important in this situation, but I did find it interesting that the data for the double episodes giving me trouble does not include DVD Episode or Season number while the data for the single episodes, which are correct, does.
Looking at the data returned from https://tvdb2.plex.tv/series/73244/episodes?page=1 you can see that “Fun Run (1)” has both the dvdSeason and dvdEpisodeNumber set to null:
51
id 335408
airedSeason 4
airedSeasonID 28425
airedEpisodeNumber 1
episodeName “Fun Run (1)”
firstAired “2007-09-27”
guestStars […]
directors […]
writers […]
overview “In the hour long season …ontinuing relationship.”
language {…}
productionCode “401”
showUrl “”
lastUpdated 1600191694
dvdDiscid “”
dvdSeason null
dvdEpisodeNumber null
dvdChapter null
absoluteNumber 54
filename “series/73244/episodes/5f6147a98b8c4.jpg”
seriesId 73244
lastUpdatedBy 171
airsAfterSeason null
airsBeforeSeason null
airsBeforeEpisode null
imdbId “tt1026035”
contentRating “TV-14”
thumbAuthor 1
thumbAdded “2019-11-13 13:47:37”
thumbWidth “640”
thumbHeight “360”
siteRating 8
siteRatingCount 1257
isMovie 0
The same is true for “Fun Run (2)” which comes from https://tvdb2.plex.tv/series/73244/episodes?page=2:
id 4075826
airedSeason 4
airedSeasonID 28425
airedEpisodeNumber 2
episodeName “Fun Run (2)”
firstAired “2007-09-27”
guestStars […]
directors […]
writers […]
overview “In the hour long season …ontinuing relationship.”
language {…}
productionCode “402”
showUrl “”
lastUpdated 1574423423
dvdDiscid “”
dvdSeason null
dvdEpisodeNumber null
dvdChapter null
absoluteNumber 55
filename “series/73244/episodes/5f6147cdefaec.jpg”
seriesId 73244
lastUpdatedBy 100873
airsAfterSeason null
airsBeforeSeason null
airsBeforeEpisode null
imdbId “tt1026035”
contentRating “TV-14”
thumbAuthor 1
thumbAdded “2019-11-13 13:47:37”
thumbWidth “640”
thumbHeight “360”
siteRating 7.7
siteRatingCount 530
isMovie 0
While the entry for “Local Ad” does correctly list the dvdSeason and dvdEpisodeNumber as 4 and 5 respectively:
52
id 337901
airedSeason 4
airedSeasonID 28425
airedEpisodeNumber 9
episodeName “Local Ad”
firstAired “2007-10-25”
guestStars […]
directors […]
writers […]
overview “Dunder Mifflin decides t…ife, an online website.”
language {…}
productionCode “409”
showUrl “”
lastUpdated 1436280260
dvdDiscid “”
dvdSeason 4
dvdEpisodeNumber 5
dvdChapter null
absoluteNumber 62
filename “episodes/73244/337901.jpg”
seriesId 73244
lastUpdatedBy 1
airsAfterSeason null
airsBeforeSeason null
airsBeforeEpisode null
imdbId “tt1031473”
contentRating “TV-14”
thumbAuthor 1
thumbAdded “2019-11-13 13:47:37”
thumbWidth “640”
thumbHeight “360”
siteRating 7.9
siteRatingCount 1174
isMovie 0
It looks like the database query results may be missing some of the DVD order information. It also seems like the Plex server may be falling back on the Airing order if it cannot find a matching DVD Season and Episode. These two things would explain why some episodes are correctly identified with DVD order but others are not. This is all just speculation.
I should also mention that the video files are named quite simply as “Episode SxxExx.mkv” in the path “The Office (US)\Season 04”.
Has anyone else run into this or a similar problem? Can anyone else reproduce this specific behavior? Or how about a fix
I’m happy to provide logs if they would be helpful. Just let me know what’s relevant or if I should upload the entire .zip.
Thanks!