phdru.name / Software / mc

Torrent Virtual FileSystem for Midnight Commander

Download Torrent Virtual FileSystem for Midnight Commander.

git clone http://git.phdru.name/extfs.d.git

git clone git://git.phdru.name/extfs.d.git

See the installation instructions.

View files, directories and meta information from a torrent metafile in Midnight Commander.

Requires Midnight Commander 3.1+ (http://www.midnight-commander.org/), Python 2.4+ (http://www.python.org/), module eff_bdecode.py from http://effbot.org/zone/bencode.htm (you can get it here).

WHAT'S NEW

Version 1.2.4 (2016-07-04)

Fix parsing torrents with empty sublist in the announce list.

Version 1.2.3 (2015-07-08)

Set directories/files date/time to the content of ".META/creation date" file if it exists or to the last modification time of the torrent file itself.

Version 1.2.2 (2015-01-10)

Changed link to installation instructions.

Version 1.2.1 (2013-11-20)

Fixed a minor bug.

Version 1.2.0 (2013-11-16)

Get charset from the environment.

Version 1.1.1 (2013-11-11)

Documented the fact that the script can be put in $HOME/[.local/share/].mc/extfs.d.

Version 1.1.0 (2013-06-10)

Show DHT nodes if they are present.

Show publisher and publisher-url if they are available.

Use name.utf-8, path.utf-8 and comment.utf-8 if those are available.

Use codepage instead of encoding if codepage is available and encoding is not.

Version 1.0.0 (2010-11-11)

Initial release.

The VFS lists all files and directories from the torrent metafile; all files appear empty, of course, but the sizes are shown. Filenames are reencoded from the metafile's encoding/codepage to the current locale.

Along with the files/directories in the torrent metafile the VFS also presents meta information - in the form of files in .META directory. The size and contents of these files are taken from the corresponding fields in the torrent metafile. The script doesn't check if the torrent consists of a .META file or directory (quite unlikely).

Date/time for all directories/files is set to the value of 'creation date' field, if it exists; if not date/time is set to the last modification time of the torrent file itself.

The filesystem is, naturally, read-only.

Copyright (C) 2010-2015 PhiloSoft Design

License: GPL


This is the page http://phdru.name/Software/mc/torrent.html. It was generated on Mon, 04 Jul 2016 15:29:35 GMT from CheetahTemplate torrent.tmpl. Some rights are reserved. Read more about technical aspects of the site.