musichoard/tests/testlib.rs

1094 lines
46 KiB
Rust
Raw Normal View History

use once_cell::sync::Lazy;
2024-03-03 23:21:44 +01:00
use std::{collections::HashMap, str::FromStr};
use musichoard::collection::{
2024-03-02 12:25:08 +01:00
album::{Album, AlbumDate, AlbumId, AlbumMonth, AlbumSeq},
artist::{Artist, ArtistId, MusicBrainz},
2024-03-02 12:25:08 +01:00
track::{Track, TrackFormat, TrackId, TrackNum, TrackQuality},
Collection,
};
pub static COLLECTION: Lazy<Vec<Artist>> = Lazy::new(|| -> Collection {
vec![
Artist {
id: ArtistId {
name: String::from("Аркона"),
},
sort: Some(ArtistId{
name: String::from("Arkona")
}),
2024-03-03 23:21:44 +01:00
musicbrainz: Some(MusicBrainz::from_str(
"https://musicbrainz.org/artist/baad262d-55ef-427a-83c7-f7530964f212"
).unwrap()),
properties: HashMap::from([
(String::from("MusicButler"), vec![
String::from("https://www.musicbutler.io/artist-page/283448581"),
]),
(String::from("Bandcamp"), vec![
String::from("https://arkonamoscow.bandcamp.com/"),
]),
(String::from("Qobuz"), vec![String::from(
"https://www.qobuz.com/nl-nl/interpreter/arkona/download-streaming-albums",
)]),
]),
albums: vec![Album {
id: AlbumId {
title: String::from("Slovo"),
},
2024-03-02 12:25:08 +01:00
date: AlbumDate {
year: 2011,
month: AlbumMonth::None,
day: 0,
},
seq: AlbumSeq(0),
tracks: vec![
Track {
id: TrackId {
title: String::from("Az"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(1),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 992,
},
},
Track {
id: TrackId {
title: String::from("Arkaim"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(2),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1061,
},
},
Track {
id: TrackId {
title: String::from("Bolno mne"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(3),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1004,
},
},
Track {
id: TrackId {
title: String::from("Leshiy"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(4),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1077,
},
},
Track {
id: TrackId {
title: String::from("Zakliatie"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(5),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1041,
},
},
Track {
id: TrackId {
title: String::from("Predok"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(6),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 756,
},
},
Track {
id: TrackId {
title: String::from("Nikogda"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(7),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1059,
},
},
Track {
id: TrackId {
title: String::from("Tam za tumanami"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(8),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1023,
},
},
Track {
id: TrackId {
title: String::from("Potomok"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(9),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 838,
},
},
Track {
id: TrackId {
title: String::from("Slovo"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(10),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1028,
},
},
Track {
id: TrackId {
title: String::from("Odna"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(11),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 991,
},
},
Track {
id: TrackId {
title: String::from("Vo moiom sadochke…"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(12),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 919,
},
},
Track {
id: TrackId {
title: String::from("Stenka na stenku"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(13),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1039,
},
},
Track {
id: TrackId {
title: String::from("Zimushka"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(14),
artist: vec![String::from("Аркона")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 974,
},
},
],
}],
},
Artist {
id: ArtistId {
name: String::from("Eluveitie"),
},
sort: None,
2024-03-03 23:21:44 +01:00
musicbrainz: Some(MusicBrainz::from_str(
"https://musicbrainz.org/artist/8000598a-5edb-401c-8e6d-36b167feaf38",
).unwrap()),
properties: HashMap::from([
(String::from("MusicButler"), vec![
String::from("https://www.musicbutler.io/artist-page/269358403"),
]),
(String::from("Qobuz"), vec![String::from(
"https://www.qobuz.com/nl-nl/interpreter/eluveitie/download-streaming-albums",
)]),
]),
albums: vec![
Album {
id: AlbumId {
title: String::from("Vên [rerecorded]"),
},
2024-03-02 12:25:08 +01:00
date: AlbumDate {
year: 2004,
month: AlbumMonth::None,
day: 0,
},
seq: AlbumSeq(0),
tracks: vec![
Track {
id: TrackId {
title: String::from("Verja Urit an Bitus"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(1),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 961,
},
},
Track {
id: TrackId {
title: String::from("Uis Elveti"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(2),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1067,
},
},
Track {
id: TrackId {
title: String::from("Ôrô"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(3),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 933,
},
},
Track {
id: TrackId {
title: String::from("Lament"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(4),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1083,
},
},
Track {
id: TrackId {
title: String::from("Druid"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(5),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1073,
},
},
Track {
id: TrackId {
title: String::from("Jêzaïg"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(6),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1002,
},
},
],
},
Album {
id: AlbumId {
title: String::from("Slania"),
},
2024-03-02 12:25:08 +01:00
date: AlbumDate {
year: 2008,
month: AlbumMonth::None,
day: 0,
},
seq: AlbumSeq(0),
tracks: vec![
Track {
id: TrackId {
title: String::from("Samon"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(1),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 953,
},
},
Track {
id: TrackId {
title: String::from("Primordial Breath"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(2),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1103,
},
},
Track {
id: TrackId {
title: String::from("Inis Mona"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(3),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1117,
},
},
Track {
id: TrackId {
title: String::from("Gray Sublime Archon"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(4),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1092,
},
},
Track {
id: TrackId {
title: String::from("Anagantios"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(5),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 923,
},
},
Track {
id: TrackId {
title: String::from("Bloodstained Ground"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(6),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1098,
},
},
Track {
id: TrackId {
title: String::from("The Somber Lay"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(7),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1068,
},
},
Track {
id: TrackId {
title: String::from("Slanias Song"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(8),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1098,
},
},
Track {
id: TrackId {
title: String::from("Giamonios"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(9),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 825,
},
},
Track {
id: TrackId {
title: String::from("Tarvos"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(10),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1115,
},
},
Track {
id: TrackId {
title: String::from("Calling the Rain"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(11),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1096,
},
},
Track {
id: TrackId {
title: String::from("Elembivos"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(12),
artist: vec![String::from("Eluveitie")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1059,
},
},
],
},
],
},
Artist {
id: ArtistId {
name: String::from("Frontside"),
},
sort: None,
2024-03-03 23:21:44 +01:00
musicbrainz: Some(MusicBrainz::from_str(
"https://musicbrainz.org/artist/3a901353-fccd-4afd-ad01-9c03f451b490",
).unwrap()),
properties: HashMap::from([
(String::from("MusicButler"), vec![
String::from("https://www.musicbutler.io/artist-page/826588800"),
]),
(String::from("Qobuz"), vec![String::from(
"https://www.qobuz.com/nl-nl/interpreter/frontside/download-streaming-albums",
)]),
]),
albums: vec![Album {
id: AlbumId {
title: String::from("…nasze jest królestwo, potęga i chwała na wieki…"),
},
2024-03-02 12:25:08 +01:00
date: AlbumDate {
year: 2001,
month: AlbumMonth::None,
day: 0,
},
seq: AlbumSeq(0),
tracks: vec![
Track {
id: TrackId {
title: String::from("Intro = Chaos"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(1),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1024,
},
},
Track {
id: TrackId {
title: String::from("Modlitwa"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(2),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1073,
},
},
Track {
id: TrackId {
title: String::from("Długa droga z piekła"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(3),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1058,
},
},
Track {
id: TrackId {
title: String::from("Synowie ognia"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(4),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1066,
},
},
Track {
id: TrackId {
title: String::from("1902"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(5),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1074,
},
},
Track {
id: TrackId {
title: String::from("Krew za krew"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(6),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1080,
},
},
Track {
id: TrackId {
title: String::from("Kulminacja"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(7),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 992,
},
},
Track {
id: TrackId {
title: String::from("Judasz"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(8),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1018,
},
},
Track {
id: TrackId {
title: String::from("Więzy"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(9),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1077,
},
},
Track {
id: TrackId {
title: String::from("Zagubione dusze"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(10),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1033,
},
},
Track {
id: TrackId {
title: String::from("Linia życia"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(11),
artist: vec![String::from("Frontside")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 987,
},
},
],
}],
},
Artist {
id: ArtistId {
name: String::from("Heavens Basement"),
},
sort: Some(ArtistId {
name: String::from("Heavens Basement"),
}),
2024-03-03 23:21:44 +01:00
musicbrainz: Some(MusicBrainz::from_str(
"https://musicbrainz.org/artist/c2c4d56a-d599-4a18-bd2f-ae644e2198cc",
).unwrap()),
properties: HashMap::from([
(String::from("MusicButler"), vec![
String::from("https://www.musicbutler.io/artist-page/291158685"),
]),
(String::from("Qobuz"), vec![String::from(
"https://www.qobuz.com/nl-nl/interpreter/heaven-s-basement/download-streaming-albums",
)]),
]),
albums: vec![Album {
id: AlbumId {
title: String::from("Paper Plague"),
},
2024-03-02 12:25:08 +01:00
date: AlbumDate {
year: 2011,
month: AlbumMonth::None,
day: 0,
},
seq: AlbumSeq(0),
tracks: vec![
Track {
id: TrackId {
title: String::from("Paper Plague"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(0),
artist: vec![String::from("Heavens Basement")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Mp3,
bitrate: 320,
},
},
],
}, Album {
id: AlbumId {
title: String::from("Unbreakable"),
},
2024-03-02 12:25:08 +01:00
date: AlbumDate {
year: 2011,
month: AlbumMonth::None,
day: 0,
},
seq: AlbumSeq(0),
tracks: vec![
Track {
id: TrackId {
title: String::from("Unbreakable"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(1),
artist: vec![String::from("Heavens Basement")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Mp3,
bitrate: 208,
},
},
Track {
id: TrackId {
title: String::from("Guilt Trips and Sins"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(2),
artist: vec![String::from("Heavens Basement")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Mp3,
bitrate: 205,
},
},
Track {
id: TrackId {
title: String::from("The Long Goodbye"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(3),
artist: vec![String::from("Heavens Basement")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Mp3,
bitrate: 227,
},
},
Track {
id: TrackId {
title: String::from("Close Encounters"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(4),
artist: vec![String::from("Heavens Basement")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Mp3,
bitrate: 213,
},
},
Track {
id: TrackId {
title: String::from("Paranoia"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(5),
artist: vec![String::from("Heavens Basement")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Mp3,
bitrate: 218,
},
},
Track {
id: TrackId {
title: String::from("Let Me Out of Here"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(6),
artist: vec![String::from("Heavens Basement")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Mp3,
bitrate: 207,
},
},
Track {
id: TrackId {
title: String::from("Leeches"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(7),
artist: vec![String::from("Heavens Basement")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Mp3,
bitrate: 225,
},
},
],
}],
},
Artist {
id: ArtistId {
name: String::from("Metallica"),
},
sort: None,
2024-03-03 23:21:44 +01:00
musicbrainz: Some(MusicBrainz::from_str(
"https://musicbrainz.org/artist/65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab",
).unwrap()),
properties: HashMap::from([
(String::from("MusicButler"), vec![
String::from("https://www.musicbutler.io/artist-page/3996865"),
]),
(String::from("Qobuz"), vec![String::from(
"https://www.qobuz.com/nl-nl/interpreter/metallica/download-streaming-albums",
)]),
]),
albums: vec![
Album {
id: AlbumId {
title: String::from("Ride the Lightning"),
},
2024-03-02 12:25:08 +01:00
date: AlbumDate {
year: 1984,
month: AlbumMonth::None,
day: 0,
},
seq: AlbumSeq(0),
tracks: vec![
Track {
id: TrackId {
title: String::from("Fight Fire with Fire"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(1),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 954,
},
},
Track {
id: TrackId {
title: String::from("Ride the Lightning"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(2),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 951,
},
},
Track {
id: TrackId {
title: String::from("For Whom the Bell Tolls"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(3),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 889,
},
},
Track {
id: TrackId {
title: String::from("Fade to Black"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(4),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 939,
},
},
Track {
id: TrackId {
title: String::from("Trapped under Ice"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(5),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 955,
},
},
Track {
id: TrackId {
title: String::from("Escape"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(6),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 941,
},
},
Track {
id: TrackId {
title: String::from("Creeping Death"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(7),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 958,
},
},
Track {
id: TrackId {
title: String::from("The Call of Ktulu"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(8),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 888,
},
},
],
},
Album {
id: AlbumId {
title: String::from("S&M"),
},
2024-03-02 12:25:08 +01:00
date: AlbumDate {
year: 1999,
month: AlbumMonth::None,
day: 0,
},
seq: AlbumSeq(0),
tracks: vec![
Track {
id: TrackId {
title: String::from("The Ecstasy of Gold"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(1),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 875,
},
},
Track {
id: TrackId {
title: String::from("The Call of Ktulu"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(2),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1030,
},
},
Track {
id: TrackId {
title: String::from("Master of Puppets"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(3),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1082,
},
},
Track {
id: TrackId {
title: String::from("Of Wolf and Man"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(4),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1115,
},
},
Track {
id: TrackId {
title: String::from("The Thing That Should Not Be"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(5),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1029,
},
},
Track {
id: TrackId {
title: String::from("Fuel"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(6),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1057,
},
},
Track {
id: TrackId {
title: String::from("The Memory Remains"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(7),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1080,
},
},
Track {
id: TrackId {
title: String::from("No Leaf Clover"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(8),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1004,
},
},
Track {
id: TrackId {
title: String::from("Hero of the Day"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(9),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 962,
},
},
Track {
id: TrackId {
title: String::from("Devils Dance"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(10),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1076,
},
},
Track {
id: TrackId {
title: String::from("Bleeding Me"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(11),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 993,
},
},
Track {
id: TrackId {
title: String::from("Nothing Else Matters"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(12),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 875,
},
},
Track {
id: TrackId {
title: String::from("Until It Sleeps"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(13),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1038,
},
},
Track {
id: TrackId {
title: String::from("For Whom the Bell Tolls"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(14),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1072,
},
},
Track {
id: TrackId {
title: String::from("Human"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(15),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1029,
},
},
Track {
id: TrackId {
title: String::from("Wherever I May Roam"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(16),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1035,
},
},
Track {
id: TrackId {
title: String::from("Outlaw Torn"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(17),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1042,
},
},
Track {
id: TrackId {
title: String::from("Sad but True"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(18),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1082,
},
},
Track {
id: TrackId {
title: String::from("One"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(19),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 1017,
},
},
Track {
id: TrackId {
title: String::from("Enter Sandman"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(20),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 993,
},
},
Track {
id: TrackId {
title: String::from("Battery"),
},
2024-03-02 12:25:08 +01:00
number: TrackNum(21),
artist: vec![String::from("Metallica")],
2024-03-02 09:32:34 +01:00
quality: TrackQuality {
format: TrackFormat::Flac,
bitrate: 967,
},
},
],
},
],
},
]
});