What's new? | Help | Directory | Sign in
Google
emusicremote
eMusic Remote
  
  
  
  
    
Search
for
Updated Nov 07, 2007 by mrtech
Labels: Featured
Extension_Developer_FAQ  
Notes on how to create eMusic Remote extensions

Introduction

Here are some notes on how to hook into the eMusic Remote interface and backend components.

Currently, Remote has support for tabbrowsing, toolbars, statusbar and sidebar as well as all the toolkit specific interfaces: error console, add-ons manager, etc.

Most generic Extensions will be able to just add entries in the install.rdf and chrome.manifest to get things to work (information below).

For a list of official and unofficially supported extensions click here.

Here are some additional notes to help with creating extensions.

Window Mediator

When referring to "navigator.window" in your window mediator/iterator please add a check for "emusic:window" and that will give you the main eMusic window.

install.rdf:

    <em:targetApplication>
    <Description>
      <em:id>dlm@emusic.com</em:id>
      <em:minVersion>1.0</em:minVersion>
      <em:maxVersion>1.0.0.*</em:maxVersion>
    </Description>
   </em:targetApplication>

chrome.manifest:

overlay chrome://emusic/content/startup.xul chrome://YOURNAMESPACE/content/YOUROVERLAY.xul

contents.rdf:

  <RDF:Seq about="urn:mozilla:overlays">
    <RDF:li resource="chrome://emusic/content/startup.xul"/>
  </RDF:Seq>
    
  <!-- eMusic overlays -->
  <RDF:Seq about="chrome://emusic/content/startup.xul">
    <RDF:li>chrome://YOURNAMESPACE/content/YOUROVERLAY.xul</RDF:li>
  </RDF:Seq>

Common Firefox Features

The following objects/calls are available natively or as a wrapper with the 1.0 release. Note, some objects may not be fully implemented:

Common GUI objects/id's:

Additional toolbar boxes


Comment by craftsfromjoyce, Mar 31, 2008

popup error console on every hit of enter. how to get rid of popups. what are they anyway? joyce craftsfromjoyce@yahoo.com


Sign in to add a comment