@@ -186,7 +186,7 @@ fn init_lib_config(local_soda_config: &Value, config_dir: &Path, cache_dir: &Pat
186
186
config. strong_match_regex_rules_path = "" . to_string ( ) ;
187
187
config. strong_match_name_map_path = "" . to_string ( ) ;
188
188
config. transfer_rename_format_tv = "$title_cn$.$title_en$.$release_year$/$title_cn$.$title_en$.$year$.$season$.$resolution$.$source$.$video_codec$.$audio_codec$/$title_cn$.$title_en$.$year$.$season$$episode$.$resolution$.$source$.$video_codec$.$audio_codec$.$extension$" . to_string ( ) ;
189
- config. transfer_rename_format_movie = "$title_cn$.$title_en$.$ year$.$resolution$.$source$.$video_codec$.$audio_codec$ /$title_cn$.$title_en$.$ year$. $resolution$.$source$.$video_codec$.$audio_codec$.$ extension$" . to_string ( ) ;
189
+ config. transfer_rename_format_movie = "$title_cn$ ($ year$) /$title_cn$ ($ year$) - $resolution$.$extension$" . to_string ( )
190
190
config. metadata_skip_special = true ;
191
191
soda:: update_lib_config ( config) ;
192
192
tracing:: info!( target: "soda::info" , "配置更新成功" ) ;
@@ -200,7 +200,7 @@ fn init_lib_config_dev(lib_dir: &Path) {
200
200
config. strong_match_regex_rules_path = lib_dir. join ( "config" ) . join ( "mt_strong_match_regex_rules.json" ) . to_str ( ) . unwrap ( ) . to_string ( ) ;
201
201
config. strong_match_name_map_path = lib_dir. join ( "config" ) . join ( "mt_strong_match_name_map.json" ) . to_str ( ) . unwrap ( ) . to_string ( ) ;
202
202
config. transfer_rename_format_tv = "$title_cn$.$title_en$.$release_year$/$title_cn$.$title_en$.$year$.$season$.$resolution$.$source$.$video_codec$.$audio_codec$/$title_cn$.$title_en$.$year$.$season$$episode$.$resolution$.$source$.$video_codec$.$audio_codec$.$extension$" . to_string ( ) ;
203
- config. transfer_rename_format_movie = "$title_cn$.$title_en$.$ year$.$resolution$.$source$.$video_codec$.$audio_codec$ /$title_cn$.$title_en$.$ year$. $resolution$.$source$.$video_codec$.$audio_codec $.$extension$" . to_string ( ) ;
203
+ config. transfer_rename_format_movie = "$title_cn$ ($ year$) /$title_cn$ ($ year$) - $resolution$.$extension$" . to_string ( ) ;
204
204
config. metadata_skip_special = true ;
205
205
soda:: update_lib_config ( config) ;
206
206
tracing:: info!( target: "soda::info" , "配置更新成功" ) ;
0 commit comments