From 7283b1362d1f6b447516c1e806e8051957a54bbd Mon Sep 17 00:00:00 2001 From: calexandr Date: Wed, 27 Nov 2019 17:44:06 +0200 Subject: [PATCH] add compatible predefined formats for video&audio views --- ckan/config/resource_formats.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ckan/config/resource_formats.json b/ckan/config/resource_formats.json index c20b4f8210b..7421f0083d4 100644 --- a/ckan/config/resource_formats.json +++ b/ckan/config/resource_formats.json @@ -38,10 +38,13 @@ ["KMZ", "KMZ File", "application/vnd.google-earth.kmz+xml", ["application/vnd.google-earth.kmz"]], ["MDB", "Access Database", "application/x-msaccess", []], ["MOP", "MOPAC Input format", "chemical/x-mopac-input", []], + ["MP3", "MPEG-1 Audio Layer-3", "audio/mpeg", ["audio/mpeg3", "audio/x-mpeg-3", "video/mpeg", "video/x-mpeg"]], + ["MP4", "MPEG Video File", "video/mp4", ["application/mp4"]], ["MrSID", "MrSID", "image/x-mrsid", []], ["MXD", "ESRI ArcGIS project file", "application/x-mxd", []], ["NetCDF", "NetCDF File", "application/netcdf", []], ["N3", "N3 Triples", "application/x-n3", []], + ["OGG", "Ogg Vorbis Audio File", "audio/ogg", []], ["ODB", "OpenDocument Database", "application/vnd.oasis.opendocument.database", []], ["ODC", "OpenDocument Chart", "application/vnd.oasis.opendocument.chart", []], ["ODF", "OpenDocument Math Formula", "application/vnd.oasis.opendocument.formula", []], @@ -73,7 +76,9 @@ ["TORRENT", "Torrent", "application/x-bittorrent", ["bittorrent"]], ["TSV", "Tab Separated Values File", "text/tab-separated-values", ["text/tsv"]], ["TXT", "Text File", "text/plain", []], + ["WAV", "Wave file", "audio/x-wav", ["audio/wav"]], ["WCS", "Web Coverage Service", "wcs", []], + ["WebM", "WEBM video", "video/webm", []], ["WFS", "Web Feature Service", null, []], ["WMS", "Web Mapping Service", "WMS", ["wms"]], ["WMTS", "Web Map Tile Service", null, []],