mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-11 18:32:24 +02:00
removed default kodi properties
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user