0.0.3 • Published 10 years ago

nzbfs v0.0.3

Weekly downloads
7
License
-
Repository
github
Last release
10 years ago

nzbfs

A Fuse filesystem for mounting NZB files.

Install

First install the development package of Fuse for your system. I.e. for Debian based systems:

$ sudo apt-get install libfuse-dev

Install nzbfs using npm:

$ sudo npm -g install

Add a configuration file to your home directory: ~/.nzbfs.json

{
	"servers": [
		{
			"connections": 8,
			"host": "newszilla.xs4all.nl",
			"username": "<your username>",
			"password": "<your password>"
		}
	],

	"useServer": 0,

	"player": "mplayer",
	"unmount": "fusermount -u"
}
  • username and password can be omitted when they are not necessary.
  • You can specify multiple servers, but eventually only one server will be used. You can specify which by using the useServer parameter.

Usage

You can mount nzb files using the following command

$ nzbfs <nzb-file> <mountpoint>
  • nzb-file can either be a path to a locally stored NZB file or a HTTP url
  • mountpoint is the path where the files will be available, when the command has completed.

rar2fs

To access files inside a set of rar files you can optionally install rar2fs. When rar2fs is available and a mediaplayer like mplayer, you can use the command playnzb to directly play a video. The mediaplayer, that is being used, can be configured using the player parameter in the ~/.nzbfs.json configuration file.

$ playnzb <nzb-file>