mirror of
https://github.com/talwat/lowfi
synced 2025-09-27 10:50:02 +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.
|
/// Loads bookmarks from the `bookmarks.txt` file.
|
||||||
pub async fn load() -> eyre::Result<Self, BookmarkError> {
|
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
|
let lines: Vec<String> = text
|
||||||
.trim_start_matches("noheader")
|
.trim_start_matches("noheader")
|
||||||
|
@ -120,11 +120,10 @@ pub async fn scrape() -> eyre::Result<()> {
|
|||||||
|
|
||||||
const IGNORED_TRACKS: [u32; 20] = [
|
const IGNORED_TRACKS: [u32; 20] = [
|
||||||
// 404
|
// 404
|
||||||
74707,
|
74707, // Lyrics
|
||||||
// Lyrics
|
|
||||||
21655, 21773, 8172, 55397, 75135, 24827, 8141, 8157, 64052, 31612, 41956, 8001, 9217, 55372,
|
21655, 21773, 8172, 55397, 75135, 24827, 8141, 8157, 64052, 31612, 41956, 8001, 9217, 55372,
|
||||||
// Abnormal
|
// Abnormal
|
||||||
8469, 7832, 10448, 9446, 9396
|
8469, 7832, 10448, 9446, 9396,
|
||||||
];
|
];
|
||||||
|
|
||||||
const IGNORED_ARTISTS: [&str; 1] = [
|
const IGNORED_ARTISTS: [&str; 1] = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user