Giter Site home page Giter Site logo

torrentstream-android's People

Contributors

getsnoopy avatar jackwakefield avatar plunderbund avatar se-bastiaan avatar viettranhoang avatar whackawaldo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

torrentstream-android's Issues

its shows error when compiler at gradle

dependencies {
        compile 'com.github.TorrentStream:TorrentStream-Android:2.5.0'
}

please upload sample zip file of android related to library so we better understand how it works

Streams don't always emit final progress event.

Hello,

I am not seeing torrent listeners emit the final download progress event (100%). While it happens frequently, it does not happen every time. Below are some logs from a stream I was downloading that show the download progress step between events. The last event I received had a download progress of 99.9667.

01-15 15:04:41.511 20956-20956/com.masterwok.bitcast D/Bit Cast: [DEBUG] Stream progress (97.8687): video.mp4
01-15 15:04:44.326 20956-20956/com.masterwok.bitcast D/Bit Cast: [DEBUG] Stream progress (98.2683): video.mp4
01-15 15:04:46.468 20956-20956/com.masterwok.bitcast D/Bit Cast: [DEBUG] Stream progress (98.6679): video.mp4
01-15 15:04:48.620 20956-20956/com.masterwok.bitcast D/Bit Cast: [DEBUG] Stream progress (98.8011): video.mp4
01-15 15:04:50.910 20956-20956/com.masterwok.bitcast D/Bit Cast: [DEBUG] Stream progress (99.0675): video.mp4
01-15 15:04:53.126 20956-20956/com.masterwok.bitcast D/Bit Cast: [DEBUG] Stream progress (99.3339): video.mp4
01-15 15:04:55.141 20956-20956/com.masterwok.bitcast D/Bit Cast: [DEBUG] Stream progress (99.600296): video.mp4
01-15 15:04:57.147 20956-20956/com.masterwok.bitcast D/Bit Cast: [DEBUG] Stream progress (99.8667): video.mp4

Thanks,

Jonathan

Proguard rule for java.lang.NoSuchMethodError: no static method "Lcom/frostwire/jlibtorrent/swig/libtorrent_jni;.SwigDirector_alert_notify_callback_on_alert(Lcom/frostwire/jlibtorrent/swig/alert_notify_callback;)V

Just to report for anyone who might struggle with ProGuard/R8 that the error:

java.lang.NoSuchMethodError: no static method "Lcom/frostwire/jlibtorrent/swig/libtorrent_jni;.SwigDirector_alert_notify_callback_on_alert(Lcom/frostwire/jlibtorrent/swig/alert_notify_callback;)V"
at com.frostwire.jlibtorrent.swig.libtorrent_jni.swig_module_init(Native Method)
at com.frostwire.jlibtorrent.swig.libtorrent_jni.(Unknown Source:48)
at com.frostwire.jlibtorrent.swig.libtorrent_jni.alert_error_notification_get(Native Method)
at com.frostwire.jlibtorrent.swig.h.(Unknown Source:2)
at d.g.a.a.d.(Unknown Source:2)
at d.g.a.m.(Unknown Source:11)
at d.h.b.a.j.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.os.HandlerThread.run(HandlerThread.java:65)

can be easily fixed with the following rules:

-keep class com.frostwire.jlibtorrent.swig.libtorrent_jni {*;}
-keep class com.frostwire.jlibtorrent.swig.** { *; }

@se-bastiaan, you might wish to add those lines in the README or even as a consumerProguardFiles in library/build.gradle.

error from change lib ...0.24

Hi , i am change from now libtorrentVersion 1.1.0.24, and i am receive this error

E:\AndroidStudioProjects\VideoPlayerStreaming\library\src\main\java\com\github\se_bastiaan\torrentstream\listeners\DHTStatsAlertListener.java
Error:(31, 45) error: cannot find symbol method getSwig()
E:\AndroidStudioProjects\VideoPlayerStreaming\library\src\main\java\com\github\se_bastiaan\torrentstream\listeners\TorrentAddedAlertListener.java
Error:(27, 49) error: cannot find symbol method getSwig()
Error:(32, 22) error: cannot find symbol method getType()
Error:(33, 18) error: cannot find symbol variable TORRENT_ADDED
E:\AndroidStudioProjects\VideoPlayerStreaming\library\src\main\java\com\github\se_bastiaan\torrentstream\Torrent.java
Error:(376, 41) error: cannot find symbol method getSwig()
Error:(377, 41) error: cannot find symbol method getSwig()
Error:(383, 22) error: cannot find symbol method getType()
Error:(384, 18) error: cannot find symbol variable PIECE_FINISHED
Error:(387, 18) error: cannot find symbol variable BLOCK_FINISHED
Error:Execution failed for task ':library:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Fix classcastexception

java.lang.ClassCastException: libcore.net.url.FileURLConnection cannot be cast to java.net.HttpURLConnection
       at com.github.sv244.torrentstream.TorrentStream.getTorrentInfo(TorrentStream.java:179)
       at com.github.sv244.torrentstream.TorrentStream.access$900(TorrentStream.java:50)
       at com.github.sv244.torrentstream.TorrentStream$5.run(TorrentStream.java:259)
       at android.os.Handler.handleCallback(Handler.java:815)
       at android.os.Handler.dispatchMessage(Handler.java:104)
       at android.os.Looper.loop(Looper.java:194)
       at android.os.HandlerThread.run(HandlerThread.java:61)

java.lang.NullPointerException

Hello

how can I solve this problem? You know anything about it?

java.lang.NullPointerException at rx.fd.TorrentPlayerFragment$1.onClick(TorrentPlayerFragment.java:107) at android.view.View.performClick(View.java:4443) at android.view.View$PerformClick.run(View.java:18444) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611) at dalvik.system.NativeStart.main(Native Method)

Error calling alert listener

Using version 2.7.0.
When trying to implement the onStreamProgress hook, for some files (they are all music flac files between 10 and 50 MB) the following happens:

I/SessionManager: Error calling alert listener: length=62; index=-400
I/SessionManager: Error calling alert listener: length=62; index=-399
I/SessionManager: Error calling alert listener: length=62; index=-398
I/SessionManager: Error calling alert listener: length=62; index=-397
I/SessionManager: Error calling alert listener: length=62; index=-396
I/SessionManager: Error calling alert listener: length=62; index=-459
I/SessionManager: Error calling alert listener: length=62; index=-455
I/SessionManager: Error calling alert listener: length=62; index=-456
I/SessionManager: Error calling alert listener: length=62; index=-462
I/SessionManager: Error calling alert listener: length=62; index=-461
I/SessionManager: Error calling alert listener: length=62; index=-458

Perhaps this is a bug with interaction with JLibtorrent?

Help with using the library

Hi, thanks for creating this library. I simply want to download a torrent that contains some files, I don't need to play them. I tried sample and it worked great but below code doesn't seem to be working, am I doing something wrong? (I am using 2.5.0)

`class FragmentDownloads : Fragment(), TorrentListener {
override fun onStreamReady(torrent: Torrent?) {
println("Torrent : onStreamReady")
}

override fun onStreamPrepared(torrent: Torrent?) {
    println("Torrent : onStreamPrepared")
    // If you set TorrentOptions#autoDownload(false) then this is probably the place to call
    // torrent.startDownload();
}

override fun onStreamStopped() {
    println("Torrent : onStreamStopped")
}

override fun onStreamStarted(torrent: Torrent?) {
    println("Torrent : onStreamStarted")
}

override fun onStreamProgress(torrent: Torrent?, status: StreamStatus?) {
    println("Torrent : onStreamProgress")
    println(status?.bufferProgress)
}

override fun onStreamError(torrent: Torrent?, p1: Exception?) {
    println("Torrent : onStreamError")
}

var torrentStream: TorrentStream? = null

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
    val v = inflater.inflate(R.layout.fragment_downloads, container, false)
    return v
}

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
    super.onViewCreated(view, savedInstanceState)
    doAsync {
        val torrentOptions = TorrentOptions.Builder()
            .saveLocation(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS))
            .removeFilesAfterStop(true)
            .build()
        torrentStream = TorrentStream.init(torrentOptions)
        torrentStream!!.addListener(this@FragmentDownloads)
        var magnet = "magnet:?whateverurl"
        torrentStream!!.startStream(magnet)
        println("STARTED")
    }
}

}`

download directory

when i download a directory(include several files), but it only downloaded one file and tell me it done

Video always seek forward when stream.

The buffer progress in onStreamProgress method always jump from 40-60 to 100 and then start playing, after playing for a little while the video will seek forward. Can you tell me why? And how to fix it?

Torrent finishing before complete video file is complete

The torrent ignore/priority behaviour seems to have changed in libtorrent. This is the behaviour after updating to 1.2.0.18:

2019-01-04 20:59:33.420 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: onStreamStopped
2019-01-04 20:59:42.872 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: onStreamStarted
2019-01-04 20:59:42.873 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: OnStreamPrepared
2019-01-04 20:59:54.934 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 0.7582
2019-01-04 20:59:54.935 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 1
2019-01-04 20:59:54.943 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 0.7582
2019-01-04 20:59:55.515 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 0.7582
2019-01-04 20:59:55.515 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 2
2019-01-04 20:59:55.518 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 0.7582
2019-01-04 20:59:55.531 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 0.7582
2019-01-04 20:59:55.531 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 3
2019-01-04 20:59:55.532 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 0.7582
2019-01-04 20:59:55.533 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 0.7582
2019-01-04 20:59:56.864 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 20:59:56.868 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:06.773 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:06.777 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:06.777 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 4
2019-01-04 21:00:06.779 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:06.785 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:06.785 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 5
2019-01-04 21:00:08.061 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.071 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.072 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 6
2019-01-04 21:00:08.077 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.081 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.082 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 7
2019-01-04 21:00:08.084 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.094 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.094 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 8
2019-01-04 21:00:08.098 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.100 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.100 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 9
2019-01-04 21:00:08.103 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.105 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.105 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 10
2019-01-04 21:00:08.107 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.109 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.109 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 11
2019-01-04 21:00:08.111 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.114 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.114 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 12
2019-01-04 21:00:08.116 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.118 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.118 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 13
2019-01-04 21:00:08.119 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.123 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.124 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 14
2019-01-04 21:00:08.125 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.128 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.128 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 15
2019-01-04 21:00:08.130 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.133 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.133 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 16
2019-01-04 21:00:08.135 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.138 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.138 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 17
2019-01-04 21:00:08.140 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.144 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.144 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 18
2019-01-04 21:00:08.145 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.147 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.147 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 19
2019-01-04 21:00:08.148 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.150 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.150 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 20
2019-01-04 21:00:08.154 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.155 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.155 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 21
2019-01-04 21:00:08.158 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.159 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.159 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 22
2019-01-04 21:00:08.160 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.161 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.162 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 23
2019-01-04 21:00:08.163 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.164 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.164 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 24
2019-01-04 21:00:08.165 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.167 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.167 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 25
2019-01-04 21:00:08.168 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.169 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.169 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 26
2019-01-04 21:00:08.170 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.171 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.171 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 27
2019-01-04 21:00:08.172 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.173 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.173 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 28
2019-01-04 21:00:08.174 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.175 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.175 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 29
2019-01-04 21:00:08.176 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.177 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.177 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 30
2019-01-04 21:00:08.178 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.181 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.181 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 31
2019-01-04 21:00:08.182 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.183 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.183 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 32
2019-01-04 21:00:08.184 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.185 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.185 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 33
2019-01-04 21:00:08.185 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.187 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.187 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 34
2019-01-04 21:00:08.187 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.188 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.188 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 35
2019-01-04 21:00:08.368 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.391 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.391 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 36
2019-01-04 21:00:08.392 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.397 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.397 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 37
2019-01-04 21:00:08.412 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:08.412 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:09.815 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:09.818 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:09.818 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 38
2019-01-04 21:00:09.819 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:09.824 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 3.3698
2019-01-04 21:00:11.212 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.055 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.056 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 39
2019-01-04 21:00:12.057 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.064 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.065 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 40
2019-01-04 21:00:12.068 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.074 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.074 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 41
2019-01-04 21:00:12.077 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.077 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.081 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.081 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 42
2019-01-04 21:00:12.082 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:12.084 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:14.003 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:15.809 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:15.819 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:15.819 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 43
2019-01-04 21:00:15.820 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:15.821 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.160 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.180 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.181 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 44
2019-01-04 21:00:19.182 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.188 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.189 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 45
2019-01-04 21:00:19.190 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.193 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.193 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 46
2019-01-04 21:00:19.193 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.614 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.614 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 47
2019-01-04 21:00:19.615 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:19.616 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:20.953 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:20.970 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:20.970 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 48
2019-01-04 21:00:20.970 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:20.971 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.268 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.270 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.270 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 49
2019-01-04 21:00:21.271 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.290 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.290 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 50
2019-01-04 21:00:21.291 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.295 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.295 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 51
2019-01-04 21:00:21.298 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.300 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.300 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 52
2019-01-04 21:00:21.301 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.301 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.947 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.949 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.949 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 53
2019-01-04 21:00:21.950 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:21.951 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:22.098 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:22.149 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:22.167 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:22.286 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:22.292 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 5.9814
2019-01-04 21:00:23.354 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:23.363 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:23.748 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:23.750 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:23.750 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 54
2019-01-04 21:00:23.751 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:23.754 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.724 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.725 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.725 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 55
2019-01-04 21:00:24.725 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.732 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.732 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 56
2019-01-04 21:00:24.733 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.735 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.735 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 57
2019-01-04 21:00:24.738 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.739 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.739 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 58
2019-01-04 21:00:24.740 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.741 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.741 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 59
2019-01-04 21:00:24.742 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.743 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.743 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 60
2019-01-04 21:00:24.744 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.745 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.745 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 61
2019-01-04 21:00:24.745 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:24.748 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.300 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.300 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.301 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 62
2019-01-04 21:00:25.301 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.303 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.307 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.322 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.322 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 63
2019-01-04 21:00:25.323 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.507 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.508 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 16.4279
2019-01-04 21:00:25.897 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 21.6512
2019-01-04 21:00:26.004 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 21.6512
2019-01-04 21:00:26.004 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 64
2019-01-04 21:00:26.005 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 21.6512
2019-01-04 21:00:26.011 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 21.6512
2019-01-04 21:00:26.011 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 65
2019-01-04 21:00:26.012 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 21.6512
2019-01-04 21:00:26.014 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 21.6512
2019-01-04 21:00:26.468 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 26.8744
2019-01-04 21:00:27.043 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 26.8744
2019-01-04 21:00:27.045 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 26.8744
2019-01-04 21:00:27.045 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 66
2019-01-04 21:00:27.046 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 26.8744
2019-01-04 21:00:27.052 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 26.8744
2019-01-04 21:00:27.053 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 67
2019-01-04 21:00:27.053 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 26.8744
2019-01-04 21:00:27.280 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 26.8744
2019-01-04 21:00:27.281 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 68
2019-01-04 21:00:27.282 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 26.8744
2019-01-04 21:00:27.284 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 26.8744
2019-01-04 21:00:27.653 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 29.4861
2019-01-04 21:00:27.812 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 29.4861
2019-01-04 21:00:27.812 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 69
2019-01-04 21:00:27.813 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 29.4861
2019-01-04 21:00:27.815 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 29.4861
2019-01-04 21:00:28.535 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 32.097702
2019-01-04 21:00:28.536 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 32.097702
2019-01-04 21:00:28.536 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 70
2019-01-04 21:00:28.536 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 32.097702
2019-01-04 21:00:28.539 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 32.097702
2019-01-04 21:00:28.539 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 71
2019-01-04 21:00:28.539 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 32.097702
2019-01-04 21:00:28.870 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 32.097702
2019-01-04 21:00:28.870 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 72
2019-01-04 21:00:28.871 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 32.097702
2019-01-04 21:00:28.873 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 32.097702
2019-01-04 21:00:29.460 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 34.709297
2019-01-04 21:00:29.615 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 34.709297
2019-01-04 21:00:29.615 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 73
2019-01-04 21:00:29.620 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 34.709297
2019-01-04 21:00:29.625 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 34.709297
2019-01-04 21:00:29.625 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 74
2019-01-04 21:00:29.627 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 34.709297
2019-01-04 21:00:29.867 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 34.709297
2019-01-04 21:00:29.867 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 75
2019-01-04 21:00:29.868 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 34.709297
2019-01-04 21:00:29.876 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 34.709297
2019-01-04 21:00:30.055 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.059 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.060 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 76
2019-01-04 21:00:30.061 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.068 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.069 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 77
2019-01-04 21:00:30.070 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.070 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.301 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.308 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.308 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 78
2019-01-04 21:00:30.309 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.310 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 45.1558
2019-01-04 21:00:30.630 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 47.767403
2019-01-04 21:00:31.110 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 47.767403
2019-01-04 21:00:31.110 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 79
2019-01-04 21:00:31.111 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 47.767403
2019-01-04 21:00:31.112 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 47.767403
2019-01-04 21:00:31.112 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 80
2019-01-04 21:00:31.115 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 47.767403
2019-01-04 21:00:31.365 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 50.379097
2019-01-04 21:00:31.827 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 81
2019-01-04 21:00:31.831 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 82
2019-01-04 21:00:32.011 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 73.8837
2019-01-04 21:00:32.203 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 83
2019-01-04 21:00:32.209 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 84
2019-01-04 21:00:32.277 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 85
2019-01-04 21:00:32.504 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 86
2019-01-04 21:00:32.510 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 87
2019-01-04 21:00:32.526 3095-3095/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 94.7767

Before it looked like this:

2019-01-04 21:08:19.681 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: onStreamStarted
2019-01-04 21:08:19.681 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: OnStreamPrepared
2019-01-04 21:08:34.120 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.9139999
2019-01-04 21:08:34.120 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 1
2019-01-04 21:08:34.123 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.9139999
2019-01-04 21:08:34.132 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.9139999
2019-01-04 21:08:34.662 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.9643999
2019-01-04 21:08:34.968 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.9643999
2019-01-04 21:08:34.968 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Progress: 100
2019-01-04 21:08:34.972 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: onStreamReady: /storage/emulated/0/Download/<folder>/<video>.mp4
2019-01-04 21:08:35.007 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.9643999
2019-01-04 21:08:35.019 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.9643999
2019-01-04 21:08:43.414 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.979
2019-01-04 21:08:43.448 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.979
2019-01-04 21:08:43.448 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.979
2019-01-04 21:08:43.448 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.979
2019-01-04 21:08:43.628 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.979
2019-01-04 21:08:43.896 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 1.979
2019-01-04 21:08:43.929 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.1301
2019-01-04 21:08:44.387 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.1301
2019-01-04 21:08:45.743 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.2309
2019-01-04 21:08:45.813 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.2309
2019-01-04 21:08:46.232 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.2309
2019-01-04 21:08:46.241 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.2309
2019-01-04 21:08:46.546 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.3316
2019-01-04 21:08:46.819 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.3316
2019-01-04 21:08:47.058 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.382
2019-01-04 21:08:47.351 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.382
2019-01-04 21:08:47.635 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.4324
2019-01-04 21:08:48.001 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.4324
2019-01-04 21:08:48.331 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.4826999
2019-01-04 21:08:48.359 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.4826999
2019-01-04 21:08:48.580 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.4826999
2019-01-04 21:08:48.587 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.4826999
2019-01-04 21:08:48.842 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.5331
2019-01-04 21:08:49.075 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.5331
2019-01-04 21:08:49.338 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.5835
2019-01-04 21:08:49.592 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.5835
2019-01-04 21:08:49.898 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6338
2019-01-04 21:08:50.294 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6338
2019-01-04 21:08:50.609 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6842
2019-01-04 21:08:50.610 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6842
2019-01-04 21:08:50.621 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6842
2019-01-04 21:08:50.628 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6842
2019-01-04 21:08:50.638 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6842
2019-01-04 21:08:50.640 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6842
2019-01-04 21:08:50.646 4693-4710/com.github.se_bastiaan.torrentstreamer.sample I/zygote64: Do partial code cache collection, code=61KB, data=41KB
2019-01-04 21:08:50.647 4693-4710/com.github.se_bastiaan.torrentstreamer.sample I/zygote64: After code cache collection, code=60KB, data=41KB
2019-01-04 21:08:50.647 4693-4710/com.github.se_bastiaan.torrentstreamer.sample I/zygote64: Increasing code cache capacity to 256KB
2019-01-04 21:08:50.960 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6842
2019-01-04 21:08:50.969 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.6842
2019-01-04 21:08:51.176 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:51.190 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:51.709 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:51.714 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:51.716 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:51.719 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:51.980 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:51.981 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:51.981 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:51.987 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: Torrent total progress: 2.7346
2019-01-04 21:08:52.604 4693-4693/com.github.se_bastiaan.torrentstreamer.sample D/Torrent: onStreamStopped

These logcats use the same torrent as sample. Find a good seeded one to reproduce.

Why add last pieces to the preparePieces list?

In Torrent.startDownload() last pieces of the selected torrent file are added to the preparePieces list, from what I understand unless each piece is downloaded in the list the playback will not start.

for (int i = 0; i < piecesToPrepare; i++) {
    // Preparing to download the last pieces of the selected torrent file.
    indices.add(lastPieceIndex - i);
    torrentHandle.piecePriority(lastPieceIndex - i, Priority.SEVEN);
    torrentHandle.setPieceDeadline(lastPieceIndex - i, 1000);
}

for (int i = 0; i < piecesToPrepare; i++) {
    // Preparing to download the first pieces of the selected torrent file.
    indices.add(firstPieceIndex + i);
    torrentHandle.piecePriority(firstPieceIndex + i, Priority.SEVEN);
    torrentHandle.setPieceDeadline(firstPieceIndex + i, 1000);
}

preparePieces = indices;

As far as I can tell downloading only the first pieces should be sufficient to start playback. Is there any particular reason why you do?

While researching ways to initiate playback I stumbled across this exo-player thread, which hints at video metadata sometimes being present at the end of the file. Is this why you do it or some other reason?

Not all files from a torrent are loaded

Hello, i try to use TorrentStream to load a multi file torrent.
Progress get 100 (some times it does not, and stop at 98 or 99 % of progress, and i can't get 100% event, but is not main problem), but where are about 2 - 4 files ( most often its 3 files) in directory, and torrent info (on torrent traker site) says, that it must be 15 or more.

TorrentOptions torrentOptions = new TorrentOptions.Builder()
                                            .saveLocation(dir)
                                            .removeFilesAfterStop(true)
                                            .build();

                                    TorrentStream torrentStream = TorrentStream.init(torrentOptions);
                                    torrentStream.addListener(new TorrentListener() {....}
                                    torrentStream.startStream(torrentUrl);` 
```  

I try this on my Nexus 5.

If u need more information, please ask..

bufferProgress does not finish

I have to be honest this is the most unintuitive library I have used, It is probably because a knowledge of Torrent is needed and part of it is probably because of this library. My issue is whenever the download starts bufferProgress is always stuck at a certain number, is it because we need to play the video while it is downloading so when the user gets to a certain progress then the bufferProgress will start to progress again?

Given example not working

Hi, when i press the start stream button it changes to stop stream some minutes later nothing is happening? What could be the issue. I am using your example

Doesn't work on Android 11

If you build the sample with targetSdkVersion 30
It won't fetch the magnet

Inside TorrentStream.java
byte[] data = torrentSession.fetchMagnet(torrentUrl, 30);

This is where it doesn't work.

Openssl update.

Good morning.
First you doi the thanks for your work , good work.
You can please update openssl ?
Thank you. a greeting

TorrentInfoException: No torrent info could be found or read

Hi, I've started receiving the following error few months ago. It's not related to the new 2.4.0 version! The problems happens both on 2.3.0 and 2.4.0.

com.github.se_bastiaan.torrentstream.exceptions.TorrentInfoException: **No torrent info could be found or read** at com.github.se_bastiaan.torrentstream.TorrentStream.getTorrentInfo(TorrentStream.java:219) at com.github.se_bastiaan.torrentstream.TorrentStream.access$1200(TorrentStream.java:52) at com.github.se_bastiaan.torrentstream.TorrentStream$7.run(TorrentStream.java:306) at android.os.Handler.handleCallback(Handler.java:789) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:164) at android.os.HandlerThread.run(HandlerThread.java:65)

Actually TorrentInfoException swallows the cause exception but I've set a breakpoint to see what it is:

expected value (list, dict, int or string) in bencoded string

I think the tracker which I use to test just changed something in the torrent format and it stopped working after that moment. But it works with desktop torrent clients. I can send you a sample torrent file if you wish.

This project is not work from classpath 'com.android.tools.build:gradle:2.3.0'

Hi all

I am intented actualized this library and now is not work .
This lib is not work with classpath 'com.android.tools.build:gradle:2.3.0' , if change google service 2.3 with 2.2.2 is work fine , but from the new version 2.3.0 is not word,
But the library version compile "com.github.se-bastiaan:TorrentStream-Android:2.2.1" is work fine with classpath 'ccom.android.tools.build:gradle:2.3.0
This is the error:

Error:Execution failed for task ':sample:transformNativeLibsWithMergeJniLibsForDebug'.
com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK lib/armeabi-v7a/libjlibtorrent.so
File1: /root/.gradle/caches/modules-2/files-2.1/com.frostwire/jlibtorrent-android-arm/1.2.0.4/2af7ed9a91be687d03377093ddd0e108e4eda699/jlibtorrent-android-arm-1.2.0.4.jar
File2: /home/liviu/Downloads/1/TorrentStream-Android-develop/library/build/intermediates/bundles/default/jni

Open multiple torrent

Hello,
If a torrent has for example 5 videos. How can I select the video to stream it ? And why VLC can't open a video ? I am obliged to use Mx Player. Thx

Info

Support Pause , Resume torrent ?

Torrent file streaming. Order of load disturbed.

Seems like #22
When we stream MKV files, player jump to forward on already loaded part of file.
It is possible to load file by order?

Imagine that:
loaded part of file: +
not loaded part of file: -

Then stream file seems like:
+++-------++------++++---

Need:
+++++++++----------------

Maybe frostwire-jlibtorrent allows to set highest priority to load first parts of file?

Exampe of MKV http://d.rutor.info/download/543319

How to Configure it for players

First of all thank you for this library, i am trying to add torrent streaming to a player of mine but how to make it stream from a selected time for example i have to steam a video from 50 min but how to implement this lib to work that way so that fast forward work correctly just like popcorn time.

Thank You

Access to internal TorrentSessionManager

It would be useful to access the sessionmanager to analyse and change certain parameters under the hood, for example to record the upload/download speed in MB/s.

support the magnet???

this lib support the magnet???Why don't work when I use magnet links??

        TorrentOptions torrentOptions = new TorrentOptions.Builder()
                .saveLocation(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS))
                .removeFilesAfterStop(true)
                .build();
        TorrentStream torrentStream = TorrentStream.init(torrentOptions);
        torrentStream.addListener(new TorrentListener() {
            @Override
            public void onStreamPrepared(Torrent torrent) {
                Timber.e("onStreamPrepared");
                torrent.startDownload();
            }

            @Override
            public void onStreamStarted(Torrent torrent) {
                Timber.e("onStreamStarted");
            }

            @Override
            public void onStreamError(Torrent torrent, Exception e) {
                Timber.e("onStreamError");
            }

            @Override
            public void onStreamReady(Torrent torrent) {
                Timber.e("onStreamReady");
            }

            @Override
            public void onStreamProgress(Torrent torrent, StreamStatus streamStatus) {
                Timber.e("onStreamProgress"+":progress="+streamStatus.progress+",bufferProgress="+streamStatus.bufferProgress+",downloadSpeed="+streamStatus.downloadSpeed);
            }

            @Override
            public void onStreamStopped() {
                Timber.e("onStreamStopped");
            }
        });
        torrentStream.startStream(torrentUrl);

when torrentUrl is a torrent , it's work and download flie

String  torrentUrl="http://xxxxxxxx.torrent";

but when torrentUrl is a magnet link , don't work , and the console without any logs

String torrentUrl="magnet:?xt=urn:btih:88594aaacbde40ef3e2510c47374ec0aa396c08e&dn=bbb%5Fsunflower%5F1080p%5F30fps%5Fnormal.mp4&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80%2Fannounce&ws=http%3A%2F%2Fdistribution.bbb3d.renderfarming.net%2Fvideo%2Fmp4%2Fbbb%5Fsunflower%5F1080p%5F30fps%5Fnormal.mp4";

Hangs on buffering

Hello,
Torrent files from itorrent.ws are not working. The progress bar hangs on random position, never goes up to 100%.

Please check.

Sequential download only for selected file

Hi. I'm trying to implement streaming for a user-selected file from the torrent. In this case, other files normally have NORMALpriority, and for the selected file, as I read bytes from TorrentInputStream, I make setInterestedBytes() for the next byte portion. But this approach does not work and the file download doesn't get consistent, in fact the priority change to SEVEN is ignored and prioritized pieces are not downloaded first. Can you tell me how to be in a similar situation? I could use TorrentStream-Android as it is, but it works well only when you download one file from the entire torrent, and ignore the rest.

Works the first time

Hi,
I have followed the example and everything works...except...the second time around it's doesn't start the download.

It's probably not your issue, but just in case i thought i'd check.

I used your sample, which i an activity of its own called by mine when i need to stream a file. All is great, until i leave the activity, and re-open it the next time its needed. This time however it doesn't start the download.
If i kill the app, and restart it again it works.

As i said, it maybe the way i'm handling the activity, but i cant see why this would be. the onCreate is the same as your sample.

Hope you can help.

Typo in the readme

Hey you've got an error in your link to your github dependencie

compile "com.github.se_bastiaan:TorrentStream-Android:2.0.0"

compile "com.github.se-bastiaan:TorrentStream-Android:2.0.0"

Unable to start stream

Hi,

First of all thanks for providing us the code .

I am having some issue with the sample code provided.
I am following the same step mentioned in the sample app in my app , wat i can see is neither the streaming nor downloading starts . I also dnt get any error message . Can you please help me.

Sample app also not working , after start stream , nothing happens , neither the progress bar increase's nor file getting downloaded.

Cannot start download

I am trying to load a local torrent, and it's able to load it and create the file, and triggers onStreamPrepared(), but never actually starts downloading.

I get the following errors:
D/dalvikvm: Trying to load lib /data/app-lib/net.volumetouch.android.uhdpro-2/libjlibtorrent.so 0x417a49f0
D/dalvikvm: Added shared lib /data/app-lib/net.volumetouch.android.uhdpro-2/libjlibtorrent.so 0x417a49f0
D/dalvikvm: No JNI_OnLoad found in /data/app-lib/net.volumetouch.android.uhdpro-2/libjlibtorrent.so 0x417a49f0, skipping init

I have checked and the file exists.

TorrentStream-Android is not working

W/linker: /data/app/com.example.levey.magnet-2/lib/arm64/libjlibtorrent.so: unused DT entry: type 0x6ffffffe arg 0x187228
W/linker: /data/app/com.example.levey.magnetr-2/lib/arm64/libjlibtorrent.so: unused DT entry: type 0x6fffffff arg 0x3

the cpu is armv7a powered by Mediatek

Identifying file download progress

Hi,

Quick question here, I was wondering if I can select more than one file to download per torrent? For example I have something like this:

TorrentStream torrentStream = mTorrentStreamCache.getDownloadTorrent(abcTorrent);

torrentStream.addListener(new DefaultTorrentListener(abcTorrent) {
    @Override
    public void onStreamPrepared(Torrent torrent) {
        Log.d(TAG, "The DefaultTorrentListener#onStreamPrepared(Torrent) method was fired");
        EventBus.getDefault().post(new AbcTunesEvents.TrackBufferingEvent(torrent, getAbcTorrent().getSelectedFile()));
        torrent.setSelectedFileIndex(getAbcTorrent().getSelectedFile());
        torrent.startDownload();
    }

    @Override
    public void onStreamProgress(Torrent torrent, StreamStatus streamStatus) {
        super.onStreamProgress(torrent, streamStatus);
        //Show download progress
    }
});

if (torrentStream.isStreaming()) {
    Torrent torrent = torrentStream.getCurrentTorrent();
    torrent.setSelectedFileIndex(abcTorrent.getSelectedFile());
    torrent.startDownload();

    EventBus.getDefault().post(new AbcTunesEvents.TrackBufferingEvent(torrent, abcTorrent.getSelectedFile()));
} else {
   torrentStream.startStream(abcTorrent.getMagneticLink());
}
  • mTorrentStreamCache.getDownloadTorrent(abcTorrent) is a TorrentStream memory cache. It returns an existing TorrentStream if It's already being streamed or returns a new TorrentStream if this is the first time that we call it.

  • Once that we get the TorrentStream we start the download, if its a new TorrentStream we're gonna call torrentStream.startStream(abcTorrent.getMagneticLink()); that will trigger the TorrenListener#onStreamPrepared(Torrent) method, where we set the file index. If the TorrentStream was already initiallited I just se the file index and start the download.

If I want to download the first and third file from a torrent that contains six files, how can I set that? Calling Torrent#setSelectedFileIndex(int) unselects the previous selected file?

Playing the torrent while its being downloaded

Hi there!

I've been using your library in the development of a music torrent download App. I'm trying to figure out a way of playing the music files while they are being downloaded, but I'm stuck with that. I wrote a question in stackoverflow about it. I was wondering if you ever tried to do something like this. And if you did, ¿how did you achieve that?

Regards,

Play streaming

Sorry, i follow your sample, but how streaming video?

Download speed should be int

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.