mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-12 13:56:53 +00:00
Merge branch 'fix/mp3-recognition' into 'develop'
upload.ex: add MPEG Layer 3 file header. See merge request pleroma/pleroma!221
This commit is contained in:
commit
1c676b7573
|
@ -151,6 +151,9 @@ defmodule Pleroma.Upload do
|
||||||
<<0x49, 0x44, 0x33, _, _, _, _, _>> ->
|
<<0x49, 0x44, 0x33, _, _, _, _, _>> ->
|
||||||
"audio/mpeg"
|
"audio/mpeg"
|
||||||
|
|
||||||
|
<<255, 251, _, 68, 0, 0, 0, 0>> ->
|
||||||
|
"audio/mpeg"
|
||||||
|
|
||||||
<<0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00>> ->
|
<<0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00>> ->
|
||||||
"audio/ogg"
|
"audio/ogg"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue