rclone/cmd/serve/dlna
Nick Craig-Wood 85c29e3629 serve dlna: fix MIME type if backend can't identify it
If the server returns the MIME type as application/octet-stream we
assume it doesn't really know what the MIME type. This patch tries
matching the MIME type from the file extension instead in this case.

This enables the use of servers (like OneDrive for Business) which
don't allow the setting of MIME types on upload and have a poor
selection of mime types.

Fixes #7259
2023-09-01 18:09:44 +01:00
..
data authorize: add support for custom templates 2023-02-24 15:08:38 +00:00
dlnaflags docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
testdata/files dlna: associate subtitles with all possible media nodes 2019-10-09 11:57:42 +01:00
upnpav build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
cds.go serve dlna: fix MIME type if backend can't identify it 2023-09-01 18:09:44 +01:00
cms.go dlna: icons and compatibility improvements 2019-05-27 14:42:33 +01:00
dlna_test.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
dlna_util.go dlna: specify SSDP interface names from command line 2022-08-13 12:06:03 +01:00
dlna.go docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +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 dlna: fake out implementation of X_MS_MediaReceiverRegistrar 2019-09-17 12:52:02 +01:00