-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathINSTALL.en
More file actions
93 lines (64 loc) · 5.08 KB
/
INSTALL.en
File metadata and controls
93 lines (64 loc) · 5.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
## How works. (EXCUSE MY ENGLISH)
This proyect is in early stage of development.
To configure copy the config/config.min.php file to /etc/trackerm.conf and edit the config file. All fields required.
In "TMDB" tab you can search for movies/shows and automatically will show you the torrents, if can't find any you can choose 'wanted' and
trackerm will check every certain time for released torrents and automatically download when a match appears.
In the Torrents tab you can search for movies/shows torrents. Clicking in download will automatically sending to Transmission-daemon
In Wanted you can see what movies/shows trackerm are tracking for download, and change the check day.
In Released you can see the latest torrent releases published by your selected trackers
In Library you can see your movies/shows, identify, show seasons and check missing episodes.
trackerm will track your transmission movie/shows downloads and automatically move to your library path.
## DIRECTORY PERMISSIONS
Your www server must have this permissions (probably www-data user/group):
* ( R/W )to cache cache/log cache/images : save db files and images and logs (directory 775)
* ( R ) to MOVIES_PATH : Where your movies library reside ( RW ) If you want rename files
* ( R ) to SHOWS_PATH : Where your shows library reside( RW ) If you want rename files
* ( R ) to TORRENT_FINISH_PATH : Where transmission drop your completed files
All automatic jobs are doing with trackerm-cli.php you must configure your contrab to execute it, if you use
a non-root user:
* ( RW ) to MOVIES_PATH : Where your movies library reside
* ( RW ) to SHOWS_PATH : Where your shows library reside
* ( RW ) to TORRENT_FINISH_PATH: Where transmission drop your files
## CONFIGURE
All configuration options going in /etc/trackerm.conf , you need copy the file config/config.min.php to /etc and rename as trackerm.conf and then configure.
## Automatic search for wanted media and "automatic moving file" mechanism.
trackerm-cli.php must be added to your cron.
How works :
* Will looking for wanted items the days configured and automatic download if found any coincidence.
* Will move all media detected in transmission-daemon in the state "completed" to a directory in your library directory (you can configure if move all media detected
or only the media download throught this software (adding to transmission clicking throught this app).
The "automatic move tool" (AMT) only move pause/stopped torrents (completed). The AMT tool will create a symbolic link to your library when the torrent is seeding.
When finish seeding it will move the file to your library path and remove the torrent and all related content.
Support RAR files. Will warn if the file is encrypt for unrar it manulally (detection not work ok).
Basic line for /etc/crontab (every 5 minuts):
*/5 * * * * root /usr/bin/php /path/to/trackerm-cli.php
You can place trackerm-cli where you want and change the user if you set the right permissions. Remember look at the permission for all directorys where trackerm need to work.
If you move the trackerm-cli file out of his original place remember each time you upgrade trackerm you must move and overwrite the file.
In case of use other users (example www-data) you can check if have the right permissions with:
sudo -u www-data php trackerm-cli.php -check
## Programming Language
Php+Javascript (Jquery in the futere probably)
## Requisites:
Apache+Php7 (or similar), Jacket, Transmission, account+api key themoviedb.org, CRON, sqlite3
## Installation
* Copy all files from to a destination directory. Copy config.min.php to /etc/trackerm.conf and fill all fields
* Install curl php-curl php-mbstring php-xml
## Requisites: Details:
* Web server (tested on apache)
* With php7 and curl support
* For caching the images you need allow_url_fopen in your php.ini
* R/W in cache and cache/images cache/log. Database files and images will be stored in cache dir, must be writable.
* Jackett
* Configured with your selected indexers (add the indexers you want use to you config file and set the api key.
You need the indexer name. In jackett you can see the URL in the Copy Feed options, if the url is
http://192.x.x.x/api/v2.0/indexers/my_indexer_name/results/torznab/api?apikey=1234
You must add my_indexer_name to the trackerm.conf file.
* Transmission-daemon
* Configured to accept RPC connections (add the connection details to /etc/trackerm.conf (template config/config.min.php)
* Beware the transmission /etc/transmission-daemon/settings.json will we rewrite after stop the daemon.
Stop the transmission daemon before do any changes.
* TheMovieDB.ORG
* I provide a general and probably working API key , but you can create a account and request a personal api key (set it in /etc/tracker.conf)
* Language / Locales
* Make sure you have your locales you going to use (en_EN.UTF8? ) installed in the system 'locales -a'
In debian you can use 'dpk-reconfigure locales' for install locales