News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Where is sarah hiding...

Started by golgoj4, September 05, 2013, 10:55:57 PM

Previous topic - Next topic

golgoj4

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
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

Marie.O

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.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

tschak909

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

golgoj4

Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

Marie.O

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.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]