mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Update crunchyroll-rs to 0.3.7
fixes deprecation of streams to stream
This commit is contained in:
parent
0234d46bf9
commit
ebb5965015
5 changed files with 34 additions and 388 deletions
|
|
@ -132,10 +132,10 @@ impl SingleFormat {
|
|||
|
||||
pub async fn stream(&self) -> Result<Stream> {
|
||||
let stream = match &self.source {
|
||||
MediaCollection::Episode(e) => e.streams().await?,
|
||||
MediaCollection::Movie(m) => m.streams().await?,
|
||||
MediaCollection::MusicVideo(mv) => mv.streams().await?,
|
||||
MediaCollection::Concert(c) => c.streams().await?,
|
||||
MediaCollection::Episode(e) => e.stream().await?,
|
||||
MediaCollection::Movie(m) => m.stream().await?,
|
||||
MediaCollection::MusicVideo(mv) => mv.stream().await?,
|
||||
MediaCollection::Concert(c) => c.stream().await?,
|
||||
_ => unreachable!(),
|
||||
};
|
||||
Ok(stream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue