Invalidate stream when using search command (#428)

This commit is contained in:
bytedream 2024-05-22 23:59:12 +02:00
parent 7d2ae719c8
commit 74e5e05b0f

View file

@ -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 {