Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
biezhihua committed Jan 26, 2024
1 parent 704fddc commit e951040
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"internal\\.multi",
"HYBRID",
"MULTi",
"SP",
"CC",
"EE"
],
Expand Down Expand Up @@ -54,6 +55,7 @@
"SweSub"
],
"country": [
"ESP",
"TW",
"KOREA",
"CHN",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
{
"src": "(4K修复版)",
"target": ""
},
{
"src": "SP.",
"target": ""
}
],
"rules": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,7 @@ pub fn input_before_process(before_token: &mut Token, input: &str) -> String {
let value = m.as_str().to_string();
tracing::debug!("edition = {}", value);
new_input = new_input.replace(&format!(".{}.", value), ".").to_string();
new_input = new_input.replace(&format!("{}.", value), "").to_string();
});

new_input
Expand Down
14 changes: 14 additions & 0 deletions soda_resource_tools_lib/tests/movie_and_tv_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -6202,6 +6202,20 @@
"release_group": "carapils",
"container": "mkv"
}
},
{
"title": "Contratiempo.2016.1080p.ESP.BluRay.1080p.x265.10bit.DDP.5.1.MNHD-FRDS.mkv",
"metadata": {
"cn_name": "",
"en_name": "Contratiempo",
"year": "2016",
"resolution": "1080p",
"source": "BluRay",
"video_codec": "H.265",
"audio_codec": "DDP.5.1",
"release_group": "MNHD-FRDS",
"container": "mkv"
}
}
]
}

0 comments on commit e951040

Please sign in to comment.