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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: CouchPotato - Automatic Movie Downloader via NZB & Torrents (/showthread.php?tid=75960)



- RuudBurger - 2011-03-18

I don't get any results in the RSS feeds. So thats why CP doesn't pick it up Wink


- LusKereN - 2011-03-18

RuudBurger Wrote:I don't get any results in the RSS feeds. So thats why CP doesn't pick it up Wink

But i can find the movie on NzbMatrix Huh So how do i fix this ?


- RuudBurger - 2011-03-18

Add it as BR-Rip or Dvd-rip, as those are the 2 types that are available. No h264 releases.


- LusKereN - 2011-03-18

It is added as DVD-R and that is on the site also

http://nzbmatrix.com/nzb-details.php?id=876567&hit=1


- RuudBurger - 2011-03-18

Send a report to NZBMatrix, as the imdb-url isn't properly connected in the RSS


- LusKereN - 2011-03-18

Okay RuudBurger i will try that Smile


- LusKereN - 2011-03-18

Something else.... Could it be possible to add this site to CP Huh

http://www.nzbsrus.com

And will you release the sourcecode to CP Huh


- HenryFord - 2011-03-18

LusKereN Wrote:And will you release the sourcecode to CP Huh
People sometimes... did you even read the first post? How about the github-page?

https://github.com/RuudBurger/CouchPotato

There...it is already open-source.


- LusKereN - 2011-03-18

HenryFord Wrote:People sometimes... did you even read the first post? How about the github-page?

https://github.com/RuudBurger/CouchPotato

There...it is already open-source.

Ohhh sorry about that Wink

Looking in the "newznab.py" and on the "catIds"

Code:
catIds = {
        2000: ['brrip'],
        2010: ['dvdr'],
        2030: ['cam', 'ts', 'dvdrip', 'tc', 'r5', 'scr'],
        2040: ['720p', '1080p']
    }

I just want to inform you that on the site "nzb.su" which this is used for, the categories does not match what you have in your script..

the way site is indexed the "catIds" should be more like this

Code:
catIds = {
        2000: ['dvdr','brrip','cam', 'ts', 'dvdrip', 'tc', 'r5', 'scr'],
        2010: ['dvdr','brrip','cam', 'ts', 'dvdrip', 'tc', 'r5', 'scr'],
        2030: ['dvdr','brrip','cam', 'ts', 'dvdrip', 'tc', 'r5', 'scr'],
        2040: ['720p', '1080p']
    }

Or in other words, the categories on "nzb.su" is not very well organized.


- DejaVu - 2011-03-20

Renamer is knackered again. Using Linux I now get this, did not notice it, but looks like it might have been out of action for a while! A few Movies I have - probably about 60 - are still in the download location. Nothings changed, my setup was working great at first. I think it's one of the updates somehow -
Code:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 51: ordinal not in range(128)
    path += '/' + b
  File "/usr/lib/python2.6/posixpath.py", line 70, in join
    if isdir(join(top, name)):
  File "/usr/lib/python2.6/os.py", line 284, in walk
    for x in walk(path, topdown, onerror, followlinks):
  File "/usr/lib/python2.6/os.py", line 294, in walk
    for root, subfiles, filenames in os.walk(movieFolder):
  File "/usr/local/sbin/couchpotato/app/lib/library.py", line 68, in getMovies
    allMovies = self.getMovies(self.conf('download'))
  File "/usr/local/sbin/couchpotato/app/lib/cron/renamer.py", line 81, in doRename
    self.doRename()
  File "/usr/local/sbin/couchpotato/app/lib/cron/renamer.py", line 47, in run
22:26:38 ERROR [     app.lib.cron.renamer] Traceback (most recent call last):
22:26:37 ERROR [     app.lib.cron.renamer] !!Uncought exception in renamer thread.
22:26:37 INFO  [          app.lib.library] Retrieved metainfo: {u'subtitle': [{u'compression': u'UTF8'}], u'common': [{u'duration': u'1:55:38', u'creation date': u'2011-03-06 10:36:52', u'producer': u'libebml v1.2.0 + libmatroska v1.1.0', u'endianness': u'Big endian', u'mime type': u'video/x-matroska'}], u'audio stream': [{u'compression': u'DTS', u'channel': 6, u'sample rate': 48000.0}], u'video stream': [{u'image width': 1280, u'image height': 536, u'compression': u'AVC'}]}
22:26:37 INFO  [          app.lib.library] Retrieved metainfo: {u'subtitle': [{u'compression': u'UTF8'}], u'common': [{u'duration': u'1:51:09', u'creation date': u'2011-01-07 07:54:06', u'producer': u'libebml v1.0.0 + libmatroska v1.0.0', u'endianness': u'Big endian', u'mime type': u'video/x-matroska'}], u'audio stream': [{u'compression': u'AC3', u'channel': 6, u'sample rate': 48000.0}], u'video stream': [{u'image width': 1280, u'image height': 528, u'compression': u'AVC'}]}

Any clues before my drive gets filled RB? Wink


- HenryFord - 2011-03-21

DejaVu77 Wrote:Any clues before my drive gets filled RB? Wink
See here: http://pyfaq.infogami.com/what-does-unicodeerror-ascii-decoding-encoding-error-ordinal-not-in-range-128-mean

So, I would guess that one of the files you downloaded contains an illegal character for you characterset, your python cannot handle it.
Maybe a german umlaut (like ä,ö,ü,ß)? A few characters can induce the problem.
Check your downloaded files for any illegal characters and remove them, I would suggest you do the postprocessing for that one file by yourself.

Next time, make sure that you instruct sabnzbd to replace illegal characters with supported ones (it is an option in the settings of sabnzbd).


- freaktm - 2011-03-21

Hi, I've been looking at this ... thing ... for a while now, and I'd love to start using it. I'm just wondering - how hard would it be to add my own torrent tracker? When looking at the source for tpb and scenereleases, it looks like it's not too big a deal, but looks can be deceiving Big Grin
And furthermore, it's a private tracker, so I don't know if it's even possible to integrate cookie-checking with the existing code base..

Any thoughts on this?
Thanks in advance Smile

-- Edit: I see this is already up as a feature request... So if it's too much for me to handle myself, I'll just have to wait i guess Big Grin


- BlackAura - 2011-03-24

Hey guys, tried Couch Potato a couple times now and had a minor issue.

1st attempt, nzb wasn't accurate and download was severely corrupt, not enough pieces to rebuilt (not CouchPotato's fault)
2nd attempt - 100% perfect! (including xbmc library update)
3rd attempt - 100% perfect!
4th attempt - well, this is a snip from my logs

Looks like it didn't detect the appropriate movie when renaming.

No idea why, and not a big deal, just wanted to let RuudBurger know there was an issue.

Thanks so much for this software, I'm super amazed with everything (just got sabnzbd+, Sick Beard, Couch Potato, XBMC, and my ATV2 all playing nicely together)


Edit:

Er, also, I may need to update CouchPotato (git export from a day or two ago), so the issue may already be fixed

Is there some way to reprocess the file? The rest of my log file was filled with copies of line 1 (couldn't remove directory, not empty), and after updating and restarting, all CouchPotato tries to do is move the folder again. I'll do some testing, see what I can come up with.


Edit 2:

Moved the files in ./ip man.../_UNKNOWN_Movie/* back into the main directory and they were properly processed, so I don't know what happened.


- jaaahaaa - 2011-03-24

I've got some problems as well, it's not snatching properly from nzbmatrix. Got a whole bunch of movies that is on nzbmatrix but it's not snatching. Like fargo, in bruges etc. But some movies snatch properly though. Thoughts?


- jaaahaaa - 2011-03-24

Restart made them snatch Big Grin