smartPlaylist.js File Reference

Go to the source code of this file.

Functions

Components utils import ("resource://app/jsmodules/sbSmartMediaListColumnSpecUpdater.jsm")
 
function updateOkButton ()
 
function updateMatchControls ()
 
function onAddCondition ()
 
function onRemoveCondition ()
 
function onUserInput ()
 
function doLoad ()
 
function doUnLoad ()
 
function loadConditions ()
 
function isConfigurationValid ()
 
function doOK ()
 
function configureList (list)
 
function doCancel ()
 
function getValueForSelectBy (list)
 
function setSelectBy (list, value)
 
function onCheckMatch (evt)
 
function onCheckLimit (evt)
 
function onSelectSelectedBy (evt)
 
function checkIfCanAutoUpdate ()
 
function testAdditionalRestrictions (aConditions, aConditionsDrawer)
 
function onLimitBlur (evt)
 
function checkLimit ()
 

Variables

var sbILocalDatabaseSmartMediaList
 
var SB_NS = "http://songbirdnest.com/data/1.0#"
 
var SB_PROPERTY_UILIMITTYPE = SB_NS + "uiLimitType"
 
var USECS_PER_MINUTE = 60 * 1000 * 1000
 
var USECS_PER_HOUR = USECS_PER_MINUTE * 60
 
var BYTES_PER_MB = 1000 * 1000
 
var BYTES_PER_GB = BYTES_PER_MB * 1000
 
var selectByList
 

Function Documentation

function checkIfCanAutoUpdate ( )

Definition at line 564 of file smartPlaylist.js.

Here is the caller graph for this function:

function checkLimit ( )

Definition at line 608 of file smartPlaylist.js.

Here is the caller graph for this function:

function configureList (   list)

Definition at line 396 of file smartPlaylist.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function doCancel ( )

Definition at line 514 of file smartPlaylist.js.

function doLoad ( )

Definition at line 142 of file smartPlaylist.js.

Here is the call graph for this function:

function doOK ( )

Definition at line 339 of file smartPlaylist.js.

Here is the call graph for this function:

function doUnLoad ( )

Definition at line 156 of file smartPlaylist.js.

Here is the call graph for this function:

function getValueForSelectBy (   list)

Definition at line 518 of file smartPlaylist.js.

Here is the caller graph for this function:

Components utils import ( "resource://app/jsmodules/sbSmartMediaListColumnSpecUpdater.jsm"  )

BEGIN SONGBIRD GPL

This file is part of the Songbird web player.

Copyright(c) 2005-2008 POTI, Inc. http://songbirdnest.com

This file may be licensed under the terms of of the GNU General Public License Version 2 (the "GPL").

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the GPL for the specific language governing rights and limitations.

You should have received a copy of the GPL along with this program. If not, go to http://www.gnu.org/licenses/gpl.html or write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

END SONGBIRD GPL

function isConfigurationValid ( )

Definition at line 328 of file smartPlaylist.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function loadConditions ( )

Definition at line 168 of file smartPlaylist.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function onAddCondition ( )

Definition at line 128 of file smartPlaylist.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function onCheckLimit (   evt)

Definition at line 552 of file smartPlaylist.js.

Here is the call graph for this function:

function onCheckMatch (   evt)

Definition at line 548 of file smartPlaylist.js.

Here is the call graph for this function:

function onLimitBlur (   evt)

Definition at line 604 of file smartPlaylist.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function onRemoveCondition ( )

Definition at line 133 of file smartPlaylist.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function onSelectSelectedBy (   evt)

Definition at line 560 of file smartPlaylist.js.

Here is the call graph for this function:

function onUserInput ( )

Definition at line 138 of file smartPlaylist.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function setSelectBy (   list,
  value 
)

Definition at line 533 of file smartPlaylist.js.

Here is the caller graph for this function:

function testAdditionalRestrictions (   aConditions,
  aConditionsDrawer 
)

Definition at line 577 of file smartPlaylist.js.

Here is the caller graph for this function:

function updateMatchControls ( )

Definition at line 109 of file smartPlaylist.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function updateOkButton ( )

Definition at line 103 of file smartPlaylist.js.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

var BYTES_PER_GB = BYTES_PER_MB * 1000

Definition at line 38 of file smartPlaylist.js.

var BYTES_PER_MB = 1000 * 1000

Definition at line 37 of file smartPlaylist.js.

var SB_NS = "http://songbirdnest.com/data/1.0#"

Definition at line 32 of file smartPlaylist.js.

var SB_PROPERTY_UILIMITTYPE = SB_NS + "uiLimitType"

Definition at line 33 of file smartPlaylist.js.

Initial value:
=
Ci.sbILocalDatabaseSmartMediaList
const Ci

Definition at line 29 of file smartPlaylist.js.

var selectByList

Definition at line 40 of file smartPlaylist.js.

var USECS_PER_HOUR = USECS_PER_MINUTE * 60

Definition at line 36 of file smartPlaylist.js.

var USECS_PER_MINUTE = 60 * 1000 * 1000

Definition at line 35 of file smartPlaylist.js.