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

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1087
  • 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
Official Releases
http://deb.linuxmce.org/QOrbiter-release.apk latest Qt4 android apk  http://deb.linuxmce.org/QOrbiterQt5-release.apk for the Qt5 Android version http://deb.linuxmce.org/QOrbiter-release.dmg for the MacOSX version

Unstable Nightlies
http://langstonball.com/downloads

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3020
  • 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: 5501
  • 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: 1087
  • hrumpf!
    • View Profile
    • Mah Website
Re: Where is sarah hiding...
« Reply #3 on: September 07, 2013, 11:28:29 pm »
danke!
Official Releases
http://deb.linuxmce.org/QOrbiter-release.apk latest Qt4 android apk  http://deb.linuxmce.org/QOrbiterQt5-release.apk for the Qt5 Android version http://deb.linuxmce.org/QOrbiter-release.dmg for the MacOSX version

Unstable Nightlies
http://langstonball.com/downloads

posde

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