|
|
@ -12,6 +12,7 @@ import codecs
|
|
|
|
import types
|
|
|
|
import types
|
|
|
|
import re
|
|
|
|
import re
|
|
|
|
import subliminal
|
|
|
|
import subliminal
|
|
|
|
|
|
|
|
import platform
|
|
|
|
from datetime import datetime, timedelta
|
|
|
|
from datetime import datetime, timedelta
|
|
|
|
from subzero.language import Language
|
|
|
|
from subzero.language import Language
|
|
|
|
from subzero.video import parse_video
|
|
|
|
from subzero.video import parse_video
|
|
|
@ -65,7 +66,7 @@ def get_video(path, title, sceneName, use_scenename, use_mediainfo, providers=No
|
|
|
|
video.original_path = original_path
|
|
|
|
video.original_path = original_path
|
|
|
|
refine_from_db(original_path, video)
|
|
|
|
refine_from_db(original_path, video)
|
|
|
|
|
|
|
|
|
|
|
|
if use_mediainfo:
|
|
|
|
if platform.system() != "Linux" and use_mediainfo:
|
|
|
|
refine_from_mediainfo(original_path, video)
|
|
|
|
refine_from_mediainfo(original_path, video)
|
|
|
|
|
|
|
|
|
|
|
|
logging.debug('BAZARR is using those video object properties: %s', vars(video))
|
|
|
|
logging.debug('BAZARR is using those video object properties: %s', vars(video))
|
|
|
|