head_mediaexportservice.js File Reference

Go to the source code of this file.

Functions

Components utils import ("resource://app/jsmodules/sbProperties.jsm")
 
function newTestFileURI (aFileName)
 
function removeAllTaskFiles ()
 
function getExportedTaskFile ()
 
function newLineInputStream (aFile)
 
function setExportNothing ()
 
function setExportTracksOnly ()
 
function setExportTracksPlaylists ()
 
function setExportTracksPlaylistsSmartPlaylists ()
 
function TaskFileDataParser (aDataFile)
 

Variables

var TASKFILE_NAME = "songbird_export.task"
 
var TASKFILE_SCHEMAVERSION
 
var TASKFILE_ADDEDMEDIALISTS_HEADER = "added-medialists"
 
var TASKFILE_REMOVEDMEDIALISTS_HEADER = "removed-medialists"
 
var TASKFILE_ADDEDMEDIAITEMS_HEADER = "added-mediaitems"
 
var TASKFILE_UPDATEDMEDIAITEMS_HEADER = "updated-mediaitems"
 
var PREF_IMPORTEXPORT_ONSHUTDOWN
 
var PREF_IMPORTEXPORT_ONSTARTUP
 
var PREF_EXPORT_TRACKS
 
var PREF_EXPORT_PLAYLISTS
 
var PREF_EXPORT_SMARTPLAYLISTS
 
var PREF_EXPORT_STARTAGENT
 
TaskFileDataParser prototype
 

Function Documentation

function getExportedTaskFile ( )

Definition at line 84 of file head_mediaexportservice.js.

Components utils import ( "resource://app/jsmodules/sbProperties.jsm"  )
function newLineInputStream (   aFile)

Definition at line 93 of file head_mediaexportservice.js.

function newTestFileURI (   aFileName)

Definition at line 61 of file head_mediaexportservice.js.

Here is the call graph for this function:

function removeAllTaskFiles ( )

Definition at line 68 of file head_mediaexportservice.js.

function setExportNothing ( )

Definition at line 108 of file head_mediaexportservice.js.

function setExportTracksOnly ( )

Definition at line 119 of file head_mediaexportservice.js.

function setExportTracksPlaylists ( )

Definition at line 130 of file head_mediaexportservice.js.

function setExportTracksPlaylistsSmartPlaylists ( )

Definition at line 141 of file head_mediaexportservice.js.

function TaskFileDataParser (   aDataFile)

Definition at line 155 of file head_mediaexportservice.js.

Variable Documentation

var PREF_EXPORT_PLAYLISTS
Initial value:
=
"songbird.library_exporter.export_playlists"

Definition at line 48 of file head_mediaexportservice.js.

var PREF_EXPORT_SMARTPLAYLISTS
Initial value:
=
"songbird.library_exporter.export_smartplaylists"

Definition at line 50 of file head_mediaexportservice.js.

var PREF_EXPORT_STARTAGENT
Initial value:
=
"songbird.library_exporter.start_agent"
var AppPrefs = Cc["@mozilla.org/fuel/application;1"]
.getService(Ci.fuelIApplication).prefs
const Cc
const Ci

Definition at line 52 of file head_mediaexportservice.js.

var PREF_EXPORT_TRACKS
Initial value:
=
"songbird.library_exporter.export_tracks"

Definition at line 46 of file head_mediaexportservice.js.

var PREF_IMPORTEXPORT_ONSHUTDOWN
Initial value:
=
"songbird.library_importexport.autoshutdown"

Definition at line 42 of file head_mediaexportservice.js.

var PREF_IMPORTEXPORT_ONSTARTUP
Initial value:
=
"songbird.library_importexport.autostartup"

Definition at line 44 of file head_mediaexportservice.js.

TaskFileDataParser prototype

Definition at line 168 of file head_mediaexportservice.js.

var TASKFILE_ADDEDMEDIAITEMS_HEADER = "added-mediaitems"

Definition at line 38 of file head_mediaexportservice.js.

var TASKFILE_ADDEDMEDIALISTS_HEADER = "added-medialists"

Definition at line 36 of file head_mediaexportservice.js.

var TASKFILE_NAME = "songbird_export.task"

Definition at line 33 of file head_mediaexportservice.js.

var TASKFILE_REMOVEDMEDIALISTS_HEADER = "removed-medialists"

Definition at line 37 of file head_mediaexportservice.js.

var TASKFILE_SCHEMAVERSION
Initial value:
= "2"
var TASKFILE_SCHEMAVERSION_HEADER = "schema-version"
#define TASKFILE_SCHEMAVERSION_HEADER

Definition at line 34 of file head_mediaexportservice.js.

var TASKFILE_UPDATEDMEDIAITEMS_HEADER = "updated-mediaitems"

Definition at line 39 of file head_mediaexportservice.js.