From 31cab011518ee67664c6ed4a0581159b17500f26 Mon Sep 17 00:00:00 2001 From: inpos Date: Thu, 10 Mar 2016 20:02:04 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bca9f54..78f7c77 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -script.module.torrent2http +script.module.pyrrent2http ========================== This add-on is binding to [torrent2http](https://github.com/anteo/torrent2http) client. From 7e14fdd29be576928164079b264d137f1e859d0a Mon Sep 17 00:00:00 2001 From: inpos Date: Thu, 10 Mar 2016 20:03:23 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 78f7c77..5a9d1e7 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Getting list of files inside torrent is straightforward: ```python import xbmc -from torrent2http import State, Engine, MediaType +from pyrrent2http import State, Engine, MediaType from contextlib import closing # Create instance of Engine @@ -42,7 +42,7 @@ with closing(engine): ```python import xbmc -from torrent2http import State, Engine, MediaType +from pyrrent2http import State, Engine, MediaType from contextlib import closing # XBMC addon handle @@ -105,8 +105,4 @@ with closing(engine): while not xbmc.abortRequested and xbmc.Player().isPlaying(): xbmc.sleep(500) ``` - -### Fully working example ### -You can look into fully working [example](https://github.com/anteo/plugin.video.okino/blob/master/resources/lib/okino/torrent/stream/t2h_stream.py). This is -excerpt from my plugin using script.module.torrent2http. It rather complicated but it includes error handling, showing progress dialog and other features.