Git Product home page Git Product logo

couchpotatoserver's Introduction

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/

couchpotatoserver's People

Contributors

alshain avatar an0nym0us63 avatar arsecroft avatar bfagundez avatar clinton-hall avatar daemox avatar dersphere avatar echelonfour avatar exiva avatar garlandkr avatar gui13 avatar iamnos avatar itsmegb avatar mjc avatar nls44 avatar prinz23 avatar randallm avatar remboooo avatar ruudburger avatar sanderboele avatar sarvasana avatar sirchia avatar spion06 avatar tristian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

couchpotatoserver's Issues

T411

bonjour j'ai une erreur 403 avec t411
suis le seul?
[se.providers.torrent.t411] Login to T411 failed: HTTP Error 403: Accès refusé

T411 & Cpasbien et VOST

Hello

J'ai déjà évoqué le sujet, mais je voudrais le relancer. Je vois que la release de "RoiHomme" ^^ est disponible en DVDrip sur cpasbien, mais couch ne le snatche pas. Je crois savoir que tu n es pas favorable à la vost, mais si qqn veux du français ou de la vost, cela peut etre ajusté par les filtres de recherche. Hors là, il est impossible de snatcher de la vost st car cela est en dur dans la config du provider. Si je vais sur la release de Ruud, les providers ne sont pas pris en chargee car trop "français". Ce qui fait que l'on est un peu dans un no film land ... ;)

Je voyais une alternative à ta position : créer 2 providers par site : un ou il y aurait tout, l'autre uniquement les VF (comme actuellement); c est pas tres propre, mais ce serait un bon compromis;

Evidemment si je n etais pas une bille, j aurais déjà fait ma release :)

Tu en penses quoi ? :s

Improve quality in T411

T411 website allows quality filter. It's better to use them instaed of adding "720p" or "dvdrip" in the search string.
We could add something like that:

    TitleStringReal = getTitle(movie['library'])
    Quality = simplifyString(quality['identifier'])
    qString = ""

    if Quality == "dvdrip":
        qString = '&submit=Recherche&subcat=631&term%5B17%5D%5B%5D=541&term%5B17%5D%5B%5D=542&term%5B7%5D%5B%5D=13&term%5B7%5D%5B%5D=14&term%5B7%5D%5B%5D=10'
    elif Quality == "720p":
        qString = '&cat=210&submit=Recherche&subcat=631&term%5B17%5D%5B%5D=541&term%5B17%5D%5B%5D=542&term%5B7%5D%5B%5D=15'
    elif Quality == "1080p":
        qString = '&cat=210&submit=Recherche&subcat=631&term%5B17%5D%5B%5D=541&term%5B17%5D%5B%5D=542&term%5B7%5D%5B%5D=16'
    elif Quality == "brrip":
        qString = '&cat=210&submit=Recherche&subcat=631&term%5B17%5D%5B%5D=541&term%5B17%5D%5B%5D=542&term%5B7%5D%5B%5D=8&term%5B7%5D%5B%5D=9&term%5B7%5D%5B%5D=17&term%5B7%5D%5B%5D=554'
    else:
        qString = ""     


    URL = (self.urls['search'] % (simplifyString(TitleStringReal))).replace('-',' ').replace('  ',' ').replace('  ',' ').replace('  ',' ').encode("utf8")
    URL=unicodedata.normalize('NFD',unicode(URL,"utf8","replace"))
    URL=URL.encode('ascii','ignore')

    URL = urllib2.quote(URL.encode('utf8'), ":/?=")
    URL = URL + qString

    data = self.getHTMLData(URL , opener = self.login_opener)

Ignore required words for t411

For international providers, i've setup some "required words" such that "french"...
Obviously, T411 only return french results but "french" isn't systematically in the file name.
So it would be great if we could choose an option such that "ignore required words for t411".

Impossible to snatch torrent from T411

Bonjour,

J'ai un bug depuis un bon bout de temps maintenant, CP ne veut pas envoyer les torrent de T411 vers Transmission.

Une idée de l'origine ?

Voici le log :

03-04 14:31:35 ERROR Exception in callback None
Traceback (most recent call last):
File "/usr/local/couchpotatoserver-custom/var/CouchPotatoServer/libs/tornado/ioloop.py", line 836, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 56
03-04 14:31:35 ERROR Exception in callback None
Traceback (most recent call last):
File "/usr/local/couchpotatoserver-custom/var/CouchPotatoServer/libs/tornado/ioloop.py", line 836, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 56
Syno> cat logs/CouchPotato.log
03-04 14:31:35 ERROR Exception in callback None
Traceback (most recent call last):
File "/usr/local/couchpotatoserver-custom/var/CouchPotatoServer/libs/tornado/ioloop.py", line 836, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 56
03-04 14:31:35 ERROR Exception in callback None
Traceback (most recent call last):
File "/usr/local/couchpotatoserver-custom/var/CouchPotatoServer/libs/tornado/ioloop.py", line 836, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 56
03-04 14:31:45 DEBUG [o.core.notifications.core] Getting messages with id: 183ce739-fcc5-485d-81f2-61d4b91f0843
03-04 14:31:45 DEBUG [o.core.notifications.core] Returning for 183ce739-fcc5-485d-81f2-61d4b91f0843 0 messages
03-04 14:31:53 DEBUG [o.core.notifications.core] Notifying frontend
03-04 14:31:53 ERROR Exception in callback None
Traceback (most recent call last):
File "/usr/local/couchpotatoserver-custom/var/CouchPotatoServer/libs/tornado/ioloop.py", line 836, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 56
03-04 14:31:53 ERROR Exception in callback None
Traceback (most recent call last):
File "/usr/local/couchpotatoserver-custom/var/CouchPotatoServer/libs/tornado/ioloop.py", line 836, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 53
03-04 14:31:53 ERROR Exception in callback None
Traceback (most recent call last):
File "/usr/local/couchpotatoserver-custom/var/CouchPotatoServer/libs/tornado/ioloop.py", line 836, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 52
03-04 14:31:53 DEBUG [o.core.notifications.core] Done notifying frontend
03-04 14:31:53 ERROR Exception in callback None
Traceback (most recent call last):
File "/usr/local/couchpotatoserver-custom/var/CouchPotatoServer/libs/tornado/ioloop.py", line 836, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 51
03-04 14:31:54 INFO [.downloaders.transmission] Sending "The.Chronicles.Of.Narnia.The.Lion.The.Witch.and.The.Wardrobe.2005.MULTi.TRUEFRENCH.1080p.BluRay.DTS.HDMA.x264-RiV3R french" (torrent) to Transmission.
03-04 14:31:54 DEBUG [.downloaders.transmission] X-Transmission-Session-Id: SvhGzyAjBpNxGv8UtAskCbVUmJ0lfJFJarMhtD55rp832MxD
03-04 14:31:54 DEBUG [.downloaders.transmission] request: {"tag": 0, "method": "session-get"}
03-04 14:31:54 DEBUG [.downloaders.transmission] response: {"tag": 0, "arguments": {"idle-seeding-limit": 30, "alt-speed-time-end": 1080, "cache-size-mb": 64, "blocklist-url": "http://www.example.com/blocklist", "alt-speed-time-begin": 0, "speed-limit-up-enabled": true, "queue-stalled-enabled": true, "download-queue-size": 5, "rename-partial-files": true, "script-torrent-done-filename": "", "seedRatioLimited": false, "idle-seeding-limit-enabled": false, "peer-limit-per-torrent": 50, "incomplete-dir": "/usr/local/transmission/var/Downloads", "rpc-version": 15, "blocklist-enabled": false, "speed-limit-down-enabled": true, "download-queue-enabled": true, "seedRatioLimit": 2, "encryption": "preferred", "lpd-enabled": false, "alt-speed-down": 2700, "download-dir": "/volume1/Download", "alt-speed-enabled": false, "version": "2.84 (14307)", "blocklist-size": 0, "units": {"speed-bytes": 1000, "memory-units": ["KiB", "MiB", "GiB", "TiB"], "size-bytes": 1000, "speed-units": ["kB/s", "MB/s", "GB/s", "TB/s"], "memory-bytes": 1024, "size-units": ["kB", "MB", "GB", "TB"]}, "queue-stalled-minutes": 30, "seed-queue-size": 5, "dht-enabled": true, "peer-limit-global": 200, "pex-enabled": true, "download-dir-free-space": 1999954894848, "alt-speed-up": 480, "script-torrent-done-enabled": false, "peer-port-random-on-start": false, "rpc-version-minimum": 1, "peer-port": 51413, "start-added-torrents": true, "port-forwarding-enabled": true, "trash-original-torrent-files": false, "speed-limit-up": 100, "speed-limit-down": 1800, "alt-speed-time-enabled": true, "config-dir": "/usr/local/transmission/var/", "incomplete-dir-enabled": false, "utp-enabled": true, "alt-speed-time-day": 62, "seed-queue-enabled": false}, "result": "success"}
03-04 14:31:54 DEBUG [.downloaders.transmission] Transmission action successful
03-04 14:31:54 DEBUG [.downloaders.transmission] request: {"tag": 2, "arguments": {"paused": false, "download-dir": "/volume1/Download/CP", "metainfo": "PCFET0NUWVBFIGh0bWw+CjxodG1sIGRpcj0ibHRyIiBsYW5nPSJmciI+CjxoZWFkPgogICAgPG1ldGEgY2hhcnNldD0id2luZG93cy0xMjUyIi8+PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPih3aW5kb3cuTlJFVU18fChOUkVVTT17fSkpLmxvYWRlcl9jb25maWc9e3hwaWQ6IlZROERWVlZSR3djRVVGUlNBUUk9In07E6MDYgLS0+CjwhLS0gcmVzb3VyY2VzOiA5MTYgNjk2IGJ5dGVzIC8gMC4wMDI5MDYgc2VjIC0tPgo8IS0tIGVuZCBjYWNoZTogMTQ6NDE6MDYgLS0+CjwhLS0gcmVzb3VyY2VzOiA3OTcgMTI4IGJ5dGVzIC8gMC4wMDAyMzggc2VjIC0tPg=="}, "method": "torrent-add"}
03-04 14:31:54 DEBUG [.downloaders.transmission] response: {"tag": 2, "arguments": {}, "result": "invalid or corrupt torrent file"}
03-04 14:31:54 DEBUG [.downloaders.transmission] Unknown failure sending command to Transmission. Return text is: invalid or corrupt torrent file
03-04 14:31:54 ERROR [.downloaders.transmission] Failed sending torrent to Transmission
03-04 14:31:54 INFO [tato.core.plugins.release] Tried to download, but the "torrent" downloader gave an error
03-04 14:31:54 ERROR Exception in callback None
Traceback (most recent call last):
File "/usr/local/couchpotatoserver-custom/var/CouchPotatoServer/libs/tornado/ioloop.py", line 836, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 57
03-04 14:31:55 DEBUG [o.core.notifications.core] Getting messages with id: 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7
03-04 14:31:55 DEBUG [o.core.notifications.core] Returning for 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7 0 messages
03-04 14:31:55 DEBUG [o.core.notifications.core] Getting messages with id: 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7
03-04 14:31:55 DEBUG [o.core.notifications.core] Returning for 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7 0 messages
03-04 14:31:56 DEBUG [o.core.notifications.core] Getting messages with id: 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7
03-04 14:31:56 DEBUG [o.core.notifications.core] Returning for 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7 0 messages
03-04 14:31:56 DEBUG [o.core.notifications.core] Getting messages with id: 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7
03-04 14:31:56 DEBUG [o.core.notifications.core] Returning for 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7 0 messages
03-04 14:31:59 DEBUG [o.core.notifications.core] Getting messages with id: 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7
03-04 14:31:59 DEBUG [o.core.notifications.core] Returning for 55fe2fa9-e2e6-467d-a0b3-6bfa9bdd1cf7 0 messages

T411

bonjour j'ai une erreur 403 avec t411
suis le seul?
[se.providers.torrent.t411] Login to T411 failed: HTTP Error 403: Accès refusé
je suis sur le fork de cyberden mais ca ma rabattu sur ce fork on peut pas faire d'issue sur l'autre

FnT.nu ?

Salut,
Etant donné que seul toi est actif concernant le developpement de plugins CP français, peut être aurais tu été intéressé pour développer un plug pour le fameux tracker FnT.nu ? Etant moi même utilisateur de FnT ET CP et n'étant sûrement pas le seul, est-ce que je peux te donner un éventuel coup de main concernant le site/les flux si tu n'es pas déjà membre ou à défaut, peux tu me donner quelqu'un vers qui m'orienter si l'idée ne te paraissais pas pertinente ?

Merci a toi

Movie Manager

Salut,

Petite question concernant le Movie Manager.

J'utilise la version git sous windows (depuis les sources) avec tous ce qu'il faut d'après la sources officiel et les divers post du forum.

J'ai ajouté le chemin vers le répertoire de mon nas en "\DS411\Video\Films".
Mon répertoire "Films" est composé d'un répertoire par film, le film en mp4 et j'ai les fichiers nfo, poster etc au format xbmc.

Par contre que cela soit sous chrome ou firefox j'ai beau cliqué sur le bouton.
Je n'obtiens jamais un films dans la liste des films détecté.

Y'a t'il une solution de votre coté ? Je peut voir pour founir le fichier de log si besoin ou ma config.

T411 search

bonjour

j'ai rencontrer un problème lors de la recherche d'un dessins animé (film) sur T411 le film est présent sur le site mais couche ne le trouve pas j'ai regarder les loges et tester les strings de recherche indiqué dans le log toutes cherche dans la catégorie film/vidéo -> film alors que c'est une dessins animé en changeant le paramètre film a anime lors de la recherche ont trouve bien les fichier sur T411 mais chouch ne les trouves pas lui a cause de cela

Impossible de renseigner les dossiers de réceptions

Bonjour,
J'espère que le fait que je m'exprime en français ne vous dérange pas trop. Je me permet de le faire car, tout d'abord je ne maitrise pas vraiment la langue de Shakespeare et ensuite le projet est un fork Fr.

Sous windows 7, branch developer, je ne peux renseigner/ pointer les dossiers de réceptions de mes torrents.
De plus, dans l'onglet HOME, il n'apparait pas la fonction 'suggestions de films'.
Enfin, j'ai l'impression que la fonction 'recherche' n'est pas aussi efficace, complète, opérationnelle que sur le projet initial.

Voilà mon retour global.
Merci en tout cas pour ce fabuleux outil.

Librement,
Aissa

EDIT : j'aimerai bien pouvoir obtenir le mail de sarakha63 afin de proceder à une donation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.