aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/__init__.py
diff options
context:
space:
mode:
authorGravatar Christopher Rosell <chrippa@tanuki.se>2012-08-15 19:49:54 +0200
committerGravatar Christopher Rosell <chrippa@tanuki.se>2012-08-15 19:49:54 +0200
commite8eedda5453aca95996c3d99380b1070c23f1dd9 (patch)
treecde1377ef38effe6f12ec28dfc824be6b2e07552 /src/livestreamer/__init__.py
parent0c5563f5e4e6ab8da7dfd5f5c15e7be0e3445c15 (diff)
Add logging.
Diffstat (limited to 'src/livestreamer/__init__.py')
-rw-r--r--src/livestreamer/__init__.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/livestreamer/__init__.py b/src/livestreamer/__init__.py
index 1369fe5..f8a4fa2 100644
--- a/src/livestreamer/__init__.py
+++ b/src/livestreamer/__init__.py
@@ -1,6 +1,5 @@
-from livestreamer import plugins
-from livestreamer import stream
-from livestreamer.compat import urlparse
+from . import plugins, stream
+from .compat import urlparse
def resolve_url(url):
parsed = urlparse(url)
@@ -24,3 +23,7 @@ NoPluginError = plugins.NoPluginError
StreamError = stream.StreamError
plugins.load_plugins(plugins)
+
+__all__ = ["resolve_url", "get_plugins",
+ "PluginError", "NoStreamsError", "NoPluginError",
+ "StreamError"]