diff --git a/src-tauri/src/library/database.rs b/src-tauri/src/library/database.rs index 4bce4bdfb..14e0a6bbb 100644 --- a/src-tauri/src/library/database.rs +++ b/src-tauri/src/library/database.rs @@ -1165,7 +1165,7 @@ impl LibraryDatabase { duration_secs: row.get(10)?, format: Self::parse_format(&row.get::<_, String>(11)?), bit_depth: row.get(12)?, - sample_rate: row.get(13)?, + sample_rate: row.get::<_, f64>(13)?, channels: row.get(14)?, file_size_bytes: row.get(15)?, cue_file_path: row.get(16)?, @@ -1769,7 +1769,7 @@ impl LibraryDatabase { duration_secs: row.get(12)?, format: Self::parse_format(&row.get::<_, String>(13)?), bit_depth: row.get(14)?, - sample_rate: row.get(15)?, + sample_rate: row.get::<_, f64>(15)?, channels: row.get(16)?, file_size_bytes: row.get(17)?, cue_file_path: row.get(18)?, @@ -1818,7 +1818,7 @@ impl LibraryDatabase { duration_secs: row.get(12)?, format: Self::parse_format(&row.get::<_, String>(13)?), bit_depth: row.get(14)?, - sample_rate: row.get(15)?, + sample_rate: row.get::<_, f64>(15)?, channels: row.get(16)?, file_size_bytes: row.get(17)?, cue_file_path: row.get(18)?,