Bug 8105

Summary: Add eMusic download packages to mime database
Product: shared-mime-info Reporter: Matt Good <matt+fdo>
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:

Description Matt Good 2006-09-01 15:50:29 UTC
eMusic.com uses ".emp" files to open its download manager for downloading
individual songs or full albums.  I opened a bug for its addition to the
Epiphany browser's "safe" mime types and they requested that I open a bug for
its addition to the mime database:
http://bugzilla.gnome.org/show_bug.cgi?id=352482

The mimetype for these files is "application/vnd.emusic-emusic_package".  The
contents of these files is XML data that is encrypted then base64 encoded.  The
"magic" string at the beginning of the file comes from the encrypts "<?xml
version=..." header, so it is constant for all eMusic .emp files.  Here is the
shared-mime-info XML information:

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/vnd.emusic-emusic_package">
    <comment xml:lang="en">eMusic download package</comment>
    <magic priority="50">
      <match type="string" value="nF7YLao" offset="0"/>
    </magic>
    <glob pattern="*.emp"/>
  </mime-type>
</mime-info>
Comment 1 Bastien Nocera 2007-02-02 07:48:43 UTC
Good to see you working on the eMusic client! :)

2007-02-02  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Patch from Matt Good <matt+fdo@matt-good.net>
        to add the eMusic download package mime-type and magic (Closes: #8105)

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.