mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
use only png for dlna images
This commit is contained in:
@@ -42,20 +42,20 @@ func Start() {
|
|||||||
NoProbe: true,
|
NoProbe: true,
|
||||||
StallEventSubscribe: true,
|
StallEventSubscribe: true,
|
||||||
Icons: []dms.Icon{
|
Icons: []dms.Icon{
|
||||||
dms.Icon{
|
// dms.Icon{
|
||||||
Width: 48,
|
// Width: 48,
|
||||||
Height: 48,
|
// Height: 48,
|
||||||
Depth: 24,
|
// Depth: 24,
|
||||||
Mimetype: "image/jpeg",
|
// Mimetype: "image/jpeg",
|
||||||
ReadSeeker: bytes.NewReader(template.Dlnaicon48jpg),
|
// ReadSeeker: bytes.NewReader(template.Dlnaicon48jpg),
|
||||||
},
|
// },
|
||||||
dms.Icon{
|
// dms.Icon{
|
||||||
Width: 120,
|
// Width: 120,
|
||||||
Height: 120,
|
// Height: 120,
|
||||||
Depth: 24,
|
// Depth: 24,
|
||||||
Mimetype: "image/jpeg",
|
// Mimetype: "image/jpeg",
|
||||||
ReadSeeker: bytes.NewReader(template.Dlnaicon120jpg),
|
// ReadSeeker: bytes.NewReader(template.Dlnaicon120jpg),
|
||||||
},
|
// },
|
||||||
dms.Icon{
|
dms.Icon{
|
||||||
Width: 48,
|
Width: 48,
|
||||||
Height: 48,
|
Height: 48,
|
||||||
|
|||||||
Reference in New Issue
Block a user