youtubedl-android
youtubedl-android copied to clipboard
Error To Get VideoInfo
Disposable disposable = Observable.fromCallable(() -> YoutubeDL.getInstance().getInfo(url))
.subscribeOn(Schedulers.newThread())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(streamInfo -> {
Toast.makeText(youtubeDown.this, streamInfo.getTitle(), Toast.LENGTH_LONG).show();
}, e -> {
Toast.makeText(youtubeDown.this, " failed", Toast.LENGTH_LONG).show();
});
compositeDisposable.add(disposable);
same : im getting this log startDownload: com.yausername.youtubedl_android.mapper.VideoInfo@8de0d1a instead of the video information