2010-12-14, 00:31
that would make sense.
elif ( entry and os.path.splitext( entry )[ 1 ] in xbmc.getSupportedMedia( "picture" ) ):
that will fail, because getSupportedMedia returns lower case.
the regex's should ignorecase maybe for the ones with a slides.xml.
the other line should be
elif ( entry and os.path.splitext( entry )[ 1 ].lower() in xbmc.getSupportedMedia( "picture" ) ):
elif ( entry and os.path.splitext( entry )[ 1 ] in xbmc.getSupportedMedia( "picture" ) ):
that will fail, because getSupportedMedia returns lower case.
the regex's should ignorecase maybe for the ones with a slides.xml.
the other line should be
elif ( entry and os.path.splitext( entry )[ 1 ].lower() in xbmc.getSupportedMedia( "picture" ) ):