dlna icons fix

thx @YouROK
This commit is contained in:
nikk gitanes
2021-09-08 23:05:32 +03:00
parent 3104f61653
commit 5e22eef376
8 changed files with 16 additions and 9 deletions

View File

@@ -198,8 +198,8 @@ func getObjFromTorrent(path, parent, host string, torr *torr.Torrent, file *stat
item.Res = append(item.Res, upnpav.Resource{
URL: getLink(host, pathPlay),
ProtocolInfo: fmt.Sprintf("http-get:*:%s:%s", mime, dlna.ContentFeatures{
SupportTimeSeek: true,
SupportRange: true,
SupportTimeSeek: true,
}.String()),
Size: uint64(file.Length),
})