Open Darkridge opened 1 month ago
This data comes from Plex itself.
Looking at the XML of one of my shows, "Come Dine With Me", the duration of the show is listed as 1800000
which is milliseconds, equates to 30 minutes.
I appreciate that this can seem nonsensical, but it's the data that Plex provides
You might be right, hence the "might not be working as intended". The reason I brought this up originally in Discord (and was instructed to raise an issue here) is because duration
is usable at both the show
and episode
levels. It seems logical that when used at show
level, it should return the total Show runtime. Any other behavior such as show
level returning episode runtimes should probably be expressly spelled out in the wiki to avoid confusion. Otherwise, there's no way to reasonably expect anyone to know that duration
would return the same length whether used at show
or episode
level.
I'm not disagreeing with anything you say, but this is ultimately a Plex "issue" - when you ask for the duration of a show it gives you the duration of one of the episodes.
It would be a painstakingly tedious task for us to go through every attribute that Plex provides and make sure it is "logical".
I can look to adding some wording in the docs to state that the data returned is from Plex, so there may be some oddities similar to what you've experienced, but I don't think we have the capacity to check and document every attribute at every level.
Version Number
2.0.2-build28 (Docker: nightly)
What branch are you on?
nightly
Describe the Bug
The
duration
filter seems to return single episode runtimes even if used explicitly withbuild_level: show
. Not sure if this is intended or if it should instead return the show runtime (similar to the<<total_runtime>>
overlay).Relevant Collection/Overlay/Playlist Definition
Logs
No response