mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
change output
This commit is contained in:
@@ -96,7 +96,7 @@ func statePage(c echo.Context) error {
|
||||
msg += fmt.Sprintf("PiecesLength: %v<br>\n", bytes.Format(cState.PiecesLength))
|
||||
msg += fmt.Sprintf("PiecesCount: %v<br>\n", cState.PiecesCount)
|
||||
for _, p := range cState.Pieces {
|
||||
msg += fmt.Sprintf("\t Piece: %v\t  Access: %s\t  Buffer size: %d(%s)\t  Complete: %v\t  Hash: %s\n<br>", p.Id, p.Accessed.Format("15:04:05.000"), p.BufferSize, bytes.Format(int64(p.BufferSize)), p.Completed, p.Hash)
|
||||
msg += fmt.Sprintf("\t Piece: %v\t  Access: %v\t  Buffer size: %d(%s)\t  Complete: %v\t  Hash: %s\n<br>", p.Id, p.Accessed, p.BufferSize, bytes.Format(int64(p.BufferSize)), p.Completed, p.Hash)
|
||||
}
|
||||
}
|
||||
msg += "<hr><br><br>\n\n"
|
||||
|
||||
Reference in New Issue
Block a user