Add imdb id to renaming options

This commit is contained in:
Ruud
2012-05-20 22:32:46 +02:00
parent 4b49decd10
commit 4711e09f91
2 changed files with 2 additions and 0 deletions
@@ -19,6 +19,7 @@ rename_options = {
'source': 'Source media (Bluray)',
'filename': 'Original filename',
'original_folder': 'Original foldername',
'imdb_id': 'IMDB id (tt0123456)',
},
}
+1
View File
@@ -131,6 +131,7 @@ class Renamer(Plugin):
'source': group['meta_data']['source'],
'resolution_width': group['meta_data'].get('resolution_width'),
'resolution_height': group['meta_data'].get('resolution_height'),
'imdb_id': library['identifier'],
}
for file_type in group['files']: