From 89be5d3882d3849809a99693de4da167a638ec01 Mon Sep 17 00:00:00 2001 From: Christopher Rosell Date: Mon, 19 Dec 2011 15:45:12 +0100 Subject: Add argument reading from ~/.livestreamerrc. --- src/livestreamer/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/livestreamer/__init__.py') 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): -- cgit v1.2.3