Jasonra/XBMC-PseudoTV — pull request #37 by geebs61 (2013-07-15 14:41:44+00:00)
Title: Enhanced interleaving rule

Added two options to the Interleave rules. "Play # Episodes" Allows you to interleave multiple episodes from the channel being interleaved, instead of being restricted to interleaving one episode at a time.

Previous function:

(assuming interleaving ch.2 into ch.1)

Min = 1 / Max = 1 : 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2

Min = 2 / Max = 2 : 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2

Min = 3 / Max = 3 : 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2

New function:

Min = 1 / Max = 1 / Episodes = 1: 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2

Min = 1 / Max = 1 / Episodes = 2: 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2

Min = 3 / Max = 3 / Episodes = 2: 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2

"Starting Position" option. This changes where the channel starts interleaving. A value of "1" (default) acts the same as current functionality. Beginning interleaving AFTER the first episode of the base channel. A value of "0" will begin interleaving BEFORE the first episode of the base channel.

Previous Function:

Min = 1 / Max = 1 : 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2

New Function:

Min = 1 / Max = 1 / Episodes = 1 / Start = 1: 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2

Min = 1 / Max = 1 / Episodes = 1 / Start = 0: 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1