https://github.com/althonos/thunar-torrent-property
A small thunar extension displaying the metadata in a torrent file.
https://github.com/althonos/thunar-torrent-property
gtk2 gtk3 libtorrent thunar thunarx torrent
Last synced: 4 months ago
JSON representation
A small thunar extension displaying the metadata in a torrent file.
- Host: GitHub
- URL: https://github.com/althonos/thunar-torrent-property
- Owner: althonos
- License: gpl-3.0
- Created: 2017-05-20T20:31:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-14T14:50:25.000Z (over 5 years ago)
- Last Synced: 2024-12-27T19:11:52.703Z (4 months ago)
- Topics: gtk2, gtk3, libtorrent, thunar, thunarx, torrent
- Language: C
- Size: 258 KB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# `thunar-torrent-property` [](https://github.com/althonos/thunar-torrent-property/stargazers)
*A small thunar extension displaying the metadata in a torrent file.*
[](https://gitlab.com/althonos/thunar-torrent-property/commits/master)
[](https://choosealicense.com/licenses/gpl-3.0/)
[](https://github.com/althonos/thunar-torrent-property/)
[](https://www.codacy.com/app/althonos/thunar-torrent-property)## Features
* Works with both `thunarx-2.0` and `thunarx-3.0`
* Fetches the number of seeders / leechers currently available
* Display a list of tracker URLs
* Display the files described by the **torrent** file in a
tree-based viewer## Usage
1. Right Click on a torrent file and open *Properties...*
2. Go to the *Torrent* tab
3. ???
4. Profit.
## Installation
### Dependencies
#### Build
* `cmake`
* `make` or `Ninja`
* a `C` and `C++` compiler (at the moment, only `gcc` is actively supported)#### Runtime dependencies
* `gtk+-2.0`
* `thunarx` (installed with [XFCE / Thunar](http://docs.xfce.org/xfce/thunar/start))
* `libtorrent` (the [rasterbar](http://www.libtorrent.org/) version), **>= 1.1.0**
* `Boost/system` (required to interface with `libtorrent`)### Installing dependencies (tested distributions)
###### ArchLinux
```
pacman -S base-devel cmake libtorrent-rasterbar thunar gtk2 boost
```###### Ubuntu **>= 16.10 (yakkety)**
```
apt install cmake libthunarx-2-dev libgtk2.0-dev \
libboost-filesystem-dev libboost-system-dev libglib2.0-dev \
build-essential libssl-dev libtorrent-rasterbar-dev
```###### Ubuntu **>= 19.04 (disco)**
```
apt install cmake libthunarx-3-dev libgtk2.0-dev \
libboost-filesystem-dev libboost-system-dev libglib2.0-dev \
build-essential libssl-dev libtorrent-rasterbar-dev
```###### Fedora
```
dnf install gtk+-devel boost-devel cmake gcc Thunar-devel \
rb_libtorrent-devel make gcc-c++
```### Building from source
This project uses `CMake`. Start by creating a directory to do an
an out-of-source build:
```
mkdir build
cd build
```By default, the target `thunarx` version is detected automatically
using `pkg-config`. Set the `THUNARX_TARGET_VERSION` variable to
2 or 3 to manually select the version to build against.###### Ninja
```
cmake .. -GNinja
ninja
sudo ninja install
```###### Make
```
cmake ..
make
sudo make install
```Both commands will install a single file, `thunar-torrent-property.so`,
in the `extensions` directory of **Thunar** (you can check where that
directory is running `pkg-config --variable=extensionsdir thunarx-X`,
most of the time it will be `/usr/lib/thunarx-X` or `/lib/thunarx-X`)
where `X` is either `2` or `3` depending on your library version.