removed default kodi properties

This commit is contained in:
euzu
2025-01-25 11:58:45 +01:00
parent 1223d90984
commit dbefc7d7d9
5 changed files with 27 additions and 36 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ fn process_header(input: &ConfigInput, video_suffixes: &[&str], content: &str, u
}
pub fn extract_id_from_url(url: &str) -> Option<String> {
if let Some(filename) = url.split('/').last() {
if let Some(filename) = url.split('/').next_back() {
return filename.rfind('.').map_or_else(|| Some(filename.to_string()), |index| Some(filename[..index].to_string()));
}
None