mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 10:19:27 +02:00
Merge branch 'dev' into rodiojack-backend
This commit is contained in:
parent
52438b1cc2
commit
aad4dba8a8
12 changed files with 143 additions and 107 deletions
|
@ -459,6 +459,13 @@ impl AudioFile {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_cached(&self) -> bool {
|
||||
match self {
|
||||
AudioFile::Cached { .. } => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn request_range(session: &Session, file: FileId, offset: usize, length: usize) -> Channel {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue