python version of the gostations app.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
368 B

import configparser
config = configparser.ConfigParser()
config.read('radiostations.ini')
def api():
return config.get('DEFAULT', 'radio_browser.api')
def player():
return config.get('DEFAULT', 'player.command')
def options():
return config.get('DEFAULT', 'player.options')
def maxitems():
return int(config.get('DEFAULT', 'menu_items.max'))