This commit is contained in:
YouROK
2021-09-08 11:40:04 +03:00
parent 31f50556ec
commit 8f38a35b0f

View File

@@ -31,8 +31,8 @@ func getRoot() (ret []interface{}) {
} }
// add Root Object // add Root Object
len := len(torr.ListTorrent()) lenl := len(torr.ListTorrent())
cnt := upnpav.Container{Object: rootObj, ChildCount: len} cnt := upnpav.Container{Object: rootObj, ChildCount: lenl}
ret = append(ret, cnt) ret = append(ret, cnt)
return return