Jasonra / XBMC-PseudoTV

Channel Surfing for XBMC
GNU General Public License v3.0
93 stars 37 forks source link

Enhanced interleaving rule #37

Open geebs61 opened 11 years ago

geebs61 commented 11 years ago

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