LinuxMCE Forums

General => Developers => Topic started by: golgoj4 on September 05, 2013, 10:55:57 PM

Title: Where is sarah hiding...
Post by: golgoj4 on September 05, 2013, 10:55:57 PM
Anyone know where to start in deconstructing sarah / setup wizard? Im not just talking about swapping videos so much as the logic for autodetecting things (lights) and then the setup wizard itself.

thanks,
langston
Title: Re: Where is sarah hiding...
Post by: Marie.O on September 05, 2013, 11:14:31 PM
Setup wizard itself is in regular screens. As I said in IRC,
Quote
select PK_Screen,Description, Comments from Screen Where Comments like '%wizard%';

will get you quite a few Sarah screens. After you have the screens, you can browse Orbiters source code for the ScreenHandler thingies.
Title: Re: Where is sarah hiding...
Post by: tschak909 on September 06, 2013, 05:54:53 AM
The source code for the Wizard is in two parts:

* The screen handlers are inside src/Orbiter/Linux/OSDScreenHandler.cpp/h
* The various work logic bits that it uses are called in src/Orbiter/WizardLogic.cpp/h

-Thom
Title: Re: Where is sarah hiding...
Post by: golgoj4 on September 07, 2013, 11:28:29 PM
danke!
Title: Re: Where is sarah hiding...
Post by: Marie.O on September 08, 2013, 11:59:31 AM
The problem with the Sarah wizard that quite a few bits and pieces are not organized by messages being send tto the core, but by direct interaction with the database. For example, after you select VDR as your PVR, the wizard.cpp changes the screens for PVR playback.