diff options
author | Christopher Rosell <chrippa@tanuki.se> | 2011-12-19 15:45:12 +0100 |
---|---|---|
committer | Christopher Rosell <chrippa@tanuki.se> | 2011-12-19 15:45:12 +0100 |
commit | 89be5d3882d3849809a99693de4da167a638ec01 (patch) | |
tree | a23daef542ee7a1c16366451f3aa2ad91c527774 /src/livestreamer/__init__.py | |
parent | 166c98fcce9548df9bdc8586570df6ed00ad71b7 (diff) |
Add argument reading from ~/.livestreamerrc.
Diffstat (limited to 'src/livestreamer/__init__.py')
-rw-r--r-- | src/livestreamer/__init__.py | 4 |
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): |