summary refs log tree commit diff
path: root/blather.py
AgeCommit message (Collapse)Author
2015-12-27Rewrote language_updater.sh in PythonClayton G. Hobbs
At the same time, I moved the logic to check if the language should be updated into the new LanguageUpdater class. The README has been updated to reflect the fact that you no longer need to do any of this manually ever.
2015-12-27Moved paths to Config classClayton G. Hobbs
Paths of important files and directories are part of the program's configuration, no? We're making better use of XDG paths now. Only configuration-y things go in $XDG_CONFIG_HOME now, with cache-y and data-y things going in the appropriate places instead of just being crammed in with configuration.
2015-12-27Quieter; reorganize gst pipeline codeClayton G. Hobbs
Removed a bunch of print statements that looked like they were added for debugging, then never removed. Reorganized GStreamer pipeline code so that all configuration is done when the pipeline is created.
2015-12-27Improved config/argument behaviourClayton G. Hobbs
The configuration file is now properly overridden by argument parsing. This was accomplished by loading the config file, then treating the specified options as a namespace for the ArgumentParser. This makes things from the config file get overridden iff they were specified on the command line (not simply from defaults set in the ArgumentParser).
2015-12-27Minor formatting improvementsClayton G. Hobbs
2015-12-27Replaced last YAML bit with JSONClayton G. Hobbs
Hashes are now stored in hash.json, not hash.yaml. Also, we use the XDG configuration directory rather than assuming we should use ~/.config/. Maybe I should also make use of XDG data and/or cache directories.
2015-12-27Beginning work moving from YAML to JSONClayton G. Hobbs
Mostly working for the options file now. Still some difficulty with command-line arguments, though; they're overriding the config file even when not specified. If I made them simply not get stored at all when not specified, there would be further problems when a configuration file is not present. Maybe I should make a whole new class to handle this.
2015-12-27Removed override command line optionClayton G. Hobbs
Personally, I don't see a point to a switch that must be turned on to make all other switches work at all. It's a confusing behaviour that made me think I somehow broke the GUIs.
2015-12-27Work towards Python 3 supportClayton G. Hobbs
2015-12-27Update language automatically on startupClayton G. Hobbs
We now have a hash.yaml file which contains a SHA256 hash of sentences.corpus. If this differs from the hash the file calculated when Kaylee sarts, the language is updated and the new hash is stored in hash.yaml.
2015-12-26Removed QT interface, renamed interfaces to KayleeClayton G. Hobbs
I'm a GTK man myself. I don't know if I have Python QT bindings installed on any of my computers. It follows then that I would not maintain the QT interface well, let alone use it at all. It has therefore been removed to avoid having someone try to use it only to find that it's broken.
2013-04-17Config and language files are now in ~/.config/blatherJezra
2013-04-12That shit wasn't a TTS it was a Recognizer!Jezra
2013-04-09InitJezra