2009-09-21, 07:51
Hi everyone,
I'm in the final stages of releasing a skin mod and I can't seem to resolve an issue with a script that is part of the skin mod. Using the following code:
def selectsource(xml):
Is this my bad (and what am I doing wrong in that case) or do I need to post a bug to trak.
Wyrm
I'm in the final stages of releasing a skin mod and I can't seem to resolve an issue with a script that is part of the skin mod. Using the following code:
def selectsource(xml):
# Prompt User for source name
dialog = xbmcgui.Dialog()
Listnum = dialog.select(xbmc.getLocalizedString(31095) + "\n" ,xml)
print (xbmc.getLocalizedString(31095) + "\n")
return Listnum
I get a select dialog shown, but the title does not appear on the first line as expected. Instead the very first line shown is the first item in the xml list. The string shows up correctly in the debug log and I have seen the same thing even when I just use a a non localized string. I'm using SVN:21923 of XBMC on windows for testing, but see the same behaviour on the XBox with a build of similar vintage and on various other builds (right up to 22528). I have checked the nightly build logs, but have not seen anything to suggest that this might have been broken.Is this my bad (and what am I doing wrong in that case) or do I need to post a bug to trak.
Wyrm