mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
fix cache view
This commit is contained in:
@@ -70,7 +70,7 @@ function getCacheMap(cache) {
|
|||||||
html += ' piece-loading'
|
html += ' piece-loading'
|
||||||
info += ' ' + (cache.Pieces[i].Size/cache.Pieces[i].Length*100).toFixed(2) + '%'
|
info += ' ' + (cache.Pieces[i].Size/cache.Pieces[i].Length*100).toFixed(2) + '%'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
cache.Readers.forEach((r,k)=> {
|
cache.Readers.forEach((r,k)=> {
|
||||||
if (i >= r.Start && i <= r.End && i !== r.Reader)
|
if (i >= r.Start && i <= r.End && i !== r.Reader)
|
||||||
html += ' reader-range'
|
html += ' reader-range'
|
||||||
@@ -79,7 +79,6 @@ function getCacheMap(cache) {
|
|||||||
info += ' reader'
|
info += ' reader'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
|
||||||
html += "' title='" + info + "'></span>"
|
html += "' title='" + info + "'></span>"
|
||||||
}
|
}
|
||||||
return html
|
return html
|
||||||
|
|||||||
Reference in New Issue
Block a user