Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Invalidate stream when using search command (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed May 22, 2024
1 parent 7d2ae71 commit 74e5e05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crunchy-cli-core/src/search/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,9 @@ impl Format {
if !stream_empty {
for (_, episodes) in tree.iter_mut() {
for (episode, streams) in episodes {
streams.push(episode.stream_maybe_without_drm().await?)
let stream = episode.stream_maybe_without_drm().await?;
stream.clone().invalidate().await?;
streams.push(stream)
}
}
} else {
Expand Down

0 comments on commit 74e5e05

Please sign in to comment.