2005-04-14, 02:53
elminster: the problem is the line "value = self.chanstr()" is supposed to return a string containing the channel number. if it returns none (which is the python equivalent of null), then the concatenation of the callsign onto a none value will fail (because the + operator is not defined for a none and a string - only string + string). the real question is why are you not getting a channel number back from your myth database... it should always be populated! the query to retrieve live tv program names does a join between the program and channel tables.
if you want to fix it temporarily, you can change the line to:
are you sure you don't have some old xbmcmythtv files somewhere on your xbox (e.g. in the xbmc/python/lib directory)?
if you want to fix it temporarily, you can change the line to:
Quote:value = ""
if self.chanstr():
value += self.chanstr()
are you sure you don't have some old xbmcmythtv files somewhere on your xbox (e.g. in the xbmc/python/lib directory)?