Author Topic: Where is sarah hiding...  (Read 652 times)

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1046
  • hrumpf!
    • View Profile
    • La Smarthomes - SoCal smarthome site
Where is sarah hiding...
« 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
Those people who tell you not to take chances, they are all missing what life's all about.

Wiki Hardware Page http://wiki.linuxmce.org/index.php/User:Langstonius

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2847
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Where is sarah hiding...
« Reply #1 on: September 05, 2013, 11:14:31 pm »
Setup wizard itself is in regular screens. As I said in IRC,
Quote
Code: [Select]
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.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5476
  • DOES work for LinuxMCE.
    • View Profile
Re: Where is sarah hiding...
« Reply #2 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

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1046
  • hrumpf!
    • View Profile
    • La Smarthomes - SoCal smarthome site
Re: Where is sarah hiding...
« Reply #3 on: September 07, 2013, 11:28:29 pm »
danke!
Those people who tell you not to take chances, they are all missing what life's all about.

Wiki Hardware Page http://wiki.linuxmce.org/index.php/User:Langstonius

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2847
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Where is sarah hiding...
« Reply #4 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.