yausername / youtubedl-android

youtube-dl for android
GNU General Public License v3.0
934 stars 172 forks source link

Error To Get VideoInfo #252

Open AllrounderBapu opened 8 months ago

AllrounderBapu commented 8 months ago
 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);
tomleejumah commented 3 months ago

same : im getting this log startDownload: com.yausername.youtubedl_android.mapper.VideoInfo@8de0d1a instead of the video information