2022-06-30, 23:05
Hello to all!!!
I have this piece of code:
source_poster_path = xbmcgui.Dialog().browse(2, 'Select Character poster image', '', '.jpg')
So, if I understand correct this will do:
Open a dialog window, where I will choose an image.
'Select Character poster image' will be the title of the window.
the empty '' wil be my shares (string or unicode) from sources.xml.
and the '.jpg' will be my mask files, where I will only select a image with .jpg extension right?
but the mask have no effect.
See the screenshot:
Only the .jpg image should appear and not the .png images right?
What am I doing wrong?
thansk in advance
I have this piece of code:
source_poster_path = xbmcgui.Dialog().browse(2, 'Select Character poster image', '', '.jpg')
So, if I understand correct this will do:
Open a dialog window, where I will choose an image.
'Select Character poster image' will be the title of the window.
the empty '' wil be my shares (string or unicode) from sources.xml.
and the '.jpg' will be my mask files, where I will only select a image with .jpg extension right?
but the mask have no effect.
See the screenshot:
Only the .jpg image should appear and not the .png images right?
What am I doing wrong?
thansk in advance