mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
change file id from 0
This commit is contained in:
@@ -373,7 +373,7 @@ func (t *Torrent) Status() *state.TorrentStatus {
|
|||||||
})
|
})
|
||||||
for i, f := range files {
|
for i, f := range files {
|
||||||
st.FileStats = append(st.FileStats, &state.TorrentFileStat{
|
st.FileStats = append(st.FileStats, &state.TorrentFileStat{
|
||||||
Id: i + 1,
|
Id: i,
|
||||||
Path: f.Path(),
|
Path: f.Path(),
|
||||||
Length: f.Length(),
|
Length: f.Length(),
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user