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

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
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
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • 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: 5549
  • 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: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Where is sarah hiding...
« Reply #3 on: September 07, 2013, 11:28:29 pm »
danke!
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • 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.