aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/options.py
blob: 51bd30dc7ee32f4cdd13670188d09b960bfd0ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python

options = {
    "rtmpdump": None,
    "errorlog": False,
    "jtvcookie": None
}

def set(key, value):
    options[key] = value

def get(key):
    if key in options:
        return options[key]