Skip to content

Commit 686ce6a

Browse files
committed
Update streamer.js
1 parent b7d66ba commit 686ce6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

www/nodejs-project/modules/streamer/streamer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class StreamerTools extends Events {
6868
const cachingKey = this.infoCacheKey(url), skipSample = entry.skipSample || entry.allowBlindTrust || (entry.skipSample !== false && this.streamInfo.mi.isVideo(url))
6969
if(cachingKey && this.streamInfoCaching[cachingKey] && now < this.streamInfoCaching[cachingKey].until) {
7070
if(skipSample || (this.streamInfoCaching[cachingKey].sample && this.streamInfoCaching[cachingKey].sample.length)) {
71+
this.streamInfoCaching[cachingKey].url = url // avoid reopening same URL
7172
return this.streamInfoCaching[cachingKey]
7273
}
7374
}

0 commit comments

Comments
 (0)