1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-27 01:57:33 +00:00
bazarr/libs/subliminal_patch/refiners/symlinks.py
Louis Vézina 3ca2c98cd4 WIP
2019-09-16 22:04:27 -04:00

21 lines
351 B
Python

# coding=utf-8
from __future__ import absolute_import
import os
from .common import update_video
def refine(video, **kwargs):
"""
:param video:
:param kwargs:
:return:
"""
try:
orig_fn = os.path.basename(os.path.realpath(video.name))
except:
return
if orig_fn:
update_video(video, orig_fn)