2011-03-14, 18:52
jtucker1972 Wrote:That is where the repository comes in and the auto-updates in XBMC. As channel content gets updated they can go in as minor release changes and pushed out.
OK understood, hadnt considered that, however still requires a manual update on channels before a push which would be so much better automated (mind you, sooner than later i can see smartplaylists having network operator code so would automate then anyways).
i think i have a handle on your code includes for the network playlists i.e.
Code:
if ADDON_SETTINGS.getSetting('BBC') == "true":
name = 'BBC'
type = 'episodes'
rule = 'tvshow'
operator1 = 'is'
# setup array of tv shows
criterialist = ''
criterias = []
criterias.append("Mongrels")
criterias.append("Monkey Dust")
criterias.append("Monty Python's Flying Circus")
criterias.append("The Morecambe and Wise Show")
criterias.append("Most Annoying People of 2008")
criterias.append("Moviedrome")
criterias.append("Mr Tumble")
criterias.append("The Munsters")
criterias.append("The Murder Game")
criterias.append("Murder Most Horrid")
criterias.append("Murder, She Wrote")
criterias.append("Music Makers")
criterias.append("My Family")
criterias.append("My Hero")
for criteria in criterias:
if criterialist == '':
criterialist = criteria
else:
criterialist = criterialist + '|' + criteria
criteria1 = criterialist
operator2 = ''
criteria2 = ''
self.presetChannels.append(presetChannel(name, type, rule, operator1, operator2, criteria1, criteria2, limit, random, numepisodes, nummovies, unwatched, nospecials, resolution))
What amazes me though is so how wrong wikipedia is on what they include as BBC programmes. They seem to include a lot of american network stuff that indeed does get played on the channel but isn't native. Still looking for better sources.
Also will including lots of tv names to look up against be a slow process for xbmc ? Wikipedia lists 600+ for BBC alone.
Another thing to consider is these titles will need to match the TVDB or they wont be found.