mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
328 B
9 lines
328 B
// the number of parts that each un-split file typically contains |
|
// noinspection ES6ConvertVarToLetConst |
|
var numParts = 3; |
|
|
|
// return the part number for the given season number and episode number |
|
function partNumberForEpisode(seasonNumber, episodeNumber) { |
|
const mod = episodeNumber % 3; |
|
return mod === 0 ? 3 : mod; |
|
}
|
|
|