Isn't tv cards needed by config itself? Maybe I want to chnage the tv
card settings by TV_SETTINGS['tv0'].vdev = 'foo'. Having this in the
local_conf means we need always system.detect('tvcards'). Or am I
missing something here.
Damn... that part totally slipped my mind and I didn't catch it because I don't have that in my config. This is bad.
Possible solution:
We have our own dict class, TVSettings(). Can we make it so that if we attempt to modify a key/value that doesn't exist then we remember the attempt? Then as we autodetect we can check against these possible changes as we add the real values. If the user has modified something that doesn't get autodetected we can give them a warning or error.
Feel free to tweak this interface. The xine detection that exists already could be moved here as well as a bunch of things we don't autodetect yet.
+ # TODO: datect() should take **kwargs or a list + def detect(what): + eval(what).detect() +
Not **kwarsg, *args. Simple like
def detect(*what): for w in what: eval(w).detect()
Looks good, what I had in mind too.
-Rob
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel