mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-12 02:22:56 +08:00
20 lines
311 B
Python
20 lines
311 B
Python
# coding=utf-8
|
|
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)
|