aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/__init__.py
diff options
context:
space:
mode:
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"]