mirror of
https://github.com/talwat/lowfi
synced 2025-09-27 02:40:01 +00:00
style: format code
This commit is contained in:
parent
66f2243b2c
commit
226c674295
@ -42,7 +42,9 @@ impl Bookmarks {
|
||||
|
||||
/// Loads bookmarks from the `bookmarks.txt` file.
|
||||
pub async fn load() -> eyre::Result<Self, BookmarkError> {
|
||||
let text = fs::read_to_string(Self::path().await?).await.unwrap_or_default();
|
||||
let text = fs::read_to_string(Self::path().await?)
|
||||
.await
|
||||
.unwrap_or_default();
|
||||
|
||||
let lines: Vec<String> = text
|
||||
.trim_start_matches("noheader")
|
||||
|
@ -120,11 +120,10 @@ pub async fn scrape() -> eyre::Result<()> {
|
||||
|
||||
const IGNORED_TRACKS: [u32; 20] = [
|
||||
// 404
|
||||
74707,
|
||||
// Lyrics
|
||||
74707, // Lyrics
|
||||
21655, 21773, 8172, 55397, 75135, 24827, 8141, 8157, 64052, 31612, 41956, 8001, 9217, 55372,
|
||||
// Abnormal
|
||||
8469, 7832, 10448, 9446, 9396
|
||||
8469, 7832, 10448, 9446, 9396,
|
||||
];
|
||||
|
||||
const IGNORED_ARTISTS: [&str; 1] = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user