diff --git a/headphones/__init__.py b/headphones/__init__.py index 51f0af1a..2e1416c8 100644 --- a/headphones/__init__.py +++ b/headphones/__init__.py @@ -372,7 +372,7 @@ def initialize(): MOVE_FILES = bool(check_setting_int(CFG, 'General', 'move_files', 0)) RENAME_FILES = bool(check_setting_int(CFG, 'General', 'rename_files', 0)) FOLDER_FORMAT = check_setting_str(CFG, 'General', 'folder_format', 'Artist/Album [Year]') - FILE_FORMAT = check_setting_str(CFG, 'General', 'file_format', 'Track Artist - Album [Year]- Title') + FILE_FORMAT = check_setting_str(CFG, 'General', 'file_format', 'Track Artist - Album [Year] - Title') CLEANUP_FILES = bool(check_setting_int(CFG, 'General', 'cleanup_files', 0)) ADD_ALBUM_ART = bool(check_setting_int(CFG, 'General', 'add_album_art', 0)) ALBUM_ART_FORMAT = check_setting_str(CFG, 'General', 'album_art_format', 'folder') diff --git a/headphones/searcher.py b/headphones/searcher.py index 4ecf7d0d..75acf712 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -1437,7 +1437,7 @@ def preprocesstorrent(resultlist, pre_sorted_list=False): return True, result try: - request = urllib2.Request(selresult[2]) + request = urllib2.Request(result[2]) request.add_header('Accept-encoding', 'gzip') if result[3] == 'Kick Ass Torrent':