Skip to content

Commit

Permalink
Update to 0.2.179
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Dec 6, 2016
1 parent 4e8a595 commit 07d7805
Show file tree
Hide file tree
Showing 10 changed files with 95 additions and 22 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ Vagrantfile
**/.cache
nzbhydra.pid
/buildWindowsDist.py
/makeGithubRelease.py
/pushToMasterAndRelease.py
29 changes: 9 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# nzbhydra [![Build Status](https://travis-ci.org/theotherp/nzbhydra.svg?branch=master)](https://travis-ci.org/theotherp/nzbhydra) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/theotherp/nzbhydra.svg)](http://isitmaintained.com/project/theotherp/nzbhydra "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/theotherp/nzbhydra.svg)](http://isitmaintained.com/project/theotherp/nzbhydra "Percentage of issues still open")
NZBHydra is a meta search for NZB indexers and the "spiritual successor" to [NZBmegasearcH](https://github.com/pillone/usntssearch). It provides easy access to a number of raw and newznab based indexers.
NZBHydra is a meta search for NZB indexers. It provides easy access to a number of raw and newznab based indexers. You can search all your indexers from one place and use it as indexer source for tools like Sonarr or CouchPotato.


## Features
* Searches Binsearch, NZBIndex, NZBClub, omgwtfnzbs.org, Womble and most newznab compatible indexers (see https://github.com/theotherp/nzbhydra/issues/20 and https://github.com/theotherp/nzbhydra/wiki/Supported-Search-Types-And-Indexer-Hosts )
* Searches Binsearch, NZBIndex, NZBClub, Womble and all newznab compatible indexers (see https://github.com/theotherp/nzbhydra/issues/20 and https://github.com/theotherp/nzbhydra/wiki/Supported-Search-Types-And-Indexer-Hosts )
* Search by IMDB, TMDB, TVDB, TVRage and TVMaze ID (including season and episode) and filter by age and size. If an ID is not supported by an indexer it is attempted to be converted (e.g. TMDB to IMDB)
* Query generation, meaning when you search for a movie using e.g. an IMDB ID a query will be generated for raw indexers. Searching for a series season 1 episode 2 will also generate queries for raw indexers, like s01e02 and 1x02
* Grouping of results with the same title and of duplicate results, accounting for result posting time, size, group and poster. By default only one of the duplicates is shown. You can provide an indexer score to influence which one that might be
Expand All @@ -14,11 +14,11 @@ NZBHydra is a meta search for NZB indexers and the "spiritual successor" to [NZB
* Indexers with problems are paused for an increasing time span (like in sonarr)
* Multi user capabilities so that you can share with your friends but keep the config safe
* Login by HTTP basic auth or form
* Define required and forbidden words
* Define required and forbidden words and regexes
* Fine tune categories with separate required and forbidden words. Completely ignore categories in search results. Map newznab categories to internal categories. Use indexers only for certain categories.
* Reverse proxy compatible. See https://github.com/theotherp/nzbhydra/wiki/Reverse-proxy
* Reverse proxy compatible. See https://github.com/theotherp/nzbhydra/wiki/Reverse-proxies-and-URLs
* Basic torrent support via [Jackett](https://github.com/Jackett/Jackett) / [Cardigann](https://github.com/cardigann/cardigann/). Only for internal searches.
* [Dark theme](http://imgur.com/a/iCzL0) and [Bright theme](https://imgur.com/a/lBq9n) (slightly out of date)
* [Dark theme](http://imgur.com/a/iCzL0), grey theme and [Bright theme](https://imgur.com/a/lBq9n) (slightly out of date)

## How to run
If you downloaded the source run with Python 2.7.9+. Runs on http://0.0.0.0:5075 by default. See the console output on how to choose the port and host using command line parameters.
Expand All @@ -28,7 +28,8 @@ If you downloaded the [windows release](https://github.com/theotherp/nzbhydra-wi
You're also free to use the [docker container by linuxserver.io](https://hub.docker.com/r/linuxserver/hydra/).
Although I do my best to keep that container nice and working please [use their forum](https://forum.linuxserver.io/index.php?threads/support-linuxserver-io-hydra.499/) for support regarding that container.

## Install
## Install as service
### Linux
Install scripts are provided for Ubuntu upstart based systems in the `contrib` directory. To install:

```sh
Expand All @@ -50,21 +51,9 @@ Start the service:
sudo service nzbhydra start
```

## TODO
* Better query generation
* More stats?
* Include comments, rating, etc or link to them
* Clean up code base
* Better test coverage so updates don't break stuff
* ...? Let me know if you have an idea.
### Windows
See the WindowsService folder in your NZB Hydra directory. It contains batch scripts to install and uninstall Hydra as a service. Run `installService.cmd` with administrator rights.

## To note
As I said query generation is very basic. When selecting a category and doing a search the category will only be used for newznab indexers, for all the raw indexers we will just search using the query. Generating "proper" queries from a category is very hard so you will need to do the filtering visually. Especially with raw indexers that don't support "OR" queries we would need to send a lot of requests to get all the different combinations

Newznab providers don't send information on NFO availablity. If the search results show an NFO link for such an indexer you will need to just try if you can get one.


The program is currently in beta. Upgrading to an new version might cause loss of the configuration, stats or history. The console will contain debug information. It will crash. It is definitely not ready for general use.

## Development and how you can help
Generally testing and any bug reports are very welcome.
Expand Down
32 changes: 32 additions & 0 deletions WindowsService/installService.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
@echo off

net session >nul 2>&1
if %errorLevel% == 0 (
echo Administrator rights confirmed.
goto install
) else (
echo You need to run this script with administrator rights.
pause
goto eof
)

:install
echo Installing service
call "%~dp0nssm.exe" install NzbHydra "%%~dp0..\nzbhydra.exe"
if %errorlevel% neq 0 goto failure
echo Setting service exe
call "%~dp0nssm.exe" set NzbHydra Application "%~dp0..\nzbhydra.exe"
if %errorlevel% neq 0 goto failure
echo Setting service folder
call "%~dp0nssm.exe" set NzbHydra AppDirectory "%~dp0.."
if %errorlevel% neq 0 goto failure
echo Service installed successfully. Starting service...
call "%~dp0nssm.exe" start NzbHydra
pause
goto eof

:failure
echo An error occured while installing the service.
pause

:eof
Binary file added WindowsService/nssm.exe
Binary file not shown.
27 changes: 27 additions & 0 deletions WindowsService/uninstallService.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@echo off

net session >nul 2>&1
if %errorLevel% == 0 (
echo Administrator rights confirmed.
goto install
) else (
echo You need to run this script with administrator rights.
pause
goto eof
)

:install
echo Stopping service
call "%~dp0nssm.exe" stop NzbHydra
if %errorlevel% neq 0 goto failure
echo Uninstalling service
call "%~dp0nssm.exe" remove nzbhydra confirm
if %errorlevel% neq 0 goto failure
pause
goto eof

:failure
echo An error occured while uninstalling the service.
pause

:eof
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# NZB Hydra changelog

----------
### 0.2.179
Added: Scripts for windows release to easily create a windows service.

Fixed: Indexer username / password were not used for connection and capabilities check. See [#465](https://github.com/theotherp/nzbhydra/issues/465)

Misc: I've only had 70 survey responses so far compared to nearly 300 on the first survey. Please take part, if possible.

### 0.2.178
Fixed: Duplicate detection age and size were ignored. See [#463](https://github.com/theotherp/nzbhydra/issues/463)

Expand Down
Binary file modified nzbhydra.exe
Binary file not shown.
16 changes: 16 additions & 0 deletions static/js/nzbhydra.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/js/nzbhydra.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.178
0.2.179

0 comments on commit 07d7805

Please sign in to comment.