aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/__init__.py
diff options
context:
space:
mode:
authorGravatar Christopher Rosell <chrippa@tanuki.se>2011-12-19 15:45:12 +0100
committerGravatar Christopher Rosell <chrippa@tanuki.se>2011-12-19 15:45:12 +0100
commit89be5d3882d3849809a99693de4da167a638ec01 (patch)
treea23daef542ee7a1c16366451f3aa2ad91c527774 /src/livestreamer/__init__.py
parent166c98fcce9548df9bdc8586570df6ed00ad71b7 (diff)
Add argument reading from ~/.livestreamerrc.
Diffstat (limited to 'src/livestreamer/__init__.py')
-rw-r--r--src/livestreamer/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/livestreamer/__init__.py b/src/livestreamer/__init__.py
index 0e399b9..e429e7e 100644
--- a/src/livestreamer/__init__.py
+++ b/src/livestreamer/__init__.py
@@ -1,5 +1,9 @@
from livestreamer import plugins
+import os.path
+
+RCFILE = os.path.expanduser("~/.livestreamerrc")
+
def resolve_url(url):
for name, plugin in plugins.get_plugins().items():
if plugin.can_handle_url(url):