From 52665df7a6c5b203d72106363bcca73516ce99a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastiaan?= Date: Sat, 2 Apr 2016 14:45:07 +0200 Subject: [PATCH] Update libtorrent and readme --- README.md | 3 +-- library/build.gradle | 2 +- .../com/github/se_bastiaan/torrentstream/TorrentStream.java | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 455fdeb..ed65ca9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -TorrentStream-Android [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.se_bastiaan/torrentstream-android/badge.svg)](https://maven-badges.herokuapp -.com/maven-central/com.github.se_bastiaan/torrentstream-android) +TorrentStream-Android ====== A torrent streamer library for Android based on [jlibtorrent](https://github.com/frostwire/frostwire-jlibtorrent). diff --git a/library/build.gradle b/library/build.gradle index 8c4aa39..05746a8 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -59,7 +59,7 @@ android { } ext { - libtorrentVersion = '1.1.0.15' + libtorrentVersion = '1.1.0.22' } dependencies { diff --git a/library/src/main/java/com/github/se_bastiaan/torrentstream/TorrentStream.java b/library/src/main/java/com/github/se_bastiaan/torrentstream/TorrentStream.java index 2ca81f9..09f4d8f 100644 --- a/library/src/main/java/com/github/se_bastiaan/torrentstream/TorrentStream.java +++ b/library/src/main/java/com/github/se_bastiaan/torrentstream/TorrentStream.java @@ -133,7 +133,7 @@ public void run() { } //start DHT if needed - if (dht != null && !dht.isRunning()) { + if (dht != null && !dht.running()) { libTorrentHandler.post(new Runnable() { @Override public void run() {