Bug 6746

Summary: mimetype for wavpack missing
Product: shared-mime-info Reporter: Sebastian Dröge (slomo) <slomo>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: bugzilla
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: wavpack.patch
wavpack.diff
wavpack-mimetype.patch

Description Sebastian Dröge (slomo) 2006-04-26 07:33:50 UTC
Hi,
Currently the mimetypes for wavpack are missing... these are:
-audio/x-wavpack for the actual wavpack files, file extensions are .wvp and .wv

-audio/x-wavpack-correction for the wavpack correction files. extension is .wvc.

Attached is a patch that adds them.

For more informations on wavpack look at http://www.wavpack.com

Bye

PS: these mimetypes are used in gstreamer already
Comment 1 Sebastian Dröge (slomo) 2006-04-26 07:34:20 UTC
Created attachment 5477 [details] [review]
wavpack.patch
Comment 2 Sebastian Dröge (slomo) 2006-04-26 07:40:41 UTC
Maybe the magic string has to be removed as it's "wvpk" for both formats.
Comment 3 Sebastian Dröge (slomo) 2006-04-26 19:35:23 UTC
Created attachment 5482 [details] [review]
wavpack.diff
Comment 4 Bastien Nocera 2006-07-10 01:55:30 UTC
The indentation is a bit buggered in your patch.

Regarding the magic, just add it to both. If the magic won't allow to recognise
a wavpack from its correction file, it will at least allow to verify that a file
is a wavpack, or a correction file.
Comment 5 Sebastian Dröge (slomo) 2006-12-20 08:12:25 UTC
Created attachment 8178 [details] [review]
wavpack-mimetype.patch

Ok, there we go... magic is now added to both mime types but can't help to
distinguish between correction file or not.
Comment 6 Bastien Nocera 2007-02-05 07:38:54 UTC
2007-02-05  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Patch from Sebastian Dröge <slomo@ubuntu.com>
        to add the Wavpack mime-type (Closes: #6746)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.