mano3m 461a0b3645 Seeding support
Design intent:
- Option to turn seeding support on or off
- After torrent downloading is complete the seeding phase starts, seeding parameters can be set per torrent provide (0 disables them)
- When the seeding phase starts the checkSnatched function renames all files if (sym)linking/copying is used. The movie is set to done (!), the release to seeding status.
- Note that Direct symlink functionality is removed as the original file needs to end up in the movies store and not the downloader store (if the downloader cleans up his files, the original is deleted and the symlinks are useless)
- checkSnatched waits until downloader sets the download to completed (met the seeding parameters)
- When completed, checkSnatched intiates the renamer if move is used, or if linking is used asks the downloader to remove the torrent and clean-up it's files and sets the release to downloaded
- Updated some of the .ignore file behavior to allow the downloader to remove its files

Known items/issues:
- only implemented for uTorrent and Transmission
- text in downloader settings is too long and messes up the layout...

To do (after this PR):
- implement for other torrent downloaders
- complete download removal for NZBs (remove from history in sabNZBd)
- failed download management for torrents (no seeders, takes too long, etc.)
- unrar support

Updates:
- Added transmission support
- Simplified uTorrent
- Added checkSnatched to renamer to make sure the poller is always first
- Updated default values and removed advanced option tag for providers
- Updated the tagger to allow removing of ignore tags and tagging when the group is not known
- Added tagging of downloading torrents
- fixed subtitles being leftover after seeding
2013-06-26 19:49:04 +02:00
2013-06-26 19:49:04 +02:00
2013-06-14 08:57:37 +02:00
2013-06-22 00:34:58 +02:00
2012-09-02 11:27:57 +02:00
2013-01-22 22:41:17 +01:00
2011-03-07 13:50:56 +01:00
2013-06-19 22:36:56 +02:00
2013-03-17 16:39:09 +01:00

CouchPotato Server

CouchPotato (CP) is an automatic NZB and torrent downloader. You can keep a "movies I want"-list and it will search for NZBs/torrents of these movies every X hours. Once a movie is found, it will send it to SABnzbd or download the torrent to a specified directory.

Running from Source

CouchPotatoServer can be run from source. This will use git as updater, so make sure that is installed also.

Windows, see the CP forum for more details:

  • Install Python 2.7
  • Then install PyWin32 2.7 and GIT
  • If you come and ask on the forums 'why directory selection no work?', I will kill a kitten, also this is because you need PyWin32
  • Open up Git Bash (or CMD) and go to the folder you want to install CP. Something like Program Files.
  • Run git clone https://github.com/RuudBurger/CouchPotatoServer.git.
  • You can now start CP via CouchPotatoServer\CouchPotato.py to start
  • Your browser should open up, but if it doesn't go to: http://localhost:5050/

OSx:

  • If you're on Leopard (10.5) install Python 2.6+: Python 2.6.5
  • Install GIT
  • Open up Terminal
  • Go to your App folder cd /Applications
  • Run git clone https://github.com/RuudBurger/CouchPotatoServer.git
  • Then do python CouchPotatoServer/CouchPotato.py
  • Your browser should open up, but if it doesn't go to: http://localhost:5050/

Linux (ubuntu / debian):

  • Install GIT with apt-get install git-core
  • 'cd' to the folder of your choosing.
  • Run git clone https://github.com/RuudBurger/CouchPotatoServer.git
  • Then do python CouchPotatoServer/CouchPotato.py to start
  • To run on boot copy the init script. sudo cp CouchPotatoServer/init/ubuntu /etc/init.d/couchpotato
  • Change the paths inside the init script. sudo nano /etc/init.d/couchpotato
  • Make it executable. sudo chmod +x /etc/init.d/couchpotato
  • Add it to defaults. sudo update-rc.d couchpotato defaults
  • Open your browser and go to: http://localhost:5050/

FreeBSD :

  • Update your ports tree sudo portsnap fetch update
  • Install Python 2.6+ lang/python with cd /usr/ports/lang/python; sudo make install clean
  • Install port databases/py-sqlite3 with cd /usr/ports/databases/py-sqlite3; sudo make install clean
  • Add a symlink to 'python2' sudo ln -s /usr/local/bin/python /usr/local/bin/python2
  • Install port ftp/libcurl with cd /usr/ports/ftp/fpc-libcurl; sudo make install clean
  • Install port ftp/curl, deselect 'Asynchronous DNS resolution via c-ares' when prompted as part of config cd /usr/ports/ftp/fpc-libcurl; sudo make install clean
  • Install port textproc/docbook-xml-450 with cd /usr/ports/textproc/docbook-xml-450; sudo make install clean
  • Install port GIT with cd /usr/ports/devel/git; sudo make install clean
  • 'cd' to the folder of your choosing.
  • Run git clone https://github.com/RuudBurger/CouchPotatoServer.git
  • Then run sudo python CouchPotatoServer/CouchPotato.py to start for the first time
  • To run on boot copy the init script. sudo cp CouchPotatoServer/init/freebsd /etc/rc.d/couchpotato
  • Change the paths inside the init script. sudo vim /etc/init.d/couchpotato
  • Make init script executable. sudo chmod +x /etc/rc.d/couchpotato
  • Add init to startup. sudo echo 'couchpotato_enable="YES"' >> /etc/rc.conf
  • Open your browser and go to: http://server:5050/
S
Description
Automatic Movie Downloading via NZBs & Torrents
Readme
22 MiB
Languages
Python 91.1%
JavaScript 7%
CSS 1.5%
HTML 0.2%
Shell 0.2%