Merge branch 'develop-categories' of git://github.com/clinton-hall/CouchPotatoServer into clinton-hall-develop-categories

Conflicts:
	couchpotato/core/plugins/score/main.py
This commit is contained in:
Ruud
2013-07-15 20:47:29 +02:00
5 changed files with 82 additions and 9 deletions
+5 -1
View File
@@ -148,6 +148,10 @@ class Renamer(Plugin):
remove_releases = []
movie_title = getTitle(group['library'])
try:
destination = group['category']['path']
except:
destination = self.conf('to')
# Add _UNKNOWN_ if no library item is connected
if not group['library'] or not movie_title:
@@ -817,4 +821,4 @@ Remove it if you want it to be renamed (again, or at least let it try again)
return item['id'] and item['downloader'] and item['folder']
def movieInFromFolder(self, movie_folder):
return movie_folder and self.conf('from') in movie_folder or not movie_folder
return movie_folder and self.conf('from') in movie_folder or not movie_folder