diff --git a/changelog/unreleased/enhancement-more-audio-format-icons b/changelog/unreleased/enhancement-more-audio-format-icons new file mode 100644 index 00000000000..4d72fbf9fba --- /dev/null +++ b/changelog/unreleased/enhancement-more-audio-format-icons @@ -0,0 +1,6 @@ +Enhancement: Support more audio formats with correct icon + +We've updated our list of supported audio formats, so further formats/extensions (`.flac`,`.ogg`, among others) get displayed correctly. + +https://github.com/owncloud/web/issues/9966 +https://github.com/owncloud/web/pull/9985 diff --git a/packages/design-system/src/helpers/resourceIconMapping.json b/packages/design-system/src/helpers/resourceIconMapping.json index 5074af30d1e..75bfd8f624e 100644 --- a/packages/design-system/src/helpers/resourceIconMapping.json +++ b/packages/design-system/src/helpers/resourceIconMapping.json @@ -1,20 +1,68 @@ { + "3gp": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "7z": { "name": "resource-type-archive", "color": "var(--oc-color-icon-archive)" }, + "8svx": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "aa": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "aac": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "aax": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "accdb": { "name": "resource-type-file", "color": "var(--oc-color-text-default)" }, + "act": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "ai": { "name": "resource-type-image", "color": "var(--oc-color-icon-image)" }, + "aiff": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "alac": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "amr": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "ape": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "apk": { "name": "resource-type-archive", "color": "var(--oc-color-icon-archive)" }, + "au": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "awb": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "bash": { "name": "resource-type-code", "color": "var(--oc-color-text-default)" @@ -59,6 +107,10 @@ "name": "resource-type-code", "color": "var(--oc-color-text-default)" }, + "cda": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "cdr": { "name": "resource-type-image", "color": "var(--oc-color-icon-image)" @@ -91,6 +143,14 @@ "name": "resource-type-form", "color": "var(--oc-color-icon-document)" }, + "dss": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "dvf": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "oform": { "name": "resource-type-form", "color": "var(--oc-color-icon-document)" @@ -135,6 +195,10 @@ "name": "resource-type-code", "color": "var(--oc-color-text-default)" }, + "flac": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "go": { "name": "resource-type-code", "color": "var(--oc-color-text-default)" @@ -143,6 +207,10 @@ "name": "resource-type-image", "color": "var(--oc-color-icon-image)" }, + "gsm": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "gz": { "name": "resource-type-archive", "color": "var(--oc-color-icon-archive)" @@ -175,10 +243,18 @@ "name": "resource-type-ifc", "color": "var(--oc-color-icon-ifc)" }, + "iklax": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "ipynb": { "name": "resource-type-jupyter", "color": "var(--oc-color-icon-jupyter)" }, + "ivs": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "java": { "name": "resource-type-code", "color": "var(--oc-color-text-default)" @@ -203,6 +279,18 @@ "name": "resource-type-document", "color": "var(--oc-color-icon-document)" }, + "m4a": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "m4b": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "m4p": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "md": { "name": "resource-type-markdown", "color": "var(--oc-color-text-default)" @@ -211,10 +299,22 @@ "name": "resource-type-text", "color": "var(--oc-color-text-default)" }, + "mmf": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "mogg": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "mov": { "name": "resource-type-video", "color": "var(--oc-color-icon-video)" }, + "movpkg": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "mp3": { "name": "resource-type-audio", "color": "var(--oc-color-icon-audio)" @@ -223,6 +323,18 @@ "name": "resource-type-video", "color": "var(--oc-color-icon-video)" }, + "mpc": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "msv": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "nmf": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "odp": { "name": "resource-type-presentation", "color": "var(--oc-color-icon-presentation)" @@ -239,10 +351,22 @@ "name": "resource-type-document", "color": "var(--oc-color-icon-document)" }, + "oga": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "ogga": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "one": { "name": "resource-type-document", "color": "var(--oc-color-icon-document)" }, + "opus": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "otf": { "name": "resource-type-image", "color": "var(--oc-color-icon-image)" @@ -323,10 +447,26 @@ "name": "resource-type-code", "color": "var(--oc-color-text-default)" }, + "ra": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "rar": { "name": "resource-type-archive", "color": "var(--oc-color-icon-archive)" }, + "raw": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "rf64": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "rm": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "root": { "name": "resource-type-root", "color": "var(--oc-color-icon-root)" @@ -347,6 +487,10 @@ "name": "resource-type-code", "color": "var(--oc-color-text-default)" }, + "sln": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "sql": { "name": "resource-type-code", "color": "var(--oc-color-text-default)" @@ -387,6 +531,10 @@ "name": "resource-type-code", "color": "var(--oc-color-text-default)" }, + "tta": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "ttf": { "name": "resource-type-image", "color": "var(--oc-color-icon-image)" @@ -399,6 +547,14 @@ "name": "resource-type-url", "color": "var(--oc-color-text-default)" }, + "voc": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, + "vox": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "vsd": { "name": "resource-type-document", "color": "var(--oc-color-icon-document)" @@ -411,6 +567,10 @@ "name": "resource-type-video", "color": "var(--oc-color-icon-video)" }, + "wma": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "wmv": { "name": "resource-type-video", "color": "var(--oc-color-icon-video)" @@ -423,6 +583,10 @@ "name": "resource-type-document", "color": "var(--oc-color-icon-document)" }, + "wv": { + "name": "resource-type-audio", + "color": "var(--oc-color-icon-audio)" + }, "xcf": { "name": "resource-type-image", "color": "var(--oc-color-icon-image)"