I’ve just started using jlibtorrent, does it have any way to download specific files?


Partial Downloading

Yes, we call this “Partial Downloading”.

With a TorrentHandle object you want to play with methods like

filePriority(int index, Priority priority)

where the index represents the position of the file you want to download (or not) in the list of files described by the torrent.

You can also use prioritizeFiles(Priority[] priorities) to update the priorities, and you can find what the priorities are with Priority[] filePriorities()

A (Downloading) Priority is an enum whose possible values are
IGNORE (Don’t download this file),
NORMAL (Download this file depending on availability)

and then you have priorities that are considered higher than NORMAL,
they start at TWO all the way to SEVEN.

You can use the other priorities
different than NORMAL if you want certain files to be downloaded before others (network conditions allowing)

New FrostWire 2.6.0 for Android now with Cloud Video Downloads

Free .APK Download frostwire-android-release-2.6.0-b704-plus.apk

  • Telluride Video Page Search is finally available for Android.
    Enter a video website URL to search for available videos in it so you can back them up offline. Supports hundreds of websites.
  • Faster more responsive keyword search.

Works on over 100 popular websites that share free videos like Reddit, Twitter, …, Vimeo, News, social media websites and more đŸ˜˜. Just copy and paste the video page URL into the FrostWire search box to get started.

Iceberg Photograph by Jean-Christophe André

LESS IS MORE: FrostWire 2.5.0 for Android

The FrostWire we’d like to use is here, and new powerful features are coming up very soon

Less is more picture by Jorge Urosa via Pexels (Free to use)

Download the android installer free
frostwire-android-release-2.5.0-b701-plus.apk 38.1 MB (Recommended, full featured)
frostwire-android-release-2.5.0-b701-basic.apk 38.1 MB (Google Play version, more restrictive)

  • Removal of annoying Interstitial ad display logic, video ads are only shown when user wants to remove ads for 30 minutes
  • Removal of “My Files”, it’s impossible to maintain across so many android versions and devices with the file management quicksand on android
  • “Downloads” opens the user’s favorite Android File Explorer
  • Fixes issues where finished downloads would get re-inserted into the MediaStore
    giving users the impression the file had been downloaded multiple times
  • FrostWire will correctly handle opening music files from different file explorers as long as
    the music files have been scanned by the Android Media Store
  • Major code cleanup after removal of “My Files” fragments and activities
  • Finished download scanning issues solved for Android 10, 11 and 12.
  • Easy access to Google Play Subscriptions management.
  • Fixed soundcloud search performer.
  • com.android.tools.build:gradle:7.2.2
  • com.google.android.material:material:1.6.1
  • com.google.firebase:firebase-crashlytics-gradle:2.9.1
  • com.google.gms:google-services:4.3.13
  • androidx.annotation:annotation:1.4.0
  • com.unity3d.ads:unity-ads:4.2.1

    Soon we’ll make available FrostWire 2.6.0 which is able to search and backup videos from hundreds of popular websites when video page URLs are entered on the app’s search box. We are currently alpha testing FrostWire 2.6.0.

New FrostWire 6.9.8 for Windows, Mac (x86 and arm), and Linux, with new jlibtorrent 1.2.16.0 and new Java Runtime Environment 18.0.1

Official Installers
windows installer (x86_64): frostwire-6.9.8.windows.github.exe

mac intel: frostwire-6.9.8-x86_64.dmg
mac arm: frostwire-6.9.8-arm64.dmg

linux debian: frostwire-6.9.8.amd64.deb
linux rpm: frostwire-6.9.8.amd64.rpm

Java Enabled (x86_64) environment: frostwire-6.9.8.amd64.tar.gz

frostwire (6.9.8) stable; urgency=high

  • Java Runtime Environment 18.0.1 update
  • TorLock search fixed
  • Removed torrent-paradise.ml, moved to IPFS, no longer works with JSON api
  • Telluride Build 22
  • com.squareup.okhttp3:okhttp:4.9.3
  • org.junit.jupiter:junit-jupiter:5.8.2
  • jlibtorrent 1.2.16.0 (boost 1.79, openssl 1.1.1n)
  • lt:upgrade to boost 1.79
  • lt:openssl 1.1.1n upgrade
  • lt:fix bdecode support for large strings (>= 100 MB)
  • lt:send User-Agent field in anonymous mode
  • lt:fix python binding for settings_pack conversion
  • lt:fix DHT announce timer issue
  • lt:use DSCP_TRAFFIC_TYPE socket option on windows
  • lt:update default ToS setting according to RFC 8622
  • lt:keep trying to announce to trackers even when all fail
  • lt:don’t disable announcing from local endpoints because of temporary failures
  • lt:fix issue in parsing UPnP XML response with multiple forwarding services — FrostWire Team contact@frostwire.com Mon, 25 Apr 2022 13:03:00 -0600
Download FrostWire

jlibtorrent 1.2.16.0 released for mac x86_64, mac arm64, windows x86_64, linux x86_64, android arm32, arm64, x86, x86_64

Download binary libraries

1.2.16.0

 * Expose settings_pack.validate_https_trackers with SettingsPack::validateHttpsTrackers methods

 * upgrade to boost 1.79

 * openssl 1.1.1n upgrade

 * fix bdecode support for large strings (>= 100 MB)

 * send User-Agent field in anonymous mode

 * fix python binding for settings_pack conversion

 * fix DHT announce timer issue

 * use DSCP_TRAFFIC_TYPE socket option on windows

 * update default ToS setting according to RFC 8622

 * keep trying to announce to trackers even when all fail

 * don’t disable announcing from local endpoints because of temporary failures

 * fix issue in parsing UPnP XML response with multiple forwarding services

New FrostWire 6.9.7, now also with native installers for macOS M1 CPUs and Intel CPUs

frostwire (6.9.7) stable; urgency=high
  * New mplayer 12.0.5/ffmpeg 4.2.1 build.
  * macOS arm64 and x86_64 fwplayer builds
  * Telluride Cloud Video Downloader build 21 (new macOS arm64 builds)
  * Faster telluride URL search results
  * jlibtorrent 1.2.15.1 (boost 1.78, openssl 1.1.1m)
  * lt:don't disable announcing from local endpoints because of temporary failures
  * lt:fix issue in parsing UPnP XML response with multiple forwarding services
  * lt:cache DNS lookups for SOCKS5 proxy
  * lt:fix stalled pieces on disk-full errors
  * lt:fix build configuration issue on NetBSD, OpenBSD and DragonFly
  * lt:make UTF-8 sanitization a bit stricter. This will re-write invalid UTF-8 code points encoding surrogate pairs
  * lt:fix restoring last_seen_complete from resume data
  * lt:fix issue on MacOS where the DHT was not restarted on a network-up notification
  * lt:make remove_torrent flags be treated as flags (instead of an enum)

 -- FrostWire Team <contact@frostwire.com>  Wed, 12 Jan 2022 01:00:00 -0600

macOS minimum suggested compatibility for FrostWire updated to 11.5.2 (Big Sur)

We won’t be supporting 10.14.6 anymore. (although it most likely run fine for the most part)

Our oldest mac from 2014 (7 years old as of this post) upgraded fine to macOS 11.5.2 Big Sur and FrostWire passes all tests in it.

Starting our next desktop build we will be focusing on supporting macOS 12 Monterrey as we’ve had a few users with newer computers reporting crashes.

New FrostWire 6.9.6 for Windows, Mac and Linux

image

Download it here:
Windows: frostwire-6.9.6.windows.github.exe
MacOS: frostwire-6.9.6.dmg
Linux: frostwire-6.9.6.amd64.deb | frostwire-6.9.6.amd64.rpm | frostwire-6.9.6.amd64.tar.gz

Support FrostWire Development with a donation

What’s new:
* Option to turn off auto-pasting URLs and magnets in the clipboard to search textbox
* JDK 17 compatibility update, bleeding edge Java Technology
* Includes JDK 17 runtime on all installers. Linux installers now include JDK runtime. No more Java not found issues for Linux users
* Telluride Cloud Video Downloader build 18 update

Support libraries updated:

com.squareup.okhttp3:okhttp:4.9.2 faster HTTP connections means faster search, faster HTTP downloads
com.google.re2j:re2j:1.6 faster Regular Expressions, faster search results
com.google.code.gson:gson:2.8.8 faster JSON parsing, faster search results

org.junit.jupiter:junit-jupiter:5.8.1

New FrostWire for Android 2.4.2 build 684, Android 11, 12 compatible, Fastest search results ever

Download frostwire-android-release-2.4.2-b684-plus.apk

FrostWire 2.4.2 build 684 – SEP/21/2021

  • Search screen rewritten, considerably faster search results
  • WRITE_EXTERNAL and WRITE_SETTINGS permissions no longer required
  • Android 11+ compatibility updates in the way the app interacts with the Android Media Store API
  • After Android 10, files can no longer be deleted from “My Files”, this has been delegated to the OS’s File Manager, less is more.
  • gradle:4.1.0 -> 4.2.2 -> 7.0.2
  • Java 11 language support, common/ and android/ codebased will be modernized through future updates
  • Storage location selection feature dropped, the application will use external shared storage where available by default
  • minSdkVersion 24 (Android 7.0)
  • targetSdkVersion 30 (Android 11)
  • New jlibtorrent 1.2.14.1 (no more netlink sockets, ifaddr sockets)
  • Set as Ringtone action removed (needed WRITE_SETTINGS) permission
  • Soundcloud search fixed
  • lt:fix issue on MacOS where the DHT was not restarted on a network-up notification
  • lt:make remove_torrent flags be treated as flags (instead of an enum)
  • lt:improve handling of seed flag in PEX messages
  • lt:fix issue of accruing unlimited DHT node candidates when DHT is disabled
  • lt:fix bug in parsing chunked encoding
  • lt:fix incorrect reporting of active_duration when entering graceful-pause
  • com.google.gms:google-services:4.3.10
  • com.google.firebase:firebase-crashlytics-gradle:2.7.1
  • com.google.android.flexbox:flexbox:3.0.0
  • com.mopub:mopub-sdk:5.18.0
  • com.mopub.mediation:unityads:3.7.5.0
  • com.mopub.mediation:applovin:10.3.3.0
  • com.unity3d.ads:unity-ads:3.7.5
  • com.applovin:applovin-sdk:10.3.2
  • com.google.android.material:material:1.4.0
  • androidx.exifinterface:exifinterface:1.3.3
  • androidx.appcompat:appcompat:1.3.1
  • androidx.recyclerview:recyclerview:1.2.1
  • androidx.core:core-ktx:1.6.0
  • com.google.android.gms:play-services-ads:20.2.0
  • com.android.billingclient:billing:4.0.0
  • com.google.android.gms:play-services-ads:20.3.0
  • com.google.code.gson:gson:2.8.8
  • com.google.re2j:re2j:1.6
  • com.squareup.okhttp3:okhttp:5.0.0-alpha.2
  • com.android.tools.build:gradle:7.0.2

Picture via Unsplash by Jake Givens

New FrostWire 6.9.5 for Windows, Mac and Linux

Windows Installer
frostwire-6.9.5.windows.github.exe

Mac installer
frostwire-6.9.5.dmg

Linux installers
frostwire-6.9.5.amd64.deb (ubuntu/debian)
frostwire-6.9.5.amd64.rpm (redhat/centos)

frostwire-6.9.5.amd64.tar.gz (other. Requires Java Runtime Environment 11+)

frostwire (6.9.5) stable; urgency=high

  • SC search fixed
  • jlibtorrent-1.2.14.0 update
  • dev: common java source code now has Java 11 support. cleanups.
  • lt:fix issue on MacOS where the DHT was not restarted on a network-up notification
  • lt:make remove_torrent flags be treated as flags (instead of an enum)
  • lt:improve handling of seed flag in PEX messages
  • lt:fix issue of accruing unlimited DHT node candidates when DHT is disabled
  • lt:fix bug in parsing chunked encoding
  • lt:fix incorrect reporting of active_duration when entering graceful-pause

— FrostWire Team contact@frostwire.com Thu, 02 Sep 2021 14:51:00 -0600