mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 18:29:45 +02:00
Support downloading Album Covers.
This commit is contained in:
parent
aa1d466e92
commit
4d712efb48
5 changed files with 97 additions and 54 deletions
|
@ -40,7 +40,7 @@ struct AudioFileShared {
|
|||
impl AudioFileLoading {
|
||||
fn new(session: &Session, file_id: FileId) -> AudioFileLoading {
|
||||
let size = session.stream(file_id, 0, 1)
|
||||
.into_iter()
|
||||
.iter()
|
||||
.filter_map(|event| {
|
||||
match event {
|
||||
StreamEvent::Header(id, ref data) if id == 0x3 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue