-
Notifications
You must be signed in to change notification settings - Fork 43
First and last episode on a multi-episode file #19
Comments
Maybe better a new option to set how build episode lists? Something like |
FYI: I've just updated guessit to the latest version. Make sure to pull the latest version before adding your changes. Please also add new tests (see #21). |
You still need EpisodeSeparator to prefix the first and last episode number. If your concern is a hardcoded value ( %er - first and last episode in range (1, 2) |
We don't need a prefix for first episode number as it's part of format string (for example In the end both solutions will work but I think the one with EpisodeList-option is less complex as it doesn't introduce new formatting variables and works more like a fine tuning for existing %e. We probably should set the options EpisodeSeparator and EpisodeList to defaults suitable for Plex as it's probably the most widely used library manager. |
Got it. I think I misunderstood your initial response. I want to make sure that we are on the same page. If a user selects EpisodeList=list, EpisodeSeparator remains the episode number prefix and current behavior would prevail. If a user selects EpisodeList=range, EpisodeSeparator becomes a customizable character that separates the first and last episodes. Plex still expects "E" (or "e") as an episode number prefix. Does that become a hardcoded value when EpisodeSeparator has been repurposed? Would it make sense to leave EpisodeSeparator as-is and add RangeSeparator for the new use case? |
For Plex you can set:
Should produce for example
|
I understand how |
Look at your formatting string (option SeriesFormat), the first E is already there. |
Sounds good. I have submitted a PR. |
Merged #22. |
The Plex naming convention for a multi-episode file is: ShowName - sXXeYY-eZZ.ext, where YY is the first episode and ZZ is the last episode.
The magic comes in eYY-eZZ for Plex to understand the span of episodes.
Based on the documentation, it appears as though VideoSort will append all episodes with the EpisodeSeparator in between.
i.e. ShowName.S01E01E02E03E04E05.ext.
Plex Media Scanner stops parsing after E01E02, no matter how many "EXX" follows.
@hugbug What are your thoughts on me adding something like:
%el - first and last episode number (1, 2)
%0el - two-digits first and last episode number (01, 02)
Thanks!
The text was updated successfully, but these errors were encountered: