Skip to content

Commit

Permalink
Merge pull request #3434 from std2main/feature1-populate-effect-in-ge…
Browse files Browse the repository at this point in the history
…t_format_dict
  • Loading branch information
jxxghp authored Feb 10, 2023
2 parents 00300e5 + f1c0012 commit d96fce1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/filetransfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1187,6 +1187,7 @@ def get_format_dict(self, media):
"edition": media.get_edtion_string() or None,
"videoFormat": media.resource_pix,
"releaseGroup": media.resource_team,
"effect": media.resource_effect,
"videoCodec": media.video_encode,
"audioCodec": media.audio_encode,
"tmdbid": media.tmdb_id,
Expand Down
4 changes: 2 additions & 2 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ media:
# 【洗版开关】:如开启则则新下载了更大的文件会覆盖媒体库目录中已有的文件
filesize_cover: true
# 【电影命名定义】:程序会按定义的命名格式对电影进行重命名;/代表上下级目录,{}内为占位符;占位符会使用文件识别出来的实际值替换;占位符外的字符会当成普通字符,直接体现在名称上
# 电影占位符有:{title}:标题,{en_title}:英文标题,{original_title}:原语种标题,{original_name}:原文件名,{year}:年份,{edition}:版本(Bluray/WEB-DL等),{videoFormat}:分辨率(1080p/4k等),{videoCodec}:视频编码,{audioCodec}:音频编码及声道,{tmdbid}:TMDB的ID,{part}:part1/disc1/dvd1,{releaseGroup}:制作组/字幕组等
# 电影占位符有:{title}:标题,{en_title}:英文标题,{original_title}:原语种标题,{original_name}:原文件名,{year}:年份,{edition}:版本(Bluray/WEB-DL等),{videoFormat}:分辨率(1080p/4k等),{videoCodec}:视频编码,{audioCodec}:音频编码及声道,{effect}: 视频特效(DV,HDR等), {tmdbid}:TMDB的ID,{part}:part1/disc1/dvd1,{releaseGroup}:制作组/字幕组等
movie_name_format: "{title} ({year})/{title}-{part} ({year}) - {videoFormat}"
# 【电视剧命名定义】:程序会按定义的命名格式对电视剧进行重命名;/代表上下级目录,{}内为占位符;占位符会使用文件识别出来的实际值替换,占位符外的字符会当成普通字符,直接体现在名称上
# 电视剧占位符有:{title}:标题,{en_title}:英文标题,{original_title}:原语种标题,{original_name}:原文件名,{year}:年份,{edition}:版本(Bluray/WEB-DL等),{videoFormat}:分辨率(1080p/4k等),{videoCodec}:视频编码,{audioCodec}:音频编码及声道,{tmdbid}:TMDB的ID,{season}:季数,{episode}:集数,{season_episode}:剧集SxxExx,{part}:part1/disc1/dvd1,{releaseGroup}:制作组/字幕组等
# 电视剧占位符有:{title}:标题,{en_title}:英文标题,{original_title}:原语种标题,{original_name}:原文件名,{year}:年份,{edition}:版本(Bluray/WEB-DL等),{videoFormat}:分辨率(1080p/4k等),{videoCodec}:视频编码,{audioCodec}:音频编码及声道,{effect}: 视频特效(DV,HDR等), {tmdbid}:TMDB的ID,{season}:季数,{episode}:集数,{season_episode}:剧集SxxExx,{part}:part1/disc1/dvd1,{releaseGroup}:制作组/字幕组等
tv_name_format: "{title} ({year})/Season {season}/{title}-{part} - {season_episode} - 第{episode}集"
# 【刮削元数据及图片】:开启后文件转移完成时会自动生成nfo描述文件及poster海报,协助媒体服务器识别和搜刮
nfo_poster: false
Expand Down

0 comments on commit d96fce1

Please sign in to comment.