Split gui from functionality

These are some fairly modest changes made to kano-settings to split the functionality away from the gui - a lot of the functionality has been moved to the system folder.
I thought we are deprecating the system settings for everything but the
keyboard.


On 26 August 2014 16:09, Alex Simon <notifications@github.com> wrote:

> In kano_settings/system/audio.py:
>
> > +# Returns is_HDMI = True or False
> > +def is_HDMI():
> > +    f = open(rc_local_path, 'r')
> > +    file_string = str(f.read())
> > +
> > +    if file_string.find(analogue_string) != -1:
> > +        # Make sure config file is up to date
> > +        if get_setting('Audio') != 'Analogue':
> > +            set_setting('Audio', "Analogue")
> > +        return False
> > +
> > +    elif file_string.find(hdmi_string) != -1:
> > +        # Make sure config file is up to date
> > +        if get_setting('Audio') != 'HDMI':
> > +            set_setting('Audio', "HDMI")
> > +        return True
>
> We shouldn't use the config file but the system setting here
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/KanoComputing/kano-settings/pull/169/files#r16719065>.
>