From 4c4d91533804b6b2cf41286c4a0b48a5ee586671 Mon Sep 17 00:00:00 2001 From: Esgrove Date: Wed, 21 Feb 2024 19:57:16 +0200 Subject: [PATCH] add "rip" to bpm fix skip --- src/formatter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formatter.rs b/src/formatter.rs index c3f8d86..a600957 100644 --- a/src/formatter.rs +++ b/src/formatter.rs @@ -434,7 +434,7 @@ fn extract_feat_from_parentheses(artist: &mut String) { fn remove_bpm_in_parentheses_from_end(text: &mut String) { // Skip some valid titles - let suffixes = [" (4u)", "33rpm)", "45rpm)", " mix)", " dub)", " eq)"]; + let suffixes = [" (4u)", "33rpm)", "45rpm)", " mix)", " dub)", " eq)", " rip)"]; let text_lower = text.to_lowercase(); if suffixes.iter().any(|suffix| text_lower.ends_with(suffix)) { return;