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)



- indy5 - 2010-09-18

RuudBurger Wrote:Settings >> General, at the bottom.

Under Settings...General, all I have is the following:

Host, Port, Username, Password, launch browser, search every.

Nothing about specifying keywords to ignore.

I'm using build R20.


- compcentral - 2010-09-18

The new features will be included in the next compiled build (r21). To access this now, you need to be running from the github source. Hopefully r21 will be released soon. I too am eagerly awaiting it.


- RuudBurger - 2010-09-18

Windows build is coming within the next 3 hours Wink


- RuudBurger - 2010-09-18

New Windows build! Go go go!


- moep - 2010-09-18

CouchPotato works great for me, unfortunately it recently decided to have a field day with renaming and added an _UNKNOWN_ prefix to every single movie folder in my library that was not downloaded by CouchPotato itself.
I’ve disabled renaming for now.

In case anyone else has this problem, here’s a how to strip the prefix from all files:

Code:
for i in _UNKNOWN_*;do mv "$i" "$(echo $i|cut -c10-)";done



- RuudBurger - 2010-09-19

It only sets "UNKNOWN" on stuff in the download folder Wink.
Read the text under the input boxes in renaming-settings. Thats what the're there for.

Download folder == where SABNZBD puts your movies.
Destination == where CP moves them to and gives them proper names.

Download folder should not be the same as Destination folder.


- sverzijl - 2010-09-19

RuudBurger Wrote:New Windows build! Go go go!

Yeah! much better now!


- sverzijl - 2010-09-19

btw, what does this mean ?

09:04:55,805 INFO [app.lib.provider.yarr.sources.nzbs] Searching: http://nzbs.org/rss.php?catid=<....>&age=300&q=The+Expendables+720p&action=search
09:04:56,209 INFO [app.lib.provider.yarr.base] Wrong or no quality: The.Expendables.2010.720p.R5.BluRay.x264.READ.NFO.iNT-CRF


- RuudBurger - 2010-09-19

That it's the wrong quality.
It's an R5 and 720p in one.


- Skygen - 2010-09-19

Ruddburger, awesome app, really amazing..

Just one Question: When the renamer scrapes, does it scrape from the foldername also? As said before it had an awesome fun time renaming almost everything to _UNKNOWN_ when i decided to use it to rename everything in my folder (i know dont go into the same folder, thats why i made a second folder) .. I ended up having to remove those...

So question still stands. Does it scrape from foldername AND .nfo.

AND

In the future are you going to add the .nfo in the list of files it transfers from folder to folder during rename?


- RuudBurger - 2010-09-19

Renaming is for SABnzbd downloads, not for existing movies.
That's why you specify where SAB puts your completed movie downloads.

Yes it does use the folder name to search for the correct movie or uses the .nfo file.


- compcentral - 2010-09-19

Minor bug to report in r21:

After setting ignore words in the settings and saving, they are not listed if you go back into settings later.


- prae5 - 2010-09-20

Noticed this problem a few times, just never got round to posting it.

In some situations you are renaming and tagging files incorrectly. For example:

Hitch.2005.720p.BluRay.DTS.x264-RuDE.mkv - 6.6GB file, clearly tagged as 720p.

However when renaming, it tags it as 1080p. I haven't had a chance to check your code yet, but i suspect it is how you are calculating quality. I suspect you are putting to much weighting on file size

Code:
09:53:33,901 INFO  [app.lib.cron.cronRenamer] Moving file "/home/sabnzbd/downloads/complete/Movies/Hitch.2005.720p.BluRay.DTS.x264-RuDE/Hitch.2005.720p.BluRay.DTS.x264-RuDE.mkv" to /mnt/bigbox-movies/2005/Hitch (2005)/Hitch (2005).1080P..mkv.
09:53:33,898 INFO  [app.lib.cron.cronRenamer] Quality Old: 0, New 6734.
09:53:33,894 INFO  [app.lib.cron.cronRenamer] Creating directory /mnt/bigbox-movies/2005/Hitch (2005)
09:53:33,876 INFO  [app.lib.cron.cronRenamer] Trying to find a home for: Hitch.2005.720p.BluRay.DTS.x264-RuDE.mkv
09:53:33,875 INFO  [app.lib.cron.cronRenamer] Total size of new files is 6734.
09:53:33,874 INFO  [app.lib.cron.cronRenamer] Finding quality for Hitch.
09:53:33,872 INFO  [app.lib.provider.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': '2005', 'imdb': 'tt0386588', 'id': 8488, 'name': u'Hitch'}]
09:53:33,505 INFO  [app.lib.cron.cronRenamer] Found movie via nfo file.

I've had similar issues with some dvdrips, again clearly tagged as being a dvdrip, however have been mkv files of between 1-2GB. The files again have been wrongly tagged as BR-Rips.

Have also found another issue, 4GB m2ts, was tagged as 1080p after move now tagged as 720p.


- RuudBurger - 2010-09-20

Thanks, it should find the quality via name.
Quality via size is only last resort.

Will check it out.


- prae5 - 2010-09-20

Sorry I've found another two issues (first time i've had a real chance to do some proper testing in a while).

I have HD quality set to download 720p (Finish), 1080p (Finish), BR-Rip (Finish), DVD-Rip, R5, Screener. I also have it set to download trailers for movies. My renaming convention is <thename> (<year>).<quality>.<cd>.<ext>

Issue 1 - When renaming, if a file is only a single file you are renaming incorrectly i.e current naming is The Expendables (2010).720P..mkv should be The Expendables (2010).720P.mkv - There is a double .. before the file ext, this should be where the cd tag goes for multiple cds. If its only a single file this shouldn't be there.

Issue 2 - Using my HD quality as an example (but applies to any download where there is multiple options, but you only finish on a subset). It correctly downloads the R5 release when it becomes available, it also downloads the trailer, it correctly renames and moves everything as expected (The Expendables (2010).R5..avi and The Expendables (2010).R5.-trailer.mov), some time later the 720p release becomes available and it grabs it as expected, downloads it and completes the item. However, when downloading the 720p release it does not rename the existing trailer or download another. So i currently have:

Code:
prae@leechbox:~/downloads/Movies$ ls -hal /mnt/bigbox-movies/2010/Expendables\,\ The\ \(2010\)/
total 6.7G
drwxr-xr-x 1 root root    0 2010-09-20 12:51 .
drwxr-xr-x 1 root root    0 2010-09-18 21:19 ..
-rwxr-xr-x 1 root root 6.6G 2010-09-11 13:27 The Expendables (2010).720P..mkv
-rwxr-xr-x 1 root root 2.5K 2010-08-29 16:15 The Expendables (2010).R5..srt
-rwxr-xr-x 1 root root 101M 2010-09-02 00:00 The Expendables (2010).R5.-trailer.mov

It should rename the existing trailer (ideally) to match the new file, or redownload the trailer again (not ideal given the file exists). Also you are not cleaning up left over files from the previous release, i.e the srt file from the R5 release should be deleted when the R5 avi was removed.