Minimal subsonic functionality
This commit is contained in:
@@ -560,16 +560,8 @@ pub fn playlists_page() -> Html {
|
||||
if existing_ids.contains(&t.id) {
|
||||
return false;
|
||||
}
|
||||
let title_lower = t
|
||||
.title
|
||||
.as_deref()
|
||||
.unwrap_or("")
|
||||
.to_lowercase();
|
||||
let artist_lower = t
|
||||
.artist
|
||||
.as_deref()
|
||||
.unwrap_or("")
|
||||
.to_lowercase();
|
||||
let title_lower = t.title.as_deref().unwrap_or("").to_lowercase();
|
||||
let artist_lower = t.artist.as_deref().unwrap_or("").to_lowercase();
|
||||
// Subsequence match on title or artist
|
||||
let matches_field = |field: &str| {
|
||||
let mut chars = search_query.chars();
|
||||
|
||||
Reference in New Issue
Block a user