add more dlna images

This commit is contained in:
nikk gitanes
2021-09-09 01:19:54 +03:00
parent 71d7451a79
commit 5101c91a90
12 changed files with 110 additions and 85 deletions

View File

@@ -45,22 +45,29 @@ func Start() {
Width: 48,
Height: 48,
Depth: 24,
Mimetype: "image/jpeg",
ReadSeeker: bytes.NewReader(template.Dlnaicon48jpg),
Mimetype: "image/png",
ReadSeeker: bytes.NewReader(template.Dlnaicon48png),
},
dms.Icon{
Width: 120,
Height: 120,
Depth: 24,
Mimetype: "image/png",
ReadSeeker: bytes.NewReader(template.Dlnaicon120png),
},
dms.Icon{
Width: 48,
Height: 48,
Depth: 24,
Mimetype: "image/png",
ReadSeeker: bytes.NewReader(template.Dlnaicon48png),
Mimetype: "image/jpeg",
ReadSeeker: bytes.NewReader(template.Dlnaicon48jpg),
},
dms.Icon{
Width: 192,
Height: 192,
Width: 120,
Height: 120,
Depth: 24,
Mimetype: "image/png",
ReadSeeker: bytes.NewReader(template.Androidchrome192x192png),
Mimetype: "image/jpeg",
ReadSeeker: bytes.NewReader(template.Dlnaicon120jpg),
},
},
NotifyInterval: 30 * time.Second,