add categories

This commit is contained in:
clinton-hall
2013-06-14 15:06:59 +09:30
parent e1bc223de0
commit 007597239f
3 changed files with 31 additions and 4 deletions
+4
View File
@@ -143,6 +143,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: