Skip to content

Commit

Permalink
fix: 识别报错
Browse files Browse the repository at this point in the history
  • Loading branch information
linyuan0213 committed Jul 9, 2024
1 parent 275c928 commit e1adb35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/media/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,8 +998,8 @@ def get_media_info_on_files(self,
if not meta_info.get_name() or not meta_info.type:
log.warn("【Rmt】%s 未识别出有效信息!" % meta_info.org_string)
return None
if mtype:
meta_info.type = mtype
if media_type:
meta_info.type = media_type
meta_info.set_tmdb_info(file_media_info)
# 自带TMDB信息
else:
Expand Down

0 comments on commit e1adb35

Please sign in to comment.