2009-03-01, 06:48
This is on linux branch.
My situation:
i want to call openSettings() if the user has not entered their username yet.
this worked fine on windows, i then tested it on the xbox. what happened was the settings window opened faster than on windows, then the cache dialog opened on top of that. which obviously caused issues.
so i thought an EnableCacheDialog() function and a m_enableCacheDialog bool at the check to create the cache dialog. this still may be necessary for the xbox and if it's a bug with linux branch that too. but what i found is no matter what io set
timeBeforeProgressBar to. the openSettings call waits.
I couldn't figure out why the delay on linux, but other calls do not wait. i mean a regular plugin can fill list almost instantly without the cache dialog.
so if this can be resolved, i can submit a patch, that when openSettings() is called it disables the creation of the cache dialog.
here is a simple test plugin, just save as default.py in any plugin folder that has settings.
if you want a trac i can create one. or if you have something for me to try let me know.
thanks
My situation:
i want to call openSettings() if the user has not entered their username yet.
this worked fine on windows, i then tested it on the xbox. what happened was the settings window opened faster than on windows, then the cache dialog opened on top of that. which obviously caused issues.
so i thought an EnableCacheDialog() function and a m_enableCacheDialog bool at the check to create the cache dialog. this still may be necessary for the xbox and if it's a bug with linux branch that too. but what i found is no matter what io set
timeBeforeProgressBar to. the openSettings call waits.
I couldn't figure out why the delay on linux, but other calls do not wait. i mean a regular plugin can fill list almost instantly without the cache dialog.
so if this can be resolved, i can submit a patch, that when openSettings() is called it disables the creation of the cache dialog.
here is a simple test plugin, just save as default.py in any plugin folder that has settings.
PHP Code:
import sys
import xbmcplugin
if ( __name__ == "__main__" ):
xbmcplugin.openSettings(sys.argv[ 0 ])
if you want a trac i can create one. or if you have something for me to try let me know.
thanks