pass MIME type and seekable flag to DLNA players

This commit is contained in:
Drew Weymouth
2025-03-30 14:39:27 -07:00
parent 9001dc296f
commit 6e7480f48a
3 changed files with 19 additions and 4 deletions
+2
View File
@@ -183,6 +183,7 @@ const (
type MediaItemMetadata struct {
Type MediaItemType
MIMEType string
ID string
Name string
Artists []string
@@ -204,6 +205,7 @@ func (t *Track) Metadata() MediaItemMetadata {
}
return MediaItemMetadata{
Type: MediaItemTypeTrack,
MIMEType: t.ContentType,
ID: t.ID,
Name: t.Title,
Artists: t.ArtistNames,