Skip to content

Commit

Permalink
Fix musepack files application/vnd.mophun.certificate -> audio/x-muse…
Browse files Browse the repository at this point in the history
…pack
  • Loading branch information
Andy-H-Nguyen committed Jun 1, 2021
1 parent a2ca764 commit f7182ff
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/marcel/mime_type/definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

Marcel::MimeType.extend "audio/flac", magic: [[0, 'fLaC']], extensions: %w( flac ), parents: "audio/x-flac"
Marcel::MimeType.extend "audio/x-wav", magic: [[0, 'RIFF', [[8, 'WAVE']]]], extensions: %w( wav ), parents: "audio/vnd.wav"
Marcel::MimeType.extend "audio/mpc", magic: [[0, "MPCKSH"]], extensions: %w( mpc ), parents: "application/vnd.mophun.certificate"

Marcel::MimeType.extend "font/ttf", magic: [[0, "\x00\x01\x00\x00"]], extensions: %w( ttf ttc )
Marcel::MimeType.extend "font/otf", magic: [[0, "OTTO"]], extensions: %w( otf ), parents: "font/ttf"
Expand Down
Binary file added test/fixtures/magic/audio/mpc/musepack.mpc
Binary file not shown.
Binary file added test/fixtures/name/audio/mpc/musepack.mpc
Binary file not shown.

0 comments on commit f7182ff

Please sign in to comment.