Bug 8105 - Add eMusic download packages to mime database
Summary: Add eMusic download packages to mime database
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 15:50 UTC by Matt Good
Modified: 2007-02-02 07:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.