XBMC Community Forum
CouchPotato - Automatic Movie Downloader via NZB & Torrents - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (/forumdisplay.php?fid=116)
+--- Thread: CouchPotato - Automatic Movie Downloader via NZB & Torrents (/showthread.php?tid=75960)



- Shaolin - 2011-12-01 23:25

castortray Wrote:good question, and what's about with version 2.0



can you publish your gr8 work ? or this is still not finished Sad
That version looks simply amazing; i cant wait for it's release!!!


- Deviant Khan - 2011-12-02 04:44

Agreed .. much anticipated. Thanks in advance for the work.


- wondergod - 2011-12-02 08:14

silvine Wrote:I want to set up Couch Potato so that it moves my downloaded movie on my HTPC to a folder on externally connected NAS drive. How do I get it to do this?


I tried "/Volumes/Films" but this didn't work.

Films being the film directory on the root of my NAS where I want Couch Potato to move my films to.


The movie file stayed in the downloads folder of Openelec.

Great app btw.

If you are using linux you need to mount the NAS drive preferably automatically during startup. How to do this depends on the version of linux. This link is for Openelec, if that is what you are using. Once its mounted then it acts as if its a folder on the machine, so Couchpotato can access it. Just make sure your pc has read/write access.


If you are using windows you need to map the network drive so that it works as if it was any other drive on your PC and not a network drive. Once you map it then you would used the mapped network drive letter like X:\blah\movies\. Do a google search on how to, its pretty easy.


- RuudBurger - 2011-12-04 15:51

I'm giving away stuff! Check out: http://couchpotatoapp.com/gifts.php !
(No still no v2 Wink)


- Begall - 2011-12-04 17:21

I've been playing with this recently and run into a problem. I've added 2 movies to my wanted list and now whenever I try and add a 3rd, it brings up the 'working' circle which never goes away. When I reload the browser page it continues to have just the previous 2 movies in its list. This is using the latest windows build, any thoughts?


- Shaolin - 2011-12-04 17:33

Begall Wrote:I've been playing with this recently and run into a problem. I've added 2 movies to my wanted list and now whenever I try and add a 3rd, it brings up the 'working' circle which never goes away. When I reload the browser page it continues to have just the previous 2 movies in its list. This is using the latest windows build, any thoughts?

I had this problem a little while ago too:

Have you disabled the XBMC connection in the notifications tab? If so enable it again so you can then remove all info from the XBMC fields then uncheck notify XBMC again

If this gets it working again, you can try adding your XBMC info in notifications again (or not, if you prefer).


- Rumik - 2011-12-06 22:19

Hi, wonderful app you've got there! Just wondering if you could give me some indication of when the trakt watchlist feature will be added to the windows executable?

Thanks!


- mwkurt - 2011-12-07 23:07

Hello,

I have come across a problem, at least for me, that I think may be a bug. Whenever I have CP rename and move a file with the mp4 extension. It includes in the title "cd1". These are all single files that should not have the cd designation added to the title.
This is the naming scheme I am using:
<thename> (<year>) <cd> <quality>.<ext>

I was under the impression that "cd" would only be used for multiple file type videos and in fact this is how this works on all other type videos. Does anyone else have this problem and is there anything I can do to fix this behavior?

Thanks,
Mark


- shaktoo - 2011-12-12 20:58

Hi Ruud, all was working brilliantly until last week.I started noticing that files were being renamed wrongly with most of them being renamed to the" Vulture " one when it goes wrong. Then There was no metadata being saved and finally trailers stopped scraping as well. I deleted and re installed and redid all the settings and then just like mwkurt all kinds of reanming errors were happening so I uninstalled (deleted ) again ,cleared off all temp files and reinstalled and now its working again but sadly its not pulling any metadata or trailers.
What am I doing wrong ?
And there is a request ! Could you please look into somehow incorporating into CP functionality to call ember Media manager ( or emm-r) or to just get cp to scrape more detailed metadata including extrafanrt . because this would make it absolutely perfect !
Thanks for all the brilliant work already


- shaktoo - 2011-12-13 20:11

this is the error Log :

17:56:32 ERROR [ app.lib.cron.renamer] XMG TMDB API failure. Please report to developers. API returned: Unknown TMDB data format: Nothing found.
17:56:32 ERROR [ app.lib.cron.renamer] Traceback (most recent call last):
File "C:/Users/****/AppData/Local/Temp/_MEI42922\app\lib\cron\renamer.py", line 121, in doRename
x = xmg.MetaGen(movie['movie'].imdb)
File "C:/Users/****/AppData/Local/Temp/_MEI42922/library\xmg\xmg.py", line 61, in __init__
self._validate_tmdb_json()
File "C:/Users/****/AppData/Local/Temp/_MEI42922/library\xmg\xmg.py", line 75, in _validate_tmdb_json
raise ApiError("Unknown TMDB data format: %s" % self.tmdb_data)
ApiError: Unknown TMDB data format: Nothing found.

17:56:33 ERROR [ app.lib.xbmc] Couldn't sent command to XBMC. <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
17:56:34 ERROR [ app.lib.xbmc] Couldn't sent command to XBMC. <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
17:56:34 INFO [ app.lib.cron.renamer] Removing dir: F:\Download Temp\Finished Downloads\Movies Temp\Debt, The (2011) in download dir.
17:56:35 INFO [ app.lib.cron.trailer] Downloading trailer "http://trailers.apple.com/movies/focus_features/thedebt/thedebt-tlr1b_h1080p.mov", 189 MB
Renaming & Trailer downloading has returned to normal but there is a tmdb related error


- HenryFord - 2011-12-13 21:30

there should be a tiny bit more related to this error, can you post the rest as well (where the renaming begins, essentially)

Edit:
Seems like the trailer is downloaded correctly though...

Also: Post your feature suggestion on the CP-Tracker, it will get more recognition there.


- shaktoo - 2011-12-14 00:11

HenryFord thanks , as you noticed trailer has eventually started downloading again, now what remains is the metadata here is the rest of relevant log
13:48:37 INFO [ app.config.db] Initializing Database.
13:48:38 INFO [ ENGINE] Listening for SIGTERM.
13:48:38 INFO [ ENGINE] Bus STARTING
13:48:38 ERROR [ ENGINE] Set handler for console events.
13:48:38 INFO [ ENGINE] Started monitor thread '_TimeoutMonitor'.
13:48:38 INFO [ app.lib.cron] Starting Cronjobs.
13:48:38 INFO [ider.yarr.sources.newzbin] Using newzbin provider
13:48:38 INFO [er.yarr.sources.nzbmatrix] Using NZBMatrix provider
13:48:38 INFO [rovider.yarr.sources.nzbs] Using NZBs.org provider
13:48:38 INFO [ider.yarr.sources.newznab] Using Newznab provider
13:48:38 INFO [provider.yarr.sources.tpb] Using TPB.org provider
13:48:38 INFO [.movie.sources.theMovieDb] Using TheMovieDb provider.
13:48:38 INFO [movie.sources.imdbWrapper] Using IMDB provider.
13:48:38 INFO [ app.lib.cron.trailer] TrailerCron thread is running.
13:48:38 INFO [ app.lib.cron.subtitle] SubtitleCron thread is running.
13:48:38 INFO [ app.lib.cron.eta] ETA thread is running.
13:48:38 INFO [ app.lib.cron.renamer] Renamer thread is running.
13:48:38 INFO [ app.lib.cron.movierss] Movie RSS thread is running.
13:48:38 INFO [ app.lib.cron.yarr] YarrCron thread is running.
13:48:38 INFO [ ENGINE] Serving on 0.0.0.0:5000
13:48:38 INFO [ ENGINE] Bus STARTED
13:48:41 INFO [ app.config.updater] None
13:48:48 INFO [ app.lib.cron.movierss] Movie RSS has been disabled
13:48:48 INFO [ app.lib.cron.yarr] Searching for new downloads, for all movies.
13:48:48 INFO [ app.lib.cron.yarr] Finished search.
17:56:20 INFO [ app.config.db] Initializing Database.
17:56:21 INFO [ ENGINE] Listening for SIGTERM.
17:56:21 INFO [ ENGINE] Bus STARTING
17:56:21 ERROR [ ENGINE] Set handler for console events.
17:56:21 INFO [ ENGINE] Started monitor thread '_TimeoutMonitor'.
17:56:21 INFO [ app.lib.cron] Starting Cronjobs.
17:56:21 INFO [ider.yarr.sources.newzbin] Using newzbin provider
17:56:21 INFO [er.yarr.sources.nzbmatrix] Using NZBMatrix provider
17:56:21 INFO [rovider.yarr.sources.nzbs] Using NZBs.org provider
17:56:21 INFO [ider.yarr.sources.newznab] Using Newznab provider
17:56:21 INFO [provider.yarr.sources.tpb] Using TPB.org provider
17:56:21 INFO [.movie.sources.theMovieDb] Using TheMovieDb provider.
17:56:21 INFO [movie.sources.imdbWrapper] Using IMDB provider.
17:56:21 INFO [ app.lib.cron.trailer] TrailerCron thread is running.
17:56:21 INFO [ app.lib.cron.subtitle] SubtitleCron thread is running.
17:56:21 INFO [ app.lib.cron.eta] ETA thread is running.
17:56:21 INFO [ app.lib.cron.renamer] Renamer thread is running.
17:56:21 INFO [ app.lib.cron.movierss] Movie RSS thread is running.
17:56:21 INFO [ app.lib.cron.yarr] YarrCron thread is running.
17:56:21 INFO [ ENGINE] Serving on 0.0.0.0:5000
17:56:21 INFO [ ENGINE] Bus STARTED
17:56:25 INFO [ app.config.updater] None
17:56:31 INFO [ app.lib.cron.movierss] Movie RSS has been disabled
17:56:31 INFO [ app.lib.cron.yarr] Searching for new downloads, for all movies.
17:56:31 INFO [ app.lib.cron.yarr] Finished search.
17:56:31 INFO [ app.lib.library] Unable to fetch audio/video details for F:\Download Temp\Finished Downloads\Movies Temp\Debt, The (2011)\The Debt.mkv
17:56:31 INFO [ app.lib.cron.renamer] Trying to find a home for: The Debt.mkv
17:56:31 INFO [ app.lib.cron.renamer] Creating directory F:\Movies\Debt, The (2011)
17:56:31 INFO [ app.lib.cron.renamer] Quality Old: 0, New 8944.
17:56:31 INFO [ app.lib.cron.renamer] Moving file "F:\Download Temp\Finished Downloads\Movies Temp\Debt, The (2011)\The Debt.mkv" to F:\Movies\Debt, The (2011)\The Debt.mkv.
17:56:31 INFO [ app.lib.cron.trailer] Finding trailers for: F:\Movies\Debt, The (2011)
17:56:31 INFO [ app.lib.cron.subtitle] Finding subtitles for: F:\Movies\Debt, The (2011)
17:56:31 INFO [ app.lib.cron.trailer] Search for trailer for: Debt, The (2011)
17:56:32 ERROR [ app.lib.cron.renamer] XMG TMDB API failure. Please report to developers. API returned: Unknown TMDB data format: Nothing found.
17:56:32 ERROR [ app.lib.cron.renamer] Traceback (most recent call last):
File "C:/Users/****/AppData/Local/Temp/_MEI42922\app\lib\cron\renamer.py", line 121, in doRename
x = xmg.MetaGen(movie['movie'].imdb)
File "C:/Users/****/AppData/Local/Temp/_MEI42922/library\xmg\xmg.py", line 61, in __init__
self._validate_tmdb_json()
File "C:/Users/****/AppData/Local/Temp/_MEI42922/library\xmg\xmg.py", line 75, in _validate_tmdb_json
raise ApiError("Unknown TMDB data format: %s" % self.tmdb_data)
ApiError: Unknown TMDB data format: Nothing found.

17:56:33 ERROR [ app.lib.xbmc] Couldn't sent command to XBMC. <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
17:56:34 ERROR [ app.lib.xbmc] Couldn't sent command to XBMC. <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
17:56:34 INFO [ app.lib.cron.renamer] Removing dir: F:\Download Temp\Finished Downloads\Movies Temp\Debt, The (2011) in download dir.
17:56:35 INFO [ app.lib.cron.trailer] Downloading trailer "http://trailers.apple.com/movies/focus_features/thedebt/thedebt-tlr1b_h1080p.mov", 189 MB
18:01:03 INFO [ app.lib.cron.trailer] Download of http://trailers.apple.com/movies/focus_features/thedebt/thedebt-tlr1b_h1080p.mov finished.
18:20:36 INFO [ ENGINE] Bus STOPPING
18:20:42 INFO [ ENGINE] HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 5000)) shut down
18:20:42 INFO [ ENGINE] Stopped thread '_TimeoutMonitor'.
18:20:42 ERROR [ ENGINE] Removed handler for console events.
18:20:42 INFO [ app.lib.cron] Stopping Cronjobs.
18:20:43 INFO [ app.lib.cron.subtitle] SubtitleCron shutting down.
18:20:44 INFO [ app.lib.cron.renamer] Renamer has shutdown.
18:20:51 INFO [ app.lib.cron.yarr] YarrCron has shutdown.
18:20:52 INFO [ app.lib.cron.eta] ETA thread shutting down.
18:20:52 INFO [ app.lib.cron.trailer] TrailerCron shutting down.
18:20:52 INFO [ ENGINE] Bus STOPPED
18:20:52 INFO [ ENGINE] Bus EXITING
18:20:52 INFO [ ENGINE] Waiting for child threads to terminate...
18:20:52 INFO [ ENGINE] Bus EXITED
18:20:52 INFO [ ENGINE] Waiting for thread CP Server Thread-12.
18:21:02 INFO [ ENGINE] Re-spawning C:\Program Files (x86)\CouchPotato r34\CouchPotato.exe
18:21:06 INFO [ app.config.db] Initializing Database.
18:21:07 INFO [ ENGINE] Listening for SIGTERM.
18:21:07 INFO [ ENGINE] Bus STARTING
18:21:07 ERROR [ ENGINE] Set handler for console events.
18:21:07 INFO [ ENGINE] Started monitor thread '_TimeoutMonitor'.
18:21:07 INFO [ app.lib.cron] Starting Cronjobs.
18:21:07 INFO [ider.yarr.sources.newzbin] Using newzbin provider
18:21:07 INFO [er.yarr.sources.nzbmatrix] Using NZBMatrix provider
18:21:07 INFO [rovider.yarr.sources.nzbs] Using NZBs.org provider
18:21:07 INFO [ider.yarr.sources.newznab] Using Newznab provider
18:21:07 INFO [provider.yarr.sources.tpb] Using TPB.org provider
18:21:07 INFO [.movie.sources.theMovieDb] Using TheMovieDb provider.
18:21:07 INFO [movie.sources.imdbWrapper] Using IMDB provider.
18:21:07 INFO [ app.lib.cron.trailer] TrailerCron thread is running.
18:21:07 INFO [ app.lib.cron.subtitle] SubtitleCron thread is running.
18:21:07 INFO [ app.lib.cron.eta] ETA thread is running.
18:21:07 INFO [ app.lib.cron.renamer] Renamer thread is running.
18:21:07 INFO [ app.lib.cron.movierss] Movie RSS thread is running.
18:21:07 INFO [ app.lib.cron.yarr] YarrCron thread is running.
18:21:07 INFO [ ENGINE] Serving on 0.0.0.0:5000
18:21:07 INFO [ ENGINE] Bus STARTED
18:21:11 INFO [ app.config.updater] None
18:21:17 INFO [ app.lib.cron.movierss] Movie RSS has been disabled
18:21:17 INFO [ app.lib.cron.yarr] Searching for new downloads, for all movies.
18:21:17 INFO [ app.lib.cron.yarr] Finished search.

As per your suggestion will post request on the tracker


- 91dxcrx - 2011-12-14 02:29

Just tried installing Couch Potato for the first time and I'm having a little trouble getting it going. First it wouldn't connect to localhost:5000 so I tried reinstalling and now it won't even install after clicking couchpotato.exe. Wondering if anyone could help me out a little bit. ThanksSmile


- smiffy1989 - 2011-12-14 17:36

Anyone managed to get reverse proxy working with lighttpd and couchpotato? I know that someone has submit a pull request that apparently fixes the issue: https://github.com/RuudBurger/CouchPotato/pull/382

That does not work for me.

Any plan to get this working? Trying to lock my server down as much as possible and don't want to have multiple ports open for sab/sick/cp etc..

Thanks.


- HenryFord - 2011-12-14 17:48

shaktoo Wrote:HenryFord thanks , as you noticed trailer has eventually started downloading again, now what remains is the metadata here is the rest of relevant log
(...)
No problem Smile

Edit: deleted unrelated stuff

Scratch that, just found a ticket according to your problem:
http://couchpotato.lighthouseapp.com/projects/56809/tickets/384-tmdb-api-has-changed#ticket-384-1

TMDB is currently changing the API and CP's Windows builds aren't updated to these changes (the changes went online on 6th december, the windows-version is still from August this year).
I would suggest that you switch to the python-version of CP for Windows. If you need instruction how to set it up, just pm me and I will guide you through it. You can port your settings and database to the python-version, so... no problems there Smile


91dxcrx Wrote:Just tried installing Couch Potato for the first time and I'm having a little trouble getting it going. First it wouldn't connect to localhost:5000 so I tried reinstalling and now it won't even install after clicking couchpotato.exe. Wondering if anyone could help me out a little bit. ThanksSmile
Try a "netstat -ab" inside an elevated command prompt, if you notice that something is already running on *:5000 with "LISTENING", that will be the reason CP isn't starting up - the port is already being used. You should also see the exe's-filename which is occupying the port.
You should still find a log-file inside the CP-folder however - please post the contents if you are unable to resolve the issue.