marcan / blitzloop

Open source karaoke software
GNU General Public License v2.0
207 stars 31 forks source link

Basic config file functionality. #11

Closed yacoob closed 8 years ago

yacoob commented 8 years ago

Sane defaults in case of no config file or no option in a config file. Used argparse for cmdline handling, so now you can just run blitzloop. Isn't future nice? :D

Obviously this is dependent on https://github.com/marcan/blitzloop/pull/10.

yacoob commented 8 years ago

I've started fixing play.py, and I see that there's some duplicated code there. I'll add this to this PR.

yacoob commented 8 years ago

OK, good for review.

yacoob commented 8 years ago

Allright, here's a different take on this, using https://github.com/bw2/ConfigArgParse. The downsides:

marcan commented 8 years ago

I may refactor this at some point depending on what direction the config file stuff takes, but this is good for now.