GJones Wrote:All of my previous issues seem to be resolved. Thanks so much. Hopefully, this has been helpful.
I have an odd question regarding a custom playlist. I can get the playlist to play in the order I prefer but TV Time puts the videos in a different order. I don't care which is put in first (because the start point changes) but would like them to be in order. These are ordered by sorttitle (c10). Any ideas?
I'll try to explain how TV Time uses the mixed smartplaylist to build the channel.
The order of the overall mixed playlist controls whether each individual playlist is added in the order it appears or whether the order should be randomized.
For example,
rule: playlist = abc.xsp
rule: playlist = def.xsp
rule: playlist = ghi.xsp
this would result in the file list being generated in the following order:
abc episode 1
def episode 1
ghi episode 1
abc episode 2
def episode 2
ghi episode 2
For example,
rule: playlist = abc.xsp
rule: playlist = def.xsp
rule: playlist = ghi.xsp
order = random
this would result in the file list being generated in the following order:
def episode 1
abc episode 1
ghi episode 1
def episode 2
abc episode 2
ghi episode 2
Now, for each playlist, e.g. abc.xsp, def.xsp, etc. the order effects how the script returns the episodes.
For example, if the mix order is not set and the episode playlist is set to random, the file list would be generated in the following order:
abc episode 10
def episode 2
ghi episode 7
abc episode 3
def episode 7
ghi episode 9
For example, if the mix order is set to random and the episode playlist is set to random, the file list would be generated in the following order:
abc episode 12
def episode 5
ghi episode 8
abc episode 6
def episode 9
ghi episode 21
XBMC doesn't support mixed "episode" or "movie" playlists so we are just using the smartplaylist output to define the settings to determine how to build the file list. In order to achieve a "balanced" channel, I first use each playlist int he mixed playlist to build individual show file lists. I then build the final file list by looping through each of the individual show file lists and added 1 show from each list until the channel file list is full. This way if 1 show has 200 episodes and another has only 20 episodes, they are both represented equally in the channel. This is different than how PseudoTV does it, but I felt my method was more like a true network channel schedule.