Send unicode to Subliminal
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user