This commit is contained in:
Rob Emery 2025-02-18 00:50:58 +00:00
parent 7d94f2bf42
commit bb0cd6df9e

View File

@ -358,7 +358,7 @@ func (cds *contentDirectoryService) doFiles(ret []interface{}, oPath string, hos
Path: path.Join(oPath, file.Name()),
Id: path.Join(oPath, file.Name()),
}
fileInfo,_ := file.Info()
fileInfo, _ := file.Info()
ret = append(ret, cds.cdsObjectToUpnpavObject(child, file.IsDir(), host, fileInfo.Size()))
}
return ret, nil