rclone/cmd/serve/dlna
Florian Klink 00e073df1e dlna: set more correct mime type
The code currently hardcodes `text/srt` for all subtitles.

`text/srt` is wrong, it seems `application/x-subrip` is the official
extension coming from the official mime database, at least (and still
works with the Samsung TV I tested with). Also add that one to `fs/
mimetype.go`.

Compared to previous iterations of this PR, I dropped tests ensuring
certain mime types are present - as detection still seems to be fairly
platform-specific.
2024-08-15 22:01:52 +01:00
..
data build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
dlnaflags serve dlna: convert options to new style 2024-07-15 11:09:54 +01:00
testdata/files dlna: don't swallow video.{idx,sub} 2024-08-15 22:01:52 +01:00
upnpav build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
cds.go dlna: set more correct mime type 2024-08-15 22:01:52 +01:00
cds_test.go dlna: don't swallow video.{idx,sub} 2024-08-15 22:01:52 +01:00
cms.go build: update to go1.23rc1 and make go1.21 the minimum required version 2024-07-20 10:54:47 +01:00
dlna.go build: update to go1.23rc1 and make go1.21 the minimum required version 2024-07-20 10:54:47 +01:00
dlna_test.go dlna: don't swallow video.{idx,sub} 2024-08-15 22:01:52 +01:00
dlna_util.go build: update to go1.23rc1 and make go1.21 the minimum required version 2024-07-20 10:54:47 +01:00
LICENSE.anacrolix dlna: properly attribute code used from https://github.com/anacrolix/dms 2022-12-09 14:27:10 +00:00
mrrs.go build: update to go1.23rc1 and make go1.21 the minimum required version 2024-07-20 10:54:47 +01:00