Send unicode to Subliminal

This commit is contained in:
Ruud
2012-07-11 01:00:56 +02:00
parent cc662db4d6
commit 68cbfc4d84
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -460,7 +460,7 @@ class Scanner(Plugin):
scan_result = []
for p in paths:
if not group['is_dvd']:
video = Video.from_path(p)
video = Video.from_path(toUnicode(p))
video_result = [(video, video.scan())]
scan_result.extend(video_result)
@@ -782,7 +782,7 @@ class Scanner(Plugin):
guess = {}
if file_name:
try:
guess = guess_movie_info(file_name)
guess = guess_movie_info(toUnicode(file_name))
if guess.get('title') and guess.get('year'):
guess = {
'name': guess.get('title'),