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) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
- RuudBurger - 2010-12-12 What he said - Varming - 2010-12-12 First to be honest: I haven't read all 110 pages of feedback - sorry! When I add a release it would be great if I could have CouchPotato downloading the first release the fullfill any of the qualities I choose. What I mean is a minimum quality instead of a required quality. Does this make sense? - RuudBurger - 2010-12-12 See settings >> quality - Varming - 2010-12-12 A completely new world will open up for me when I learn to read I guess :o Thanks!! - indy5 - 2010-12-12 I have a general question about when the renamer actually kicks in and runs through its process. Once a movie is found through one of your enabled nzb sites, it gets downloaded and processed (in my case) by sabnzbd. The file is then downloaded/repaired/extracted. What tells couchpotato to rename the file? Is information sent BACK to couchpotato to do this? I never see anything in my log file that indicates that it cares about a movie once the nzb is located and it is downloaded. I appreciate the help. - XBL. - 2010-12-12 I believe it simply monitors the directory where you download to, renames the file and then moves it. This is why your download directory (where sabnzbd puts it when completely processed) has to be different from your final directory (where you keep your movies, for example). Afaik it does not care about what's in your download directory, it will process everything. But correct me if I'm wrong! - daffeh - 2010-12-13 alshain Wrote:@memevertical:The whole point of CP is to not do it manually ruud, can you check into this? Multilingual Version - SSPPAAMM - 2010-12-13 Hi! I am not sure where to put this, so I decided it would be best to post it here. I have patched CouchPotato to download the language that I want. It would be great if you could add the changes to the repository and make it configurable in config.ini. This is what I changed to get german files (guess where I am from :-)): 1. app/lib/provider/movie/sources/theMovieDB.py There are several URLs which include "en" as language In find() I changed it to: url = "%s/%s/de/xml/%s/%s" % (self.apiUrl, 'Movie.search', self.conf('key'), quote_plus(self.toSearchString(q))) In findByImdbId(): url = "%s/%s/de/xml/%s/%s" % (self.apiUrl, 'Movie.imdbLookup', self.conf('key'), id) In getXML(): url = "%s/%s/de/xml/%s/%s" % (self.apiUrl, 'Movie.getInfo', self.conf('key'), id) You see, it is always the same. It would be nice to set a language in the config so you could decide wether to ask TVDB for "en" or "de" or soemthing else. 2. app/lib/provider/yarr/base.py There is a list of scores called nameScores. You could delete the language specific ones because they give you a -10 added to your score for a file. I kept it as it was because I tweaked the scores a bit (see below). This score list should definitly be configurable within the config.ini. 3. app/lib/provider/yarr/base.py I have added a test for "must have words" in isCorrectMovie(). My changes are marked with a comment starting with "AW:" # Contains ignored word nzbWords = re.split('\W+', self.toSearchString(item.name).lower()) ignoredWords = self.config.get('global', 'ignoreWords').split(',') for word in ignoredWords: if word.strip() and word.strip().lower() in nzbWords: log.info('NZB contains ignored word %s: %s' % (word, item.name)) return False # AW: check for "Must Have Words" nzbWords = re.split('\W+', self.toSearchString(item.name).lower()) mustHaveWords = self.config.get('global', 'mustHaveWords').split(',') for word in mustHaveWords: if word.strip() and word.strip().lower() not in nzbWords: log.info('NZB does not contain must have word %s: %s' % (word, item.name)) return False 4. config.ini This had the biggest effect. Set global.preferredwords to your language: [global] preferredwords = german This will add 100 points to the score of your files. So the software will prefer files with these words. For the change in 3. you have to add the entry musthavewords: [global] musthavewords = german That's it. If you have questions, just ask. Take care, SSPPAAMM - ECEC - 2010-12-13 I haven't checked in awhile, and can't tell from the change logs: does trailer downloading for all movies work now? The last time I tried it would fail to find a trailer and stop entirely as opposed to skipping it and moving on. - indy5 - 2010-12-13 XBL. Wrote:I believe it simply monitors the directory where you download to, renames the file and then moves it. This is why your download directory (where sabnzbd puts it when completely processed) has to be different from your final directory (where you keep your movies, for example). There still doesn't appear to be anything in the log to even indicate that the renamer looks for anything. I do see the renamer thread start up when couchpotato first runs, but that's about it. I run couchpotato on a linux/unraid server, if that makes any difference. I have the download folder and the movie destination set to two different paths. - Archigos - 2010-12-14 Ok, I'm beyond confused. I was playing around in the beta branch (database branch) of MediaFrontpage and added "Resident Evil: Afterlife" to SABnzbd+ via the RSS widget. All of that worked fine, but once SAB dropped it into the folder monitored by CP it 'found' "Resident Evil: Extinction" (I believe incorrectly listed as 2005 instead of 2007, either way, wrong movie). So I deleted the nfo, etc. that was created and named the movie "Resident Evil Afterlife (2010)" and figured I'd move it back to the CP folder so that it grabs the right nfo info and instead this is where it went screwy. I've attached the log below of the second rename. Quote:21:04:06 INFO [app.lib.cron.renamer] XBMC metainfo for imdbid, tt0373760, generated I know this could/would happen once in awhile, but it seems to be happening more and more lately. By the way, I'm running build r27 on a Windows 7 Ultimate x64 system. - Therms - 2010-12-14 Archigos Wrote:Ok, I'm beyond confused. I was playing around in the beta branch (database branch) of MediaFrontpage and added "Resident Evil: Afterlife" to SABnzbd+ via the RSS widget. All of that worked fine, but once SAB dropped it into the folder monitored by CP it 'found' "Resident Evil: Extinction" (I believe incorrectly listed as 2005 instead of 2007, either way, wrong movie). So I deleted the nfo, etc. that was created and named the movie "Resident Evil Afterlife (2010)" and figured I'd move it back to the CP folder so that it grabs the right nfo info and instead this is where it went screwy. I've attached the log below of the second rename. CP requires video files to be in their own folder. You should have "Movies/Resident Evil Afterlife/Resident Evil Afterlife.avi". FYI everyone: The absolute surest way to make CP correctly identify a movie is for that movie to have a .nfo file with an imdb id or imdb link in it. Parsing file and folder names is not the best or easiest or all that great of a way to identify a movie. In this example you could have this video file: Code: Movies/I LIEK CAEK/this_isnt_resident_evil_afterlife.avi and if you had this .nfo file: Code: Movies/I LIEK CAEK/this_is_a_nfo.nfo and that file had this in it: Code: This is an nfo file with some text and some ASCII art because scene Then CP would correctly identify "this_isnt_resident_evil_afterlife.avi" as Resident Evil: Afterlife. - aptalca - 2010-12-14 Hi guys, I just started using couch potato with nzbmatrix and nzb.su nzbmatrix apparently is having problems with imdb links in rss feeds. If the link is added after the movie is added, the api won't update it with the link. So a lot of movies don't appear in the rss feed if searched through the imdb link (ie. "The American" 720p) And unfortunately, nzb.su is missing the imdb link altogether for many movies. Is there a way to set couchpotato so that it searches through the imdb link first and if it doesn't find the correct version but finds a complementary one (for instance 1080p exists but not 720p and we are looking for 720p), then searches for the name of the movie as well?? Thanks - Therms - 2010-12-15 aptalca Wrote:Hi guys, I just started using couch potato with nzbmatrix and nzb.su Assuming you're right about the problems with imdb links, that's a good idea. There's not currently a way to do this, but if you add an issue on github, it will get implemented. - Archigos - 2010-12-15 Therms, If you're talking about the directory that CP scans, than I did goof on that one when I tried Resident Evil the second time, but the files normally get dropped into it via their own folder. After posting about that movie I had another finish while I was sleeping that pulled the same stuff (this time the movie had an nfo with the IMDB id in it and was still named wrong). No clue why, but after I restarted the server (for other reasons) it seemed to fix itself. I renamed and moved both movies back into the monitored folder for the hell of it and they were both found and renamed properly. Chalk it up to my insomnia or something... however, I'll create a dummy nfo for the pissy ones in the future. |